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.007369/0.007369, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.401/1.401, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001344/0.001344, allocations: 184.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.472/0.472, allocations: 91.9 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 86.94 kB / 0.5723 GB, free: 34.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1077, allocations: 71.27 MB / 0.6419 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01138/0.1192, allocations: 13.86 MB / 0.6554 GB, free: 6.215 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006551/0.1257, allocations: 3.522 MB / 0.6589 GB, free: 2.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/0.1274, allocations: 28 kB / 0.6589 GB, free: 2.652 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.1287, allocations: 0.5653 MB / 0.6595 GB, free: 2.082 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003888/0.1326, allocations: 1.588 MB / 0.661 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003103/0.1357, allocations: 1.524 MB / 0.6625 GB, free: 14.99 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004129/0.1399, allocations: 3.823 MB / 0.6662 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.1409, allocations: 0.8935 MB / 0.6671 GB, free: 10.21 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.1428, allocations: 1.56 MB / 0.6686 GB, free: 8.641 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002068/0.1449, allocations: 2.003 MB / 0.6706 GB, free: 6.629 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004438/0.1454, allocations: 300 kB / 0.6709 GB, free: 6.336 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008451/0.1462, allocations: 439.9 kB / 0.6713 GB, free: 5.906 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006068/0.1468, allocations: 0.7779 MB / 0.6721 GB, free: 5.125 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001629/0.1485, allocations: 1.658 MB / 0.6737 GB, free: 3.457 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004031/0.1525, allocations: 4.052 MB / 0.6776 GB, free: 15.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1525, allocations: 0 / 0.6776 GB, free: 15.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1526, allocations: 0 / 0.6776 GB, free: 15.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.398e-05/0.1526, allocations: 0 / 0.6776 GB, free: 15.39 MB / 494.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.02144/0.1741, allocations: 6.672 MB / 0.6841 GB, free: 8.621 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1741, allocations: 8.031 kB / 0.6842 GB, free: 8.613 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003375/0.1745, allocations: 307.3 kB / 0.6844 GB, free: 8.301 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01421/0.1887, allocations: 2.275 MB / 0.6867 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004034/0.1928, allocations: 1.914 MB / 0.6885 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006167/0.1934, allocations: 0.7253 MB / 0.6892 GB, free: 3.199 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004186/0.1938, allocations: 223.9 kB / 0.6895 GB, free: 2.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005674/0.1995, allocations: 3.063 MB / 0.6925 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/0.1996, allocations: 3.938 kB / 0.6925 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.1998, allocations: 80 kB / 0.6925 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/0.1999, allocations: 52 kB / 0.6926 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005322/0.2052, allocations: 2.799 MB / 0.6953 GB, free: 12.89 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.01593/0.2211, allocations: 9.896 MB / 0.705 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009819/0.231, allocations: 4.228 MB / 0.7091 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003867/0.2349, allocations: 1.981 MB / 0.711 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.2352, allocations: 41.95 kB / 0.7111 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004242/0.2395, allocations: 2.258 MB / 0.7133 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=250): time 4.699e-06/0.2395, allocations: 0 / 0.7133 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.111/0.3504, allocations: 28.82 MB / 0.7414 GB, free: 12.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.792e-05/0.3506, allocations: 184.2 kB / 0.7416 GB, free: 12.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003171/0.3537, allocations: 2.333 MB / 0.7439 GB, free: 10.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005273/0.3543, allocations: 69.7 kB / 0.744 GB, free: 10.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007701/0.3551, allocations: 1.184 MB / 0.7451 GB, free: 9.121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008957/0.356, allocations: 0.8859 MB / 0.746 GB, free: 8.223 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.357, allocations: 0.566 MB / 0.7465 GB, free: 7.648 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.571e-05/0.3571, allocations: 301.1 kB / 0.7468 GB, free: 7.352 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003888/0.361, allocations: 1.986 MB / 0.7488 GB, free: 5.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004122/0.3652, allocations: 2.358 MB / 0.7511 GB, free: 2.914 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05241/0.4176, allocations: 14.37 MB / 0.7651 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/0.4176, allocations: 4 kB / 0.7651 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.2871/0.7048, allocations: 12.6 MB / 0.7774 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.13e-05/0.7049, allocations: 117.6 kB / 0.7775 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.7049, allocations: 9.969 kB / 0.7775 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01655/0.7215, allocations: 5.436 MB / 0.7828 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/0.7242, allocations: 0.5765 MB / 0.7834 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04897/0.7732, allocations: 23.63 MB / 0.8065 GB, free: 97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003737/0.777, allocations: 0.4897 MB / 0.8069 GB, free: 96.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/0.7773, allocations: 122.1 kB / 0.8071 GB, free: 96.52 MB / 0.5606 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.0009916/0.7783, allocations: 0.5386 MB / 0.8076 GB, free: 95.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004572/0.7788, allocations: 303.6 kB / 0.8079 GB, free: 95.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03293/0.8117, allocations: 11.94 MB / 0.8195 GB, free: 83.69 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/0.8118, allocations: 28 kB / 0.8196 GB, free: 83.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.394e-05/0.8118, allocations: 16 kB / 0.8196 GB, free: 83.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-05/0.8119, allocations: 15.89 kB / 0.8196 GB, free: 83.63 MB / 0.5606 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.03618/0.8481, allocations: 15.58 MB / 0.8348 GB, free: 67.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.752e-05/0.8481, allocations: 0 / 0.8348 GB, free: 67.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/0.8496, allocations: 251.7 kB / 0.8351 GB, free: 67.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01466/0.8643, allocations: 5.283 MB / 0.8402 GB, free: 62.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000545/0.8648, allocations: 47.98 kB / 0.8403 GB, free: 62.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0471/0.9119, allocations: 24.93 MB / 0.8646 GB, free: 37.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.912, allocations: 0 / 0.8646 GB, free: 37.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03711/0.9491, allocations: 14.35 MB / 0.8786 GB, free: 22.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008527/0.95, allocations: 425.9 kB / 0.879 GB, free: 22.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005196/0.9505, allocations: 44 kB / 0.8791 GB, free: 22.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0027/0.9532, allocations: 299.6 kB / 0.8794 GB, free: 21.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002015/0.9553, allocations: 0.5814 MB / 0.8799 GB, free: 21.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002038/0.9555, allocations: 68.86 kB / 0.88 GB, free: 21.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001831/0.9573, allocations: 1.543 MB / 0.8815 GB, free: 19.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9573, allocations: 0 / 0.8815 GB, free: 19.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002817/0.9602, allocations: 1.186 MB / 0.8827 GB, free: 18.43 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.03663/0.9968, allocations: 14.98 MB / 0.8973 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01614/1.013, allocations: 6.785 MB / 0.9039 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.013, allocations: 1.75 kB / 0.9039 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01181/1.025, allocations: 4.43 MB / 0.9082 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/1.027, allocations: 270 kB / 0.9085 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1009/1.128, allocations: 42.14 MB / 0.9497 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/1.129, allocations: 1.819 MB / 0.9514 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001074/1.13, allocations: 262.8 kB / 0.9517 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/1.132, allocations: 1.249 MB / 0.9529 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of SimCode: time 7.01e-07/1.132, allocations: 4 kB / 0.9529 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3823/1.514, allocations: 91.02 MB / 1.042 GB, free: 239.9 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.1/18.62, allocations: 7.281 kB / 1.042 GB, free: 239.9 MB / 0.7012 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)