Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, 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.375/1.375, allocations: 222.9 MB / 239.5 MB, free: 4.797 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.001601/0.001601, allocations: 192.5 kB / 289.8 MB, free: 2.539 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5273/0.5273, allocations: 91.89 MB / 431.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 75.88 kB / 0.5018 GB, free: 8.246 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3643, allocations: 71.27 MB / 0.5714 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01575/0.3801, allocations: 23.3 MB / 0.5942 GB, free: 20.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.3932, allocations: 5.147 MB / 0.5992 GB, free: 16.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006323/0.3996, allocations: 59.03 kB / 0.5993 GB, free: 16.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003747/0.4034, allocations: 0.6694 MB / 0.5999 GB, free: 16.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009156/0.4126, allocations: 1.732 MB / 0.6016 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006231/0.4188, allocations: 1.909 MB / 0.6035 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01018/0.429, allocations: 5.421 MB / 0.6088 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00347/0.4325, allocations: 1.15 MB / 0.6099 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004918/0.4375, allocations: 2.158 MB / 0.612 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005628/0.4431, allocations: 2.805 MB / 0.6148 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002425/0.4456, allocations: 285.4 kB / 0.615 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/0.4493, allocations: 431.9 kB / 0.6154 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002488/0.4518, allocations: 0.999 MB / 0.6164 GB, free: 7.594 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007213/0.4591, allocations: 2.459 MB / 0.6188 GB, free: 6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008681/0.4678, allocations: 4.744 MB / 0.6234 GB, free: 4.066 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.4678, allocations: 1.281 kB / 0.6234 GB, free: 4.066 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4678, allocations: 0 / 0.6234 GB, free: 4.066 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003484/0.4682, allocations: 0 / 0.6234 GB, free: 4.066 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03941/0.5076, allocations: 9.159 MB / 0.6324 GB, free: 4 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.5077, allocations: 9.156 kB / 0.6324 GB, free: 4 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02829/0.536, allocations: 4.011 MB / 0.6363 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009607/0.5456, allocations: 2.651 MB / 0.6389 GB, free: 9.598 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001557/0.5472, allocations: 0.9612 MB / 0.6398 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002436/0.5497, allocations: 355.9 kB / 0.6402 GB, free: 8.148 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/0.5662, allocations: 4.719 MB / 0.6448 GB, free: 3.398 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.5663, allocations: 3.938 kB / 0.6448 GB, free: 3.395 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001348/0.5677, allocations: 136 kB / 0.6449 GB, free: 3.262 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.932e-05/0.5678, allocations: 84 kB / 0.645 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01157/0.5794, allocations: 4.252 MB / 0.6492 GB, free: 14.92 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.04099/0.6204, allocations: 18.3 MB / 0.667 GB, free: 11.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.6332, allocations: 5.004 MB / 0.6719 GB, free: 6.359 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005918/0.6391, allocations: 2.783 MB / 0.6746 GB, free: 3.566 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005817/0.6397, allocations: 78.83 kB / 0.6747 GB, free: 3.488 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007574/0.6473, allocations: 3.161 MB / 0.6778 GB, free: 292 kB / 478.1 MB Notification: Performance of pre-optimization done (n=382): time 1.255e-05/0.6474, allocations: 4 kB / 0.6778 GB, free: 288 kB / 478.1 MB Notification: Performance of matching and sorting (n=382): time 0.3097/0.9571, allocations: 68.2 MB / 0.7444 GB, free: 11.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.9573, allocations: 141.8 kB / 0.7445 GB, free: 11.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007078/0.9644, allocations: 3.226 MB / 0.7477 GB, free: 8.477 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001421/0.9658, allocations: 93.7 kB / 0.7478 GB, free: 8.379 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001812/0.9677, allocations: 1.967 MB / 0.7497 GB, free: 6.398 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00266/0.9703, allocations: 1.309 MB / 0.751 GB, free: 5.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00384/0.9742, allocations: 0.6742 MB / 0.7516 GB, free: 4.383 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.9743, allocations: 301.1 kB / 0.7519 GB, free: 4.086 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006518/0.9808, allocations: 2.577 MB / 0.7544 GB, free: 1.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007407/0.9883, allocations: 3.209 MB / 0.7576 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3587/1.347, allocations: 18.76 MB / 0.7759 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.278e-05/1.347, allocations: 5.156 kB / 0.7759 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.0572/1.404, allocations: 16.93 MB / 0.7924 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.404, allocations: 70.48 kB / 0.7925 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.611e-05/1.404, allocations: 17.38 kB / 0.7925 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02689/1.431, allocations: 7.224 MB / 0.7996 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003629/1.435, allocations: 0.6613 MB / 0.8002 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08042/1.515, allocations: 31.02 MB / 0.8305 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006762/1.522, allocations: 0.6141 MB / 0.8311 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/1.524, allocations: 155.2 kB / 0.8313 GB, free: 137 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 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 (398): * Single equations (assignments): 395 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.003179/1.527, allocations: 0.6602 MB / 0.8319 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001924/1.529, allocations: 462.2 kB / 0.8323 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05186/1.581, allocations: 16.84 MB / 0.8488 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.046e-05/1.581, allocations: 36 kB / 0.8488 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.885e-05/1.581, allocations: 31.94 kB / 0.8488 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001151/1.581, allocations: 27.86 kB / 0.8489 GB, free: 119.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.05774/1.639, allocations: 21.83 MB / 0.8702 GB, free: 97.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-05/1.639, allocations: 0 / 0.8702 GB, free: 97.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00239/1.641, allocations: 387.5 kB / 0.8706 GB, free: 97.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02426/1.665, allocations: 7.382 MB / 0.8778 GB, free: 89.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001235/1.667, allocations: 79.92 kB / 0.8778 GB, free: 89.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06772/1.734, allocations: 28.93 MB / 0.9061 GB, free: 60.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/1.734, allocations: 7.875 kB / 0.9061 GB, free: 60.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0579/1.792, allocations: 20.18 MB / 0.9258 GB, free: 40.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/1.794, allocations: 0.5609 MB / 0.9264 GB, free: 39.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001492/1.796, allocations: 64 kB / 0.9264 GB, free: 39.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004442/1.8, allocations: 375.6 kB / 0.9268 GB, free: 39.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003142/1.803, allocations: 0.7646 MB / 0.9275 GB, free: 38.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003185/1.804, allocations: 95.98 kB / 0.9276 GB, free: 38.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002798/1.806, allocations: 2.109 MB / 0.9297 GB, free: 36.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/1.806, allocations: 0 / 0.9297 GB, free: 36.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005549/1.812, allocations: 1.797 MB / 0.9314 GB, free: 34.36 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.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.0006134/1.813, allocations: 199.8 kB / 0.9316 GB, free: 34.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02299/1.836, allocations: 9.113 MB / 0.9405 GB, free: 24.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.836, allocations: 0.5 kB / 0.9405 GB, free: 24.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01856/1.854, allocations: 6.171 MB / 0.9466 GB, free: 18.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006269/1.861, allocations: 382.9 kB / 0.9469 GB, free: 18.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/1.883, allocations: 9.739 MB / 0.9564 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003986/1.887, allocations: 2.455 MB / 0.9588 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002265/1.889, allocations: 267.3 kB / 0.9591 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of SimCode: time 1.914e-06/1.889, allocations: 0 / 0.9591 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of Templates: time 0.4091/2.298, allocations: 88.03 MB / 1.045 GB, free: 165.2 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)