Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.001936/0.001937, 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.668 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.001622/0.001622, allocations: 196.4 kB / 289.1 MB, free: 2.406 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5581/0.5581, allocations: 91.89 MB / 431.2 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 71.89 kB / 0.5013 GB, free: 8.031 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4129, allocations: 71.27 MB / 0.5709 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01014/0.4231, allocations: 14.65 MB / 0.5852 GB, free: 26.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007442/0.4306, allocations: 3.685 MB / 0.5888 GB, free: 24.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003069/0.4337, allocations: 30.34 kB / 0.5888 GB, free: 24.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.4356, allocations: 438 kB / 0.5893 GB, free: 23.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00464/0.4402, allocations: 1.249 MB / 0.5905 GB, free: 23.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0034/0.4436, allocations: 1.427 MB / 0.5919 GB, free: 22.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005265/0.4489, allocations: 3.6 MB / 0.5954 GB, free: 20.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.4503, allocations: 0.8044 MB / 0.5962 GB, free: 20.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.4529, allocations: 1.424 MB / 0.5976 GB, free: 19.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.4557, allocations: 1.907 MB / 0.5994 GB, free: 18.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.4569, allocations: 183.2 kB / 0.5996 GB, free: 18.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.4585, allocations: 309.5 kB / 0.5999 GB, free: 18.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005686/0.4591, allocations: 0.6748 MB / 0.6006 GB, free: 18.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.4608, allocations: 1.549 MB / 0.6021 GB, free: 17.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004101/0.4649, allocations: 3.871 MB / 0.6058 GB, free: 15.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4649, allocations: 1.312 kB / 0.6058 GB, free: 15.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4649, allocations: 0 / 0.6058 GB, free: 15.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001794/0.4651, allocations: 0 / 0.6058 GB, free: 15.31 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02644/0.4916, allocations: 6.677 MB / 0.6124 GB, free: 12.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.4916, allocations: 9.375 kB / 0.6124 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005487/0.4922, allocations: 303.5 kB / 0.6127 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01562/0.5078, allocations: 2.281 MB / 0.6149 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005145/0.513, allocations: 1.907 MB / 0.6168 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000693/0.5138, allocations: 0.7269 MB / 0.6175 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008957/0.5147, allocations: 221.2 kB / 0.6177 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007529/0.5222, allocations: 3.059 MB / 0.6207 GB, free: 8.957 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/0.5223, allocations: 5.156 kB / 0.6207 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002699/0.5226, allocations: 81.95 kB / 0.6207 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.352e-05/0.5226, allocations: 49.66 kB / 0.6208 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006367/0.529, allocations: 2.805 MB / 0.6235 GB, free: 7.938 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.01762/0.5466, allocations: 9.977 MB / 0.6333 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/0.5578, allocations: 4.228 MB / 0.6374 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005246/0.563, allocations: 1.987 MB / 0.6393 GB, free: 7.797 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004843/0.5636, allocations: 37.97 kB / 0.6394 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005433/0.569, allocations: 2.252 MB / 0.6416 GB, free: 5.488 MB / 446.1 MB Notification: Performance of pre-optimization done (n=250): time 4.809e-06/0.5691, allocations: 7.938 kB / 0.6416 GB, free: 5.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=250): time 0.1408/0.7098, allocations: 28.8 MB / 0.6697 GB, free: 8.555 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002484/0.7101, allocations: 188.2 kB / 0.6699 GB, free: 8.332 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006571/0.7167, allocations: 2.333 MB / 0.6722 GB, free: 5.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001024/0.7178, allocations: 69.7 kB / 0.6722 GB, free: 5.906 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001497/0.7193, allocations: 1.176 MB / 0.6734 GB, free: 4.719 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002143/0.7215, allocations: 0.8858 MB / 0.6743 GB, free: 3.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003693/0.7252, allocations: 0.5699 MB / 0.6748 GB, free: 3.242 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.7253, allocations: 301.1 kB / 0.6751 GB, free: 2.945 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007131/0.7325, allocations: 1.99 MB / 0.677 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007326/0.7398, allocations: 2.362 MB / 0.6793 GB, free: 14.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06874/0.8086, allocations: 14.38 MB / 0.6934 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.331e-05/0.8087, allocations: 4 kB / 0.6934 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04605/0.8547, allocations: 12.61 MB / 0.7057 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.8549, allocations: 114.8 kB / 0.7058 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.433e-05/0.855, allocations: 8 kB / 0.7058 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01959/0.8745, allocations: 5.434 MB / 0.7111 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003363/0.878, allocations: 0.5773 MB / 0.7117 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06473/0.9427, allocations: 21.75 MB / 0.7329 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005463/0.9482, allocations: 0.4892 MB / 0.7334 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009887/0.9492, allocations: 123.9 kB / 0.7335 GB, free: 6.535 MB / 0.5294 GB Warning: Assuming fixed start value for the following 6 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.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 (336): * Single equations (assignments): 331 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.002412/0.9517, allocations: 0.5381 MB / 0.7341 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/0.9531, allocations: 304.2 kB / 0.7344 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04192/0.9951, allocations: 11.95 MB / 0.746 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.49e-05/0.9951, allocations: 24 kB / 0.746 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.281e-05/0.9952, allocations: 20 kB / 0.7461 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.728e-05/0.9953, allocations: 15.89 kB / 0.7461 GB, free: 9.57 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.05057/1.046, allocations: 15.58 MB / 0.7613 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-05/1.046, allocations: 0 / 0.7613 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/1.048, allocations: 251.6 kB / 0.7615 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01862/1.066, allocations: 5.291 MB / 0.7667 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008741/1.067, allocations: 51.98 kB / 0.7668 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2975/1.365, allocations: 22.67 MB / 0.7889 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/1.365, allocations: 2 kB / 0.7889 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04739/1.412, allocations: 14.34 MB / 0.8029 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.414, allocations: 415.1 kB / 0.8033 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009904/1.415, allocations: 48.61 kB / 0.8033 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003512/1.418, allocations: 306.4 kB / 0.8036 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002538/1.421, allocations: 0.5611 MB / 0.8042 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000301/1.421, allocations: 68.17 kB / 0.8042 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002481/1.424, allocations: 1.543 MB / 0.8057 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/1.424, allocations: 0 / 0.8057 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004798/1.428, allocations: 1.203 MB / 0.8069 GB, free: 154.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,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 (159): * Single equations (assignments): 154 * 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 {(66,22,7.7%)} * 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.04348/1.472, allocations: 14.96 MB / 0.8215 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01818/1.49, allocations: 6.689 MB / 0.8281 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.49, allocations: 64 / 0.8281 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01234/1.503, allocations: 4.43 MB / 0.8324 GB, free: 137 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/1.505, allocations: 263.2 kB / 0.8326 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1062/1.612, allocations: 47.56 MB / 0.8791 GB, free: 87.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/1.613, allocations: 1.823 MB / 0.8809 GB, free: 85.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001424/1.614, allocations: 258.8 kB / 0.8811 GB, free: 85.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/1.616, allocations: 1.236 MB / 0.8823 GB, free: 84 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/1.616, allocations: 0 / 0.8823 GB, free: 84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1051/1.721, allocations: 83.79 MB / 0.9641 GB, free: 464 kB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/1.721, allocations: 240 kB / 0.9644 GB, free: 204 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.062/6.783, allocations: 3.625 kB / 0.9644 GB, free: 204 kB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)