Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.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.001907/0.001907, allocations: 102 kB / 16.45 MB, free: 6.449 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.583/1.583, allocations: 230.6 MB / 249.8 MB, free: 9.215 MB / 206.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.001701/0.001701, allocations: 211 kB / 306 MB, free: 4.297 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.5115/0.5115, allocations: 79.71 MB / 441.8 MB, free: 128 kB / 302.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [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.003809/0.003809, allocations: 82.33 kB / 0.5878 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1875, allocations: 73.26 MB / 0.6594 GB, free: 8.18 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008538/0.196, allocations: 6.541 MB / 0.6658 GB, free: 1.598 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006042/0.2021, allocations: 2.013 MB / 0.6677 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.2036, allocations: 12 kB / 0.6677 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.2046, allocations: 238 kB / 0.668 GB, free: 15.33 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.2076, allocations: 0.8676 MB / 0.6688 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.2094, allocations: 0.6245 MB / 0.6694 GB, free: 13.84 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002874/0.2123, allocations: 1.584 MB / 0.671 GB, free: 12.25 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005585/0.2128, allocations: 230.4 kB / 0.6712 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.2143, allocations: 0.6769 MB / 0.6718 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.2154, allocations: 0.844 MB / 0.6727 GB, free: 10.49 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.2156, allocations: 124 kB / 0.6728 GB, free: 10.37 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006485/0.2162, allocations: 275.8 kB / 0.673 GB, free: 10.1 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003317/0.2166, allocations: 330.6 kB / 0.6734 GB, free: 9.777 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007131/0.2173, allocations: 0.6719 MB / 0.674 GB, free: 9.102 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.2195, allocations: 1.696 MB / 0.6757 GB, free: 7.398 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2195, allocations: 0 / 0.6757 GB, free: 7.398 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2195, allocations: 0 / 0.6757 GB, free: 7.398 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.2195, allocations: 0 / 0.6757 GB, free: 7.398 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.00984/0.2293, allocations: 2.757 MB / 0.6784 GB, free: 4.574 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.2294, allocations: 8.031 kB / 0.6784 GB, free: 4.566 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001924/0.2296, allocations: 126.6 kB / 0.6785 GB, free: 4.434 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005395/0.235, allocations: 0.7952 MB / 0.6793 GB, free: 3.637 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.2368, allocations: 0.899 MB / 0.6802 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003566/0.2372, allocations: 256.2 kB / 0.6804 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.2374, allocations: 84 kB / 0.6805 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.2398, allocations: 1.079 MB / 0.6815 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.2398, allocations: 3.984 kB / 0.6815 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.2399, allocations: 39.94 kB / 0.6816 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.24, allocations: 20 kB / 0.6816 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.2422, allocations: 0.9916 MB / 0.6826 GB, free: 168 kB / 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.008025/0.2503, allocations: 3.805 MB / 0.6863 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008195/0.2585, allocations: 2.298 MB / 0.6885 GB, free: 9.785 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.2602, allocations: 0.6098 MB / 0.6891 GB, free: 9.172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.2604, allocations: 16.98 kB / 0.6891 GB, free: 9.156 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001904/0.2623, allocations: 0.8176 MB / 0.6899 GB, free: 8.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=95): time 2.916e-06/0.2623, allocations: 0 / 0.6899 GB, free: 8.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=95): time 0.03232/0.2946, allocations: 7.167 MB / 0.6969 GB, free: 1.086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.2947, allocations: 119.8 kB / 0.697 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3433/0.638, allocations: 1.083 MB / 0.6981 GB, free: 35.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003638/0.6384, allocations: 50.2 kB / 0.6981 GB, free: 35.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/0.6388, allocations: 0.4901 MB / 0.6986 GB, free: 35.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003903/0.6392, allocations: 369.3 kB / 0.699 GB, free: 35.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005653/0.6397, allocations: 283.5 kB / 0.6992 GB, free: 35.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.283e-05/0.6398, allocations: 302.8 kB / 0.6995 GB, free: 34.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.6415, allocations: 0.7621 MB / 0.7003 GB, free: 34.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.6434, allocations: 0.9239 MB / 0.7012 GB, free: 34.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.027/0.6704, allocations: 5.776 MB / 0.7068 GB, free: 34.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-05/0.6704, allocations: 1.875 kB / 0.7068 GB, free: 34.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01549/0.6859, allocations: 4.341 MB / 0.7111 GB, free: 32.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.686, allocations: 60.33 kB / 0.7111 GB, free: 32.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.686, allocations: 3.469 kB / 0.7111 GB, free: 32.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0067/0.6927, allocations: 1.59 MB / 0.7127 GB, free: 32.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.6944, allocations: 277.6 kB / 0.7129 GB, free: 32.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02146/0.7159, allocations: 8.52 MB / 0.7213 GB, free: 28.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.7179, allocations: 206 kB / 0.7215 GB, free: 28.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.7181, allocations: 57 kB / 0.7215 GB, free: 28.43 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * 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,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006607/0.7187, allocations: 299 kB / 0.7218 GB, free: 28.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.719, allocations: 130.5 kB / 0.7219 GB, free: 28.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/0.7323, allocations: 3.845 MB / 0.7257 GB, free: 26.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.7323, allocations: 11.81 kB / 0.7257 GB, free: 26.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.7323, allocations: 11.75 kB / 0.7257 GB, free: 26.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.7323, allocations: 7.594 kB / 0.7257 GB, free: 26.73 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.01446/0.7468, allocations: 5.422 MB / 0.731 GB, free: 23.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/0.7468, allocations: 0.875 kB / 0.731 GB, free: 23.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/0.7475, allocations: 103.9 kB / 0.7311 GB, free: 23.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005453/0.7529, allocations: 1.613 MB / 0.7327 GB, free: 22.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002256/0.7532, allocations: 15.94 kB / 0.7327 GB, free: 22.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/0.7721, allocations: 9.647 MB / 0.7421 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7721, allocations: 0 / 0.7421 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/0.7857, allocations: 4.716 MB / 0.7467 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/0.7862, allocations: 232.5 kB / 0.7469 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.7864, allocations: 16 kB / 0.747 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.7875, allocations: 111.9 kB / 0.7471 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005714/0.7881, allocations: 195.5 kB / 0.7473 GB, free: 8.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.242e-05/0.7882, allocations: 24 kB / 0.7473 GB, free: 8.227 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009003/0.7891, allocations: 0.7432 MB / 0.748 GB, free: 7.477 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7891, allocations: 0 / 0.748 GB, free: 7.477 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001406/0.7905, allocations: 473.2 kB / 0.7485 GB, free: 7.027 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01366/0.8041, allocations: 5.294 MB / 0.7536 GB, free: 1.688 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006591/0.8107, allocations: 2.391 MB / 0.756 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8107, allocations: 4.25 kB / 0.756 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004945/0.8157, allocations: 1.532 MB / 0.7575 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.8169, allocations: 114.6 kB / 0.7576 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04488/0.8618, allocations: 16.02 MB / 0.7732 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009003/0.8627, allocations: 1.121 MB / 0.7743 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006495/0.8633, allocations: 120 kB / 0.7744 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007962/0.8641, allocations: 475.3 kB / 0.7749 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.8641, allocations: 0 / 0.7749 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09283/0.957, allocations: 34.77 MB / 0.8088 GB, free: 9.059 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/15.79, allocations: 4 kB / 0.8088 GB, free: 9.055 MB / 0.545 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.702069715989637] Failed to read output from testmodel.py, exit status != 0: 15.908938987005968 15.924000674 15.701380693 Calling exit ...