Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 239.5 MB, free: 4.695 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.001483/0.001483, allocations: 196.5 kB / 289.8 MB, free: 2.445 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5216/0.5216, allocations: 91.9 MB / 431.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 75.88 kB / 0.5018 GB, free: 8.117 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3969, allocations: 71.27 MB / 0.5714 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01666/0.4136, allocations: 23.4 MB / 0.5943 GB, free: 20.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0138/0.4275, allocations: 5.148 MB / 0.5993 GB, free: 16.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004914/0.4324, allocations: 50.66 kB / 0.5994 GB, free: 16.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.4347, allocations: 0.668 MB / 0.6 GB, free: 16.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007388/0.4421, allocations: 1.74 MB / 0.6017 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00493/0.447, allocations: 1.916 MB / 0.6036 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01095/0.4579, allocations: 5.43 MB / 0.6089 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.4605, allocations: 1.154 MB / 0.61 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004326/0.4648, allocations: 2.151 MB / 0.6121 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004895/0.4697, allocations: 2.813 MB / 0.6149 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001684/0.4714, allocations: 285.5 kB / 0.6151 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.4741, allocations: 427.9 kB / 0.6155 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001691/0.4758, allocations: 1.002 MB / 0.6165 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002818/0.4787, allocations: 2.459 MB / 0.6189 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004665/0.4833, allocations: 4.744 MB / 0.6236 GB, free: 3.891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4834, allocations: 0 / 0.6236 GB, free: 3.891 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4834, allocations: 4 kB / 0.6236 GB, free: 3.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001323/0.4835, allocations: 1.25 kB / 0.6236 GB, free: 3.887 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03136/0.5149, allocations: 9.151 MB / 0.6325 GB, free: 15.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.5149, allocations: 10.19 kB / 0.6325 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02594/0.5409, allocations: 4.007 MB / 0.6364 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005474/0.5464, allocations: 2.65 MB / 0.639 GB, free: 9.395 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008273/0.5472, allocations: 0.9574 MB / 0.6399 GB, free: 8.297 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005933/0.5478, allocations: 352 kB / 0.6403 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009098/0.5569, allocations: 4.723 MB / 0.6449 GB, free: 3.199 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.579e-05/0.557, allocations: 3.938 kB / 0.6449 GB, free: 3.195 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004111/0.5574, allocations: 136 kB / 0.645 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.475e-05/0.5575, allocations: 84 kB / 0.6451 GB, free: 2.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00836/0.5659, allocations: 4.248 MB / 0.6493 GB, free: 14.73 MB / 462.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.03244/0.5983, allocations: 18.36 MB / 0.6672 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.6104, allocations: 4.992 MB / 0.6721 GB, free: 6.113 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005944/0.6164, allocations: 2.78 MB / 0.6748 GB, free: 3.324 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000697/0.6171, allocations: 70.91 kB / 0.6748 GB, free: 3.254 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007242/0.6244, allocations: 3.177 MB / 0.6779 GB, free: 36 kB / 478.1 MB Notification: Performance of pre-optimization done (n=383): time 7.033e-06/0.6244, allocations: 0 / 0.6779 GB, free: 36 kB / 478.1 MB Notification: Performance of matching and sorting (n=383): time 0.3136/0.938, allocations: 68.04 MB / 0.7444 GB, free: 11.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.9382, allocations: 141.8 kB / 0.7445 GB, free: 11.63 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006553/0.9448, allocations: 3.218 MB / 0.7477 GB, free: 8.395 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001263/0.946, allocations: 93.64 kB / 0.7478 GB, free: 8.297 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001749/0.9478, allocations: 1.967 MB / 0.7497 GB, free: 6.316 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002576/0.9504, allocations: 1.313 MB / 0.751 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003799/0.9542, allocations: 0.6821 MB / 0.7516 GB, free: 4.289 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.9543, allocations: 301.1 kB / 0.7519 GB, free: 3.992 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006362/0.9607, allocations: 2.585 MB / 0.7544 GB, free: 1.398 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006772/0.9675, allocations: 3.209 MB / 0.7576 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3608/1.328, allocations: 18.78 MB / 0.7759 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.44e-05/1.328, allocations: 5.344 kB / 0.7759 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.05862/1.387, allocations: 17.25 MB / 0.7928 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.852e-05/1.387, allocations: 68.86 kB / 0.7928 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.011e-05/1.387, allocations: 18.09 kB / 0.7929 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02589/1.413, allocations: 7.147 MB / 0.7998 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003562/1.417, allocations: 0.6746 MB / 0.8005 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07093/1.488, allocations: 30.62 MB / 0.8304 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006404/1.494, allocations: 0.6219 MB / 0.831 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/1.495, allocations: 151.3 kB / 0.8311 GB, free: 136.8 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (403): * Single equations (assignments): 400 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003037/1.498, allocations: 0.6788 MB / 0.8318 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/1.5, allocations: 454.3 kB / 0.8322 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04952/1.549, allocations: 16.84 MB / 0.8487 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.846e-05/1.549, allocations: 36 kB / 0.8487 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001004/1.55, allocations: 28 kB / 0.8488 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001059/1.55, allocations: 19.92 kB / 0.8488 GB, free: 119.3 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.0628/1.612, allocations: 21.85 MB / 0.8701 GB, free: 97.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.103e-05/1.613, allocations: 0 / 0.8701 GB, free: 97.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002426/1.615, allocations: 387.5 kB / 0.8705 GB, free: 97.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02485/1.64, allocations: 7.342 MB / 0.8776 GB, free: 89.67 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001164/1.641, allocations: 75.97 kB / 0.8777 GB, free: 89.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07238/1.713, allocations: 28.95 MB / 0.906 GB, free: 60.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.713, allocations: 3.984 kB / 0.906 GB, free: 60.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05962/1.773, allocations: 20.2 MB / 0.9257 GB, free: 40.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/1.775, allocations: 0.557 MB / 0.9263 GB, free: 39.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002065/1.777, allocations: 68 kB / 0.9263 GB, free: 39.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00547/1.783, allocations: 379.5 kB / 0.9267 GB, free: 39.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003764/1.786, allocations: 0.7607 MB / 0.9274 GB, free: 38.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007953/1.787, allocations: 95.98 kB / 0.9275 GB, free: 38.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003672/1.791, allocations: 2.105 MB / 0.9296 GB, free: 36.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.9e-07/1.791, allocations: 3.938 kB / 0.9296 GB, free: 36.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00717/1.798, allocations: 1.801 MB / 0.9313 GB, free: 34.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009586/1.799, allocations: 187.8 kB / 0.9315 GB, free: 34.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02346/1.823, allocations: 9.157 MB / 0.9405 GB, free: 24.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/1.823, allocations: 0 / 0.9405 GB, free: 24.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01836/1.841, allocations: 6.139 MB / 0.9465 GB, free: 18.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006399/1.847, allocations: 381.3 kB / 0.9468 GB, free: 18.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/1.866, allocations: 9.796 MB / 0.9564 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002526/1.868, allocations: 2.45 MB / 0.9588 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/1.87, allocations: 263.4 kB / 0.959 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of SimCode: time 1.433e-06/1.87, allocations: 0 / 0.959 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of Templates: time 0.4002/2.27, allocations: 87.96 MB / 1.045 GB, free: 165.3 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)