Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 89.89 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 239.3 MB, free: 5.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 179.4 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4726/0.4726, allocations: 78.56 MB / 420.3 MB, free: 4.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.000394, allocations: 12 kB / 0.4887 GB, free: 5.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1628, allocations: 69.37 MB / 0.5565 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.2886/0.4515, allocations: 13.89 MB / 0.5701 GB, free: 30.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008386/0.4599, allocations: 3.601 MB / 0.5736 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.4617, allocations: 31.47 kB / 0.5736 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.463, allocations: 442.6 kB / 0.574 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003413/0.4664, allocations: 1.234 MB / 0.5752 GB, free: 28.33 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.4696, allocations: 1.409 MB / 0.5766 GB, free: 28.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003449/0.4731, allocations: 3.568 MB / 0.5801 GB, free: 27.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008427/0.4739, allocations: 0.7999 MB / 0.5809 GB, free: 27.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.4751, allocations: 1.338 MB / 0.5822 GB, free: 26.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.4768, allocations: 1.811 MB / 0.5839 GB, free: 26.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002923/0.4771, allocations: 141.8 kB / 0.5841 GB, free: 26.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007218/0.4779, allocations: 282.5 kB / 0.5844 GB, free: 26.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005217/0.4784, allocations: 0.6149 MB / 0.585 GB, free: 25.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.4795, allocations: 1.506 MB / 0.5864 GB, free: 24.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002705/0.4822, allocations: 3.756 MB / 0.5901 GB, free: 23.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4822, allocations: 0 / 0.5901 GB, free: 23.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4822, allocations: 0 / 0.5901 GB, free: 23.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.278e-05/0.4823, allocations: 0 / 0.5901 GB, free: 23.34 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02081/0.5031, allocations: 6.193 MB / 0.5961 GB, free: 21.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.051e-05/0.5032, allocations: 9.156 kB / 0.5961 GB, free: 21.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006594/0.5039, allocations: 303.6 kB / 0.5964 GB, free: 20.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01456/0.5184, allocations: 2.299 MB / 0.5987 GB, free: 20.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003894/0.5223, allocations: 1.898 MB / 0.6005 GB, free: 19.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000761/0.5231, allocations: 0.7509 MB / 0.6013 GB, free: 18.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004769/0.5236, allocations: 216 kB / 0.6015 GB, free: 18.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007164/0.5308, allocations: 3.245 MB / 0.6046 GB, free: 17.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.5308, allocations: 0 / 0.6046 GB, free: 17.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.5311, allocations: 86.2 kB / 0.6047 GB, free: 17.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/0.5311, allocations: 50.34 kB / 0.6048 GB, free: 17.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006673/0.5378, allocations: 2.996 MB / 0.6077 GB, free: 16.34 MB / 430.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.01974/0.5576, allocations: 10.19 MB / 0.6177 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/0.5695, allocations: 4.888 MB / 0.6224 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004073/0.5736, allocations: 2.173 MB / 0.6245 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/0.5738, allocations: 45.95 kB / 0.6246 GB, free: 7.355 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004098/0.5779, allocations: 2.443 MB / 0.627 GB, free: 4.891 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.809e-06/0.5779, allocations: 0 / 0.627 GB, free: 4.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1265/0.7045, allocations: 33.63 MB / 0.6598 GB, free: 3.141 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.7046, allocations: 188.3 kB / 0.66 GB, free: 2.918 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004777/0.7094, allocations: 2.309 MB / 0.6623 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006531/0.7101, allocations: 73.7 kB / 0.6623 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.7113, allocations: 1.18 MB / 0.6635 GB, free: 15.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001614/0.7129, allocations: 0.8836 MB / 0.6643 GB, free: 14.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008755/0.7138, allocations: 288.6 kB / 0.6646 GB, free: 14.14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.7139, allocations: 305.1 kB / 0.6649 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005068/0.719, allocations: 2.173 MB / 0.667 GB, free: 11.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005306/0.7243, allocations: 2.544 MB / 0.6695 GB, free: 9.027 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0584/0.7827, allocations: 15.68 MB / 0.6848 GB, free: 9.129 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.7828, allocations: 3.938 kB / 0.6848 GB, free: 9.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04767/0.8305, allocations: 15.37 MB / 0.6998 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.8307, allocations: 118.8 kB / 0.7 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.8307, allocations: 4.625 kB / 0.7 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01979/0.8505, allocations: 6.241 MB / 0.706 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003486/0.854, allocations: 0.5851 MB / 0.7066 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06324/0.9173, allocations: 24.49 MB / 0.7305 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005592/0.9229, allocations: 0.592 MB / 0.7311 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007588/0.9237, allocations: 116 kB / 0.7312 GB, free: 9.348 MB / 0.5294 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 329 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002397/0.9261, allocations: 0.5418 MB / 0.7318 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001129/0.9273, allocations: 304.2 kB / 0.732 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04559/0.9729, allocations: 14.77 MB / 0.7465 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-05/0.973, allocations: 28 kB / 0.7465 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.645e-05/0.973, allocations: 23.94 kB / 0.7465 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.468e-05/0.9731, allocations: 12.89 kB / 0.7465 GB, free: 9.559 MB / 0.545 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.05311/1.026, allocations: 18.41 MB / 0.7645 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/1.026, allocations: 0 / 0.7645 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/1.028, allocations: 247.6 kB / 0.7648 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01914/1.047, allocations: 6.284 MB / 0.7709 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005332/1.048, allocations: 55.98 kB / 0.7709 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3588/1.407, allocations: 25.51 MB / 0.7959 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/1.407, allocations: 8.031 kB / 0.7959 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05208/1.459, allocations: 17.36 MB / 0.8128 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/1.46, allocations: 416.5 kB / 0.8132 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008663/1.461, allocations: 45.83 kB / 0.8132 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003785/1.465, allocations: 408.3 kB / 0.8136 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002295/1.467, allocations: 0.5767 MB / 0.8142 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002953/1.467, allocations: 65.5 kB / 0.8143 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003274/1.471, allocations: 1.531 MB / 0.8158 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.41e-07/1.471, allocations: 0 / 0.8158 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00382/1.475, allocations: 1.187 MB / 0.8169 GB, free: 158.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(67,21,7.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.04581/1.52, allocations: 17.99 MB / 0.8345 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0175/1.538, allocations: 7.541 MB / 0.8419 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.538, allocations: 1.75 kB / 0.8419 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0125/1.55, allocations: 5.124 MB / 0.8469 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/1.553, allocations: 268.2 kB / 0.8471 GB, free: 135 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1182/1.671, allocations: 53.44 MB / 0.8993 GB, free: 79.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/1.673, allocations: 1.818 MB / 0.9011 GB, free: 78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001577/1.675, allocations: 263.9 kB / 0.9013 GB, free: 77.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001821/1.677, allocations: 1.23 MB / 0.9025 GB, free: 76.52 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/1.677, allocations: 0 / 0.9025 GB, free: 76.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/1.782, allocations: 80.23 MB / 0.9809 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/1.782, allocations: 237.8 kB / 0.9811 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.333/6.116, allocations: 4.484 kB / 0.9811 GB, free: 12.42 MB / 0.5762 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)