Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.001485/0.001485, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.454/1.454, allocations: 222.9 MB / 238.9 MB, free: 4.738 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.001586/0.001586, allocations: 192.5 kB / 289.1 MB, free: 2.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5734/0.5734, allocations: 91.91 MB / 431.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002775/0.002775, allocations: 72.11 kB / 0.5013 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4501/0.4529, allocations: 71.27 MB / 0.5709 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01334/0.4663, allocations: 14.6 MB / 0.5852 GB, free: 26.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009444/0.4758, allocations: 3.664 MB / 0.5887 GB, free: 24.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004048/0.4799, allocations: 30.41 kB / 0.5888 GB, free: 24.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002456/0.4825, allocations: 440.5 kB / 0.5892 GB, free: 24.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006466/0.489, allocations: 1.241 MB / 0.5904 GB, free: 23.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004314/0.4933, allocations: 1.423 MB / 0.5918 GB, free: 22.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007389/0.5007, allocations: 3.568 MB / 0.5953 GB, free: 20.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/0.5028, allocations: 0.7976 MB / 0.5961 GB, free: 20.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003274/0.5061, allocations: 1.419 MB / 0.5974 GB, free: 19.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004013/0.5101, allocations: 1.886 MB / 0.5993 GB, free: 18.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001694/0.5119, allocations: 177.5 kB / 0.5995 GB, free: 18.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.5144, allocations: 317.5 kB / 0.5998 GB, free: 18.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001617/0.5161, allocations: 0.6646 MB / 0.6004 GB, free: 18.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004465/0.5206, allocations: 1.543 MB / 0.6019 GB, free: 17.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007498/0.5281, allocations: 3.843 MB / 0.6057 GB, free: 15.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5281, allocations: 0 / 0.6057 GB, free: 15.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5281, allocations: 0 / 0.6057 GB, free: 15.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002266/0.5284, allocations: 1.094 kB / 0.6057 GB, free: 15.5 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.02818/0.5565, allocations: 6.653 MB / 0.6122 GB, free: 12.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.5566, allocations: 13.83 kB / 0.6122 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004784/0.5571, allocations: 304.2 kB / 0.6125 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01542/0.5725, allocations: 2.277 MB / 0.6147 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004903/0.5775, allocations: 1.89 MB / 0.6165 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007034/0.5782, allocations: 0.7236 MB / 0.6172 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005358/0.5788, allocations: 222.9 kB / 0.6175 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007269/0.586, allocations: 3.049 MB / 0.6204 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/0.5861, allocations: 0 / 0.6204 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/0.5864, allocations: 90.28 kB / 0.6205 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6e-05/0.5864, allocations: 50.34 kB / 0.6206 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006882/0.5933, allocations: 2.796 MB / 0.6233 GB, free: 8.145 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.02024/0.6136, allocations: 9.936 MB / 0.633 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/0.6253, allocations: 4.199 MB / 0.6371 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004984/0.6303, allocations: 1.987 MB / 0.639 GB, free: 8.113 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005304/0.6309, allocations: 41.95 kB / 0.6391 GB, free: 8.074 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005962/0.6368, allocations: 2.24 MB / 0.6413 GB, free: 5.812 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 8.597e-06/0.6369, allocations: 0 / 0.6413 GB, free: 5.812 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1295/0.7664, allocations: 27.42 MB / 0.668 GB, free: 10.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.7665, allocations: 184.2 kB / 0.6682 GB, free: 10.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005194/0.7717, allocations: 2.317 MB / 0.6705 GB, free: 7.715 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009994/0.7728, allocations: 77.62 kB / 0.6706 GB, free: 7.633 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.774, allocations: 1.176 MB / 0.6717 GB, free: 6.445 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001915/0.776, allocations: 0.8781 MB / 0.6726 GB, free: 5.555 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003235/0.7792, allocations: 0.5658 MB / 0.6731 GB, free: 4.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7794, allocations: 305.1 kB / 0.6734 GB, free: 4.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005407/0.7848, allocations: 1.97 MB / 0.6753 GB, free: 2.707 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005834/0.7906, allocations: 2.35 MB / 0.6776 GB, free: 272 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06246/0.8531, allocations: 14.24 MB / 0.6915 GB, free: 1.789 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.632e-05/0.8532, allocations: 3.938 kB / 0.6915 GB, free: 1.785 MB / 494.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04766/0.9009, allocations: 12.55 MB / 0.7038 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.901, allocations: 114.8 kB / 0.7039 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/0.9011, allocations: 7.984 kB / 0.7039 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01897/0.92, allocations: 5.257 MB / 0.709 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003597/0.9237, allocations: 0.5928 MB / 0.7096 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06311/0.9868, allocations: 21.31 MB / 0.7304 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005348/0.9922, allocations: 489 kB / 0.7309 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009691/0.9932, allocations: 120 kB / 0.731 GB, free: 9.094 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.002556/0.9958, allocations: 0.5517 MB / 0.7316 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/0.9972, allocations: 296.3 kB / 0.7318 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04288/1.04, allocations: 11.93 MB / 0.7435 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.222e-05/1.04, allocations: 28 kB / 0.7435 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-05/1.04, allocations: 16 kB / 0.7435 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-05/1.04, allocations: 11.95 kB / 0.7435 GB, free: 12.16 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.0507/1.091, allocations: 15.56 MB / 0.7587 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.89e-05/1.091, allocations: 0 / 0.7587 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/1.093, allocations: 243.7 kB / 0.759 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01868/1.112, allocations: 5.312 MB / 0.7642 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009352/1.113, allocations: 55.98 kB / 0.7642 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3886/1.501, allocations: 22.66 MB / 0.7863 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.502, allocations: 0 / 0.7863 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.049/1.551, allocations: 14.32 MB / 0.8003 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.552, allocations: 413.1 kB / 0.8007 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00182/1.554, allocations: 51.72 kB / 0.8008 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004742/1.559, allocations: 298.4 kB / 0.8011 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003349/1.562, allocations: 0.5642 MB / 0.8016 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007173/1.563, allocations: 68.86 kB / 0.8017 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004019/1.567, allocations: 1.529 MB / 0.8032 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.71e-07/1.567, allocations: 0 / 0.8032 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006929/1.574, allocations: 1.182 MB / 0.8043 GB, free: 155.7 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.04788/1.622, allocations: 14.95 MB / 0.8189 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01936/1.641, allocations: 6.661 MB / 0.8254 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/1.641, allocations: 0 / 0.8254 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01374/1.655, allocations: 4.423 MB / 0.8297 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004833/1.66, allocations: 268.5 kB / 0.83 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1201/1.78, allocations: 47.45 MB / 0.8763 GB, free: 90.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001838/1.782, allocations: 1.811 MB / 0.8781 GB, free: 88.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001784/1.784, allocations: 262.6 kB / 0.8784 GB, free: 88.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001911/1.786, allocations: 1.233 MB / 0.8796 GB, free: 87.02 MB / 0.5606 GB Notification: Performance of SimCode: time 1.262e-06/1.786, allocations: 0 / 0.8796 GB, free: 87.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/1.905, allocations: 81.77 MB / 0.9594 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/1.905, allocations: 250.2 kB / 0.9596 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.792/6.698, allocations: 0 / 0.9596 GB, free: 5.223 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)