Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 177.2 MB / 200.1 MB, free: 9.074 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 157.4 kB / 256.6 MB, free: 0.7656 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.331/0.331, allocations: 59.78 MB / 372.7 MB, free: 13.11 MB / 350.1 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 81.45 kB / 0.5224 GB, free: 55.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1332, allocations: 73.27 MB / 0.5939 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.008496/0.1417, allocations: 5.995 MB / 0.5998 GB, free: 4.094 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004636/0.1464, allocations: 1.974 MB / 0.6017 GB, free: 2.117 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007834/0.1472, allocations: 11.94 kB / 0.6017 GB, free: 2.105 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009293/0.1481, allocations: 253.9 kB / 0.602 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.1504, allocations: 0.8515 MB / 0.6028 GB, free: 1.004 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.152, allocations: 0.6501 MB / 0.6034 GB, free: 368 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002124/0.1542, allocations: 1.631 MB / 0.605 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004498/0.1546, allocations: 230.7 kB / 0.6053 GB, free: 14.48 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009826/0.1556, allocations: 0.7003 MB / 0.6059 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.1566, allocations: 0.7775 MB / 0.6067 GB, free: 13 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.1568, allocations: 124 kB / 0.6068 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005291/0.1574, allocations: 271.9 kB / 0.6071 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003545/0.1577, allocations: 338.6 kB / 0.6074 GB, free: 12.28 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000577/0.1583, allocations: 0.5516 MB / 0.6079 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.1603, allocations: 1.739 MB / 0.6096 GB, free: 9.977 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1603, allocations: 0 / 0.6096 GB, free: 9.977 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1603, allocations: 0 / 0.6096 GB, free: 9.977 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.1604, allocations: 4 kB / 0.6096 GB, free: 9.973 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.009268/0.1696, allocations: 2.839 MB / 0.6124 GB, free: 7.078 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.1697, allocations: 15.98 kB / 0.6124 GB, free: 7.062 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005224/0.1749, allocations: 0.803 MB / 0.6132 GB, free: 6.258 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.1765, allocations: 0.8445 MB / 0.614 GB, free: 5.367 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003768/0.1769, allocations: 337.3 kB / 0.6144 GB, free: 4.984 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.1771, allocations: 99.88 kB / 0.6145 GB, free: 4.887 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/0.18, allocations: 1.441 MB / 0.6159 GB, free: 3.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.18, allocations: 0 / 0.6159 GB, free: 3.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.181e-05/0.1801, allocations: 28 kB / 0.6159 GB, free: 3.383 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.1801, allocations: 20 kB / 0.6159 GB, free: 3.363 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.1823, allocations: 1.022 MB / 0.6169 GB, free: 2.336 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00579/0.1881, allocations: 2.716 MB / 0.6196 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007822/0.1959, allocations: 2.135 MB / 0.6216 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.1975, allocations: 0.731 MB / 0.6224 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.1976, allocations: 16.64 kB / 0.6224 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001586/0.1992, allocations: 0.776 MB / 0.6231 GB, free: 11.81 MB / 494.1 MB Notification: Performance of pre-optimization done (n=115): time 3.006e-06/0.1992, allocations: 0 / 0.6231 GB, free: 11.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=115): time 0.03006/0.2293, allocations: 7.038 MB / 0.63 GB, free: 4.734 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001803/0.2294, allocations: 198.9 kB / 0.6302 GB, free: 4.504 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.2312, allocations: 1.063 MB / 0.6312 GB, free: 3.426 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.2314, allocations: 49.7 kB / 0.6313 GB, free: 3.371 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004581/0.2318, allocations: 493.8 kB / 0.6318 GB, free: 2.883 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004056/0.2322, allocations: 353.2 kB / 0.6321 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000515/0.2327, allocations: 295.5 kB / 0.6324 GB, free: 2.242 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2329, allocations: 301.1 kB / 0.6327 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/0.2345, allocations: 0.7959 MB / 0.6334 GB, free: 1.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.2365, allocations: 1.138 MB / 0.6345 GB, free: 15.86 MB / 0.4981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2528:7-2528:76:writable] Error: Internal error function solveEquation failed Error: Initialization problem is structural singular. Please, check the initial conditions. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2528:7-2528:76:writable] Error: Internal error function solveEquation failed Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.05948/0.296, allocations: 7.171 MB / 0.6415 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.086e-05/0.296, allocations: 8 kB / 0.6416 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.01471/0.3107, allocations: 4.429 MB / 0.6459 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.869e-05/0.3108, allocations: 63.41 kB / 0.6459 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.3109, allocations: 12 kB / 0.646 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005888/0.3167, allocations: 1.525 MB / 0.6474 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.3181, allocations: 307.5 kB / 0.6477 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02132/0.3395, allocations: 7.972 MB / 0.6555 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.3415, allocations: 191.2 kB / 0.6557 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003149/0.3418, allocations: 79.97 kB / 0.6558 GB, free: 9.715 MB / 0.5137 GB Warning: Assuming fixed start value for the following 3 variables: order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: $DER.aVRTypeII.firstOrder2.y = 0.0 $DER.aVRTypeII.derivativeBlock.x = 0.0 aVRTypeII.ExcitationSystem.y = aVRTypeII.ExcitationSystem.y_start aVRTypeII.simpleLagLim.state = aVRTypeII.simpleLagLim.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.firstOrder2.y,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.simpleLagLim.state,aVRTypeII.derivativeBlock.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(19,12,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009702/0.3428, allocations: 336.7 kB / 0.6561 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002214/0.345, allocations: 0.654 MB / 0.6567 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/0.3595, allocations: 4.11 MB / 0.6608 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.3595, allocations: 15.94 kB / 0.6608 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-05/0.3596, allocations: 8 kB / 0.6608 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.3596, allocations: 7.984 kB / 0.6608 GB, free: 4.535 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3203/0.6798, allocations: 5.059 MB / 0.6657 GB, free: 63.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-05/0.6799, allocations: 1.219 kB / 0.6657 GB, free: 63.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007122/0.6806, allocations: 107.4 kB / 0.6658 GB, free: 63.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006331/0.6869, allocations: 1.727 MB / 0.6675 GB, free: 63.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/0.6871, allocations: 30.27 kB / 0.6675 GB, free: 63.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02457/0.7117, allocations: 11.59 MB / 0.6789 GB, free: 57.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.7117, allocations: 3.562 kB / 0.6789 GB, free: 57.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/0.729, allocations: 5.143 MB / 0.6839 GB, free: 56.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/0.7295, allocations: 167.8 kB / 0.684 GB, free: 56.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.7296, allocations: 23.81 kB / 0.6841 GB, free: 56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.7308, allocations: 120.9 kB / 0.6842 GB, free: 55.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000574/0.7313, allocations: 184.4 kB / 0.6844 GB, free: 55.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.239e-05/0.7314, allocations: 37.08 kB / 0.6844 GB, free: 55.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008666/0.7323, allocations: 0.7174 MB / 0.6851 GB, free: 55.63 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.7323, allocations: 0 / 0.6851 GB, free: 55.63 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00145/0.7337, allocations: 485.7 kB / 0.6856 GB, free: 55.57 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002549/0.734, allocations: 143.6 kB / 0.6857 GB, free: 55.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006058/0.7401, allocations: 2.529 MB / 0.6882 GB, free: 54.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.7401, allocations: 1.281 kB / 0.6882 GB, free: 54.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004019/0.7441, allocations: 1.351 MB / 0.6895 GB, free: 53.87 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.7457, allocations: 0.587 MB / 0.6901 GB, free: 53.45 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003933/0.7497, allocations: 2.407 MB / 0.6924 GB, free: 52.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.7501, allocations: 0.5688 MB / 0.693 GB, free: 51.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003538/0.7505, allocations: 119.2 kB / 0.6931 GB, free: 51.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.7507, allocations: 88.17 kB / 0.6932 GB, free: 51.95 MB / 0.5137 GB Notification: Performance of SimCode: time 7.72e-07/0.7507, allocations: 0 / 0.6932 GB, free: 51.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.03273/0.7834, allocations: 25.78 MB / 0.7183 GB, free: 32.48 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile [Timeout 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discretized_Continuous -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:262:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[0] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[16]] /* der(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* previous(aVRTypeII.ExcitationSystem.x_scaled[1]) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* aVRTypeII.ExcitationSystem.x_scaled[1] CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:266:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[2] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* der(aVRTypeII.derivativeBlock.x) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[13]] /* previous(aVRTypeII.derivativeBlock.x) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[35]] /* aVRTypeII.derivativeBlock.x CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:46: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[46]] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:72: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[46]] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:149: error: use of undeclared identifier 'baseClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[46]] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */); ^~~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:268:175: error: use of undeclared identifier 'subClockIndex'; did you mean 'clockIndex'? res[3] = (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0.0:(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[19]] /* der(aVRTypeII.simpleLagLim.state) variable */))) + (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* previous(aVRTypeII.simpleLagLim.state) variable */) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[46]] /* aVRTypeII.simpleLagLim.state CLOCKED_STATE */); ^~~~~~~~~~~~~ clockIndex OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.c:208:21: note: 'clockIndex' declared here int i,j;const int clockIndex = 1; ^ 12 errors generated. make: *** [: OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous_02nls.o] Error 1 [Calling os._exit(0), Time elapsed: 4.499343486968428] Failed to read output from testmodel.py, exit status != 0: 0.791502590989694 0.80155635 0.638924796 Calling exit ...