Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007253/0.007253, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.41/1.41, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001263/0.001263, allocations: 192.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4662/0.4662, allocations: 78.52 MB / 418.4 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 76.09 kB / 0.5537 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3909, allocations: 68.18 MB / 0.6203 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01118/0.4022, allocations: 13.81 MB / 0.6337 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008702/0.4109, allocations: 3.519 MB / 0.6372 GB, free: 8.957 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003873/0.4149, allocations: 28 kB / 0.6372 GB, free: 8.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.4172, allocations: 0.5693 MB / 0.6378 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006148/0.4234, allocations: 1.59 MB / 0.6393 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004445/0.4279, allocations: 1.531 MB / 0.6408 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007194/0.4351, allocations: 3.816 MB / 0.6445 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.4367, allocations: 0.9013 MB / 0.6454 GB, free: 476 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002689/0.4394, allocations: 1.56 MB / 0.6469 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002695/0.4421, allocations: 2.007 MB / 0.6489 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006009/0.4427, allocations: 296 kB / 0.6492 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.4438, allocations: 439.7 kB / 0.6496 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007444/0.4445, allocations: 0.7779 MB / 0.6504 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001669/0.4462, allocations: 1.662 MB / 0.652 GB, free: 9.711 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004683/0.4509, allocations: 4.05 MB / 0.6559 GB, free: 5.648 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4509, allocations: 0 / 0.6559 GB, free: 5.648 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.451, allocations: 0 / 0.6559 GB, free: 5.648 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.043e-05/0.451, allocations: 0 / 0.6559 GB, free: 5.648 MB / 462.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.02384/0.4749, allocations: 6.672 MB / 0.6624 GB, free: 14.88 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.475, allocations: 8.031 kB / 0.6625 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01548/0.4904, allocations: 2.279 MB / 0.6647 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004988/0.4955, allocations: 1.914 MB / 0.6666 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009235/0.4964, allocations: 0.7253 MB / 0.6673 GB, free: 9.766 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.4975, allocations: 227.9 kB / 0.6675 GB, free: 9.543 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008774/0.5063, allocations: 3.051 MB / 0.6705 GB, free: 6.414 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.408e-05/0.5064, allocations: 0 / 0.6705 GB, free: 6.414 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005273/0.5069, allocations: 87.94 kB / 0.6705 GB, free: 6.328 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/0.507, allocations: 48 kB / 0.6706 GB, free: 6.281 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006794/0.5138, allocations: 2.803 MB / 0.6733 GB, free: 3.461 MB / 478.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.02264/0.5365, allocations: 9.888 MB / 0.683 GB, free: 9.148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01676/0.5533, allocations: 4.239 MB / 0.6871 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006688/0.56, allocations: 1.976 MB / 0.689 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003696/0.5604, allocations: 41.97 kB / 0.6891 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007283/0.5677, allocations: 2.252 MB / 0.6913 GB, free: 488 kB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 7.334e-06/0.5678, allocations: 0 / 0.6913 GB, free: 488 kB / 494.1 MB Notification: Performance of matching and sorting (n=250): time 0.1354/0.7031, allocations: 28.82 MB / 0.7194 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.7033, allocations: 184.2 kB / 0.7196 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004525/0.7078, allocations: 2.329 MB / 0.7219 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007946/0.7087, allocations: 73.7 kB / 0.722 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.7099, allocations: 1.18 MB / 0.7231 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001542/0.7114, allocations: 0.8819 MB / 0.724 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00238/0.7138, allocations: 0.5699 MB / 0.7245 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.7139, allocations: 301.1 kB / 0.7248 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005124/0.7191, allocations: 1.99 MB / 0.7268 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005605/0.7247, allocations: 2.366 MB / 0.7291 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06162/0.7864, allocations: 14.37 MB / 0.7431 GB, free: 10.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/0.7864, allocations: 3.938 kB / 0.7431 GB, free: 10.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04669/0.8331, allocations: 12.61 MB / 0.7554 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.8332, allocations: 114.8 kB / 0.7555 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.8333, allocations: 4 kB / 0.7555 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02052/0.8538, allocations: 5.438 MB / 0.7608 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/0.8571, allocations: 0.5773 MB / 0.7614 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3989/1.256, allocations: 23.64 MB / 0.7845 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005205/1.261, allocations: 491 kB / 0.785 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005289/1.262, allocations: 120.7 kB / 0.7851 GB, free: 121.3 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.00171/1.264, allocations: 0.5372 MB / 0.7856 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000768/1.264, allocations: 300.9 kB / 0.7859 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03852/1.303, allocations: 11.95 MB / 0.7975 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/1.303, allocations: 27.66 kB / 0.7976 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.234e-05/1.303, allocations: 19.59 kB / 0.7976 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.982e-05/1.303, allocations: 10.45 kB / 0.7976 GB, free: 118.4 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.04342/1.347, allocations: 15.59 MB / 0.8128 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/1.347, allocations: 0 / 0.8128 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/1.348, allocations: 255.7 kB / 0.8131 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01748/1.366, allocations: 5.289 MB / 0.8182 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007002/1.366, allocations: 47.98 kB / 0.8183 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05481/1.421, allocations: 24.92 MB / 0.8426 GB, free: 75.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.421, allocations: 0 / 0.8426 GB, free: 75.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04223/1.464, allocations: 14.34 MB / 0.8566 GB, free: 61.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009779/1.465, allocations: 419.7 kB / 0.857 GB, free: 60.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009904/1.466, allocations: 48 kB / 0.8571 GB, free: 60.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003448/1.469, allocations: 299.6 kB / 0.8573 GB, free: 60.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002165/1.471, allocations: 0.5802 MB / 0.8579 GB, free: 59.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002674/1.472, allocations: 71.92 kB / 0.858 GB, free: 59.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002208/1.474, allocations: 1.543 MB / 0.8595 GB, free: 58.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.474, allocations: 0 / 0.8595 GB, free: 58.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004053/1.478, allocations: 1.196 MB / 0.8607 GB, free: 57.02 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.0004413/1.478, allocations: 174.2 kB / 0.8608 GB, free: 56.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01773/1.496, allocations: 6.796 MB / 0.8675 GB, free: 49.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.496, allocations: 0 / 0.8675 GB, free: 49.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01291/1.509, allocations: 4.432 MB / 0.8718 GB, free: 45.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003344/1.512, allocations: 277.8 kB / 0.8721 GB, free: 45.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/1.523, allocations: 5.469 MB / 0.8774 GB, free: 39.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/1.525, allocations: 1.813 MB / 0.8792 GB, free: 37.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001455/1.526, allocations: 270.8 kB / 0.8794 GB, free: 37.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008808/1.527, allocations: 175.4 kB / 0.8796 GB, free: 37.42 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/1.527, allocations: 0 / 0.8796 GB, free: 37.42 MB / 0.5606 GB Notification: Performance of Templates: time 0.09716/1.624, allocations: 66.62 MB / 0.9447 GB, free: 2.836 MB / 0.5919 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)