Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009117/0.009118, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.422/1.422, 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.001467/0.001468, allocations: 196.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4491/0.4491, allocations: 78.53 MB / 418.4 MB, free: 3.172 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 83.88 kB / 0.5537 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3957, allocations: 68.17 MB / 0.6202 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01048/0.4062, allocations: 13.58 MB / 0.6335 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008605/0.4148, allocations: 3.456 MB / 0.6369 GB, free: 9.145 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002827/0.4177, allocations: 28 kB / 0.6369 GB, free: 9.117 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.4192, allocations: 0.5576 MB / 0.6375 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005041/0.4243, allocations: 1.581 MB / 0.639 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.4278, allocations: 1.5 MB / 0.6405 GB, free: 5.488 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005257/0.4331, allocations: 3.722 MB / 0.6441 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.4343, allocations: 0.8934 MB / 0.645 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/0.4367, allocations: 1.529 MB / 0.6465 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.4386, allocations: 1.968 MB / 0.6484 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003737/0.439, allocations: 284 kB / 0.6487 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007763/0.4398, allocations: 431.9 kB / 0.6491 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006046/0.4404, allocations: 0.7623 MB / 0.6498 GB, free: 11.83 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.4418, allocations: 1.635 MB / 0.6514 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003947/0.4458, allocations: 3.972 MB / 0.6553 GB, free: 6.203 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4458, allocations: 0 / 0.6553 GB, free: 6.203 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4458, allocations: 4 kB / 0.6553 GB, free: 6.199 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.82e-05/0.4458, allocations: 0 / 0.6553 GB, free: 6.199 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.0254/0.4713, allocations: 6.571 MB / 0.6617 GB, free: 15.53 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.4713, allocations: 8.031 kB / 0.6617 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01573/0.4871, allocations: 2.282 MB / 0.6639 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005485/0.4926, allocations: 1.871 MB / 0.6658 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009804/0.4936, allocations: 0.7367 MB / 0.6665 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/0.4949, allocations: 216 kB / 0.6667 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.5049, allocations: 3.027 MB / 0.6697 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.661e-05/0.505, allocations: 0 / 0.6697 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006761/0.5057, allocations: 91.94 kB / 0.6697 GB, free: 7.039 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-05/0.5058, allocations: 52 kB / 0.6698 GB, free: 6.988 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007445/0.5132, allocations: 2.78 MB / 0.6725 GB, free: 4.191 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.02231/0.5356, allocations: 9.797 MB / 0.6821 GB, free: 9.969 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/0.5471, allocations: 4.176 MB / 0.6862 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004792/0.5519, allocations: 1.957 MB / 0.6881 GB, free: 3.707 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004643/0.5524, allocations: 45.95 kB / 0.6881 GB, free: 3.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005795/0.5582, allocations: 2.226 MB / 0.6903 GB, free: 1.414 MB / 494.1 MB Notification: Performance of pre-optimization done (n=247): time 7.744e-06/0.5583, allocations: 0 / 0.6903 GB, free: 1.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=247): time 0.1306/0.6889, allocations: 29.47 MB / 0.7191 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.689, allocations: 184.2 kB / 0.7192 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005043/0.6941, allocations: 2.273 MB / 0.7215 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009473/0.6951, allocations: 77.75 kB / 0.7215 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.6963, allocations: 1.172 MB / 0.7227 GB, free: 44 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001696/0.698, allocations: 0.8665 MB / 0.7235 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002713/0.7007, allocations: 0.5539 MB / 0.7241 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.7008, allocations: 309.1 kB / 0.7244 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005096/0.7059, allocations: 1.947 MB / 0.7263 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00522/0.7112, allocations: 2.31 MB / 0.7285 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05713/0.7683, allocations: 14 MB / 0.7422 GB, free: 11.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-05/0.7684, allocations: 11.94 kB / 0.7422 GB, free: 11.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04499/0.8134, allocations: 12.28 MB / 0.7542 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002025/0.8136, allocations: 118.8 kB / 0.7543 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.175e-05/0.8137, allocations: 11.94 kB / 0.7543 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02017/0.8339, allocations: 5.321 MB / 0.7595 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003326/0.8373, allocations: 0.5655 MB / 0.7601 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4295/1.267, allocations: 23.47 MB / 0.783 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004684/1.272, allocations: 497.4 kB / 0.7835 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002807/1.272, allocations: 116.8 kB / 0.7836 GB, free: 121 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 order3_1.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 (325): * Single equations (assignments): 320 * 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,26)} Notification: Performance of prepare postOptimizeDAE: time 0.00119/1.273, allocations: 0.5276 MB / 0.7841 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004487/1.273, allocations: 296.4 kB / 0.7844 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03825/1.312, allocations: 11.9 MB / 0.796 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/1.312, allocations: 23.44 kB / 0.796 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.324e-05/1.312, allocations: 23.44 kB / 0.796 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.578e-05/1.312, allocations: 11.58 kB / 0.796 GB, free: 118.2 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.04306/1.355, allocations: 15.48 MB / 0.8112 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/1.355, allocations: 4 kB / 0.8112 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/1.357, allocations: 239.7 kB / 0.8114 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01633/1.373, allocations: 5.287 MB / 0.8166 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007135/1.374, allocations: 52 kB / 0.8166 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05328/1.427, allocations: 24.94 MB / 0.841 GB, free: 77.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.427, allocations: 0 / 0.841 GB, free: 77.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04225/1.469, allocations: 14.26 MB / 0.8549 GB, free: 62.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/1.471, allocations: 412.2 kB / 0.8553 GB, free: 62.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004867/1.471, allocations: 48 kB / 0.8553 GB, free: 62.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002842/1.474, allocations: 299.6 kB / 0.8556 GB, free: 62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001932/1.476, allocations: 0.5802 MB / 0.8562 GB, free: 61.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/1.476, allocations: 63.98 kB / 0.8562 GB, free: 61.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001991/1.478, allocations: 1.507 MB / 0.8577 GB, free: 59.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.478, allocations: 4 kB / 0.8577 GB, free: 59.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003347/1.482, allocations: 1.169 MB / 0.8589 GB, free: 58.67 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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.0004305/1.482, allocations: 174.6 kB / 0.859 GB, free: 58.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01648/1.498, allocations: 6.707 MB / 0.8656 GB, free: 51.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.498, allocations: 0 / 0.8656 GB, free: 51.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01215/1.511, allocations: 4.399 MB / 0.8699 GB, free: 47.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/1.513, allocations: 273.7 kB / 0.8701 GB, free: 46.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008873/1.522, allocations: 5.256 MB / 0.8753 GB, free: 41.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.523, allocations: 1.806 MB / 0.877 GB, free: 39.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000941/1.524, allocations: 262.5 kB / 0.8773 GB, free: 39.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/1.524, allocations: 171.4 kB / 0.8774 GB, free: 39.45 MB / 0.5606 GB Notification: Performance of SimCode: time 1.273e-06/1.524, allocations: 0 / 0.8774 GB, free: 39.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.09244/1.617, allocations: 65.69 MB / 0.9416 GB, free: 5.801 MB / 0.5919 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)