Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.34/1.34, allocations: 222.9 MB / 238.8 MB, free: 4.793 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.001591/0.001591, allocations: 184.5 kB / 289.1 MB, free: 2.535 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4963/0.4963, allocations: 91.9 MB / 431.2 MB, free: 9.508 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 83.88 kB / 0.5012 GB, free: 8.234 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4161, allocations: 71.26 MB / 0.5708 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.006303/0.4225, allocations: 6.879 MB / 0.5775 GB, free: 32.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005261/0.4278, allocations: 2.016 MB / 0.5795 GB, free: 31.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009893/0.4288, allocations: 9.031 kB / 0.5795 GB, free: 31.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007566/0.4296, allocations: 188.9 kB / 0.5797 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.4314, allocations: 0.7184 MB / 0.5804 GB, free: 30.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.4325, allocations: 0.5859 MB / 0.5809 GB, free: 30.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.4338, allocations: 1.504 MB / 0.5824 GB, free: 29.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003992/0.4342, allocations: 290.8 kB / 0.5827 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006249/0.4349, allocations: 0.5883 MB / 0.5833 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006774/0.4355, allocations: 0.7769 MB / 0.584 GB, free: 28.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.4357, allocations: 72.09 kB / 0.5841 GB, free: 28.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005098/0.4362, allocations: 204.6 kB / 0.5843 GB, free: 28.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.4365, allocations: 274.5 kB / 0.5845 GB, free: 28.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005423/0.437, allocations: 0.623 MB / 0.5852 GB, free: 28.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.4385, allocations: 1.594 MB / 0.5867 GB, free: 27.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4386, allocations: 4 kB / 0.5867 GB, free: 27.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4386, allocations: 0 / 0.5867 GB, free: 27.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.4386, allocations: 0 / 0.5867 GB, free: 27.54 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.009575/0.4482, allocations: 2.682 MB / 0.5893 GB, free: 26.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.4482, allocations: 13.38 kB / 0.5893 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005219/0.4535, allocations: 0.7722 MB / 0.5901 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.4554, allocations: 0.8782 MB / 0.591 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003796/0.4558, allocations: 261.9 kB / 0.5912 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.4561, allocations: 93.39 kB / 0.5913 GB, free: 25.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.4587, allocations: 1.09 MB / 0.5924 GB, free: 24.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.4587, allocations: 0 / 0.5924 GB, free: 24.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.4588, allocations: 34.81 kB / 0.5924 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.4588, allocations: 17.56 kB / 0.5924 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.4613, allocations: 0.9882 MB / 0.5934 GB, free: 24.48 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.007118/0.4684, allocations: 3.853 MB / 0.5971 GB, free: 22.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007378/0.4758, allocations: 2.36 MB / 0.5994 GB, free: 21.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.4773, allocations: 0.6747 MB / 0.6001 GB, free: 21.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.4774, allocations: 16.88 kB / 0.6001 GB, free: 21.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001682/0.4791, allocations: 0.8299 MB / 0.6009 GB, free: 20.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.226e-06/0.4791, allocations: 0 / 0.6009 GB, free: 20.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.03012/0.5093, allocations: 7.077 MB / 0.6078 GB, free: 19.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.5094, allocations: 119.2 kB / 0.608 GB, free: 19.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.5114, allocations: 1.081 MB / 0.609 GB, free: 18.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002795/0.5117, allocations: 45.58 kB / 0.6091 GB, free: 18.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.5121, allocations: 498.5 kB / 0.6095 GB, free: 18.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003847/0.5124, allocations: 361.3 kB / 0.6099 GB, free: 18.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005627/0.513, allocations: 290.9 kB / 0.6102 GB, free: 18.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.5131, allocations: 301.8 kB / 0.6104 GB, free: 17.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.5147, allocations: 0.7657 MB / 0.6112 GB, free: 17.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/0.5165, allocations: 0.9288 MB / 0.6121 GB, free: 17.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02322/0.5397, allocations: 5.58 MB / 0.6175 GB, free: 14.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.5398, allocations: 0 / 0.6175 GB, free: 14.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01183/0.5517, allocations: 4.336 MB / 0.6218 GB, free: 10.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/0.5517, allocations: 59.41 kB / 0.6218 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.5518, allocations: 4 kB / 0.6218 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004776/0.5566, allocations: 1.501 MB / 0.6233 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.5582, allocations: 307.6 kB / 0.6236 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/0.5739, allocations: 7.623 MB / 0.631 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.576, allocations: 206.8 kB / 0.6312 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.5761, allocations: 51.98 kB / 0.6313 GB, free: 176 kB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (166): * Single equations (assignments): 163 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006904/0.5768, allocations: 312.8 kB / 0.6316 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.5771, allocations: 130.4 kB / 0.6317 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/0.5894, allocations: 3.865 MB / 0.6355 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.5895, allocations: 8 kB / 0.6355 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.5895, allocations: 11.94 kB / 0.6355 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/0.5895, allocations: 3.984 kB / 0.6355 GB, free: 11.81 MB / 446.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.0152/0.6047, allocations: 5.461 MB / 0.6408 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.6048, allocations: 4 kB / 0.6408 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006524/0.6054, allocations: 95.84 kB / 0.6409 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005393/0.6109, allocations: 1.606 MB / 0.6425 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001811/0.6111, allocations: 20 kB / 0.6425 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01958/0.6306, allocations: 8.781 MB / 0.6511 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6307, allocations: 4 kB / 0.6511 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/0.6448, allocations: 4.736 MB / 0.6557 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006346/0.6455, allocations: 219.3 kB / 0.6559 GB, free: 6.434 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004568/0.646, allocations: 20 kB / 0.656 GB, free: 6.414 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.6475, allocations: 111.9 kB / 0.6561 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007004/0.6482, allocations: 192.6 kB / 0.6562 GB, free: 6.113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.6483, allocations: 24 kB / 0.6563 GB, free: 6.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00137/0.6497, allocations: 0.7274 MB / 0.657 GB, free: 5.355 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6497, allocations: 0 / 0.657 GB, free: 5.355 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001936/0.6517, allocations: 479.5 kB / 0.6574 GB, free: 4.887 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003509/0.652, allocations: 135.2 kB / 0.6576 GB, free: 4.742 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006374/0.6584, allocations: 2.501 MB / 0.66 GB, free: 2.207 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.6584, allocations: 0 / 0.66 GB, free: 2.207 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004177/0.6626, allocations: 1.596 MB / 0.6616 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.6639, allocations: 116.7 kB / 0.6617 GB, free: 476 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004762/0.6687, allocations: 2.682 MB / 0.6643 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008047/0.6695, allocations: 1.12 MB / 0.6654 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005319/0.67, allocations: 120 kB / 0.6655 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.6703, allocations: 79.41 kB / 0.6656 GB, free: 12.41 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6703, allocations: 0 / 0.6656 GB, free: 12.41 MB / 478.1 MB Notification: Performance of Templates: time 0.03836/0.7087, allocations: 21.4 MB / 0.6865 GB, free: 7.035 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)