Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009564/0.0009565, allocations: 175.5 kB / 15.41 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 222.9 MB / 239 MB, free: 92 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007338/0.0007338, allocations: 101.1 kB / 289.8 MB, free: 4.566 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.2967/0.2967, allocations: 78.43 MB / 419 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 12.81 kB / 498.4 MB, free: 8.289 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1142, allocations: 68.75 MB / 0.5539 GB, free: 3.48 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01178/0.126, allocations: 14.56 MB / 0.5681 GB, free: 4.852 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006615/0.1327, allocations: 3.647 MB / 0.5717 GB, free: 1.191 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.1343, allocations: 32 kB / 0.5717 GB, free: 1.16 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.1354, allocations: 449 kB / 0.5721 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2136/0.349, allocations: 1.228 MB / 0.5733 GB, free: 31.75 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.3527, allocations: 1.42 MB / 0.5747 GB, free: 31.75 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005134/0.3579, allocations: 3.571 MB / 0.5782 GB, free: 31.75 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.3592, allocations: 0.7922 MB / 0.579 GB, free: 31.59 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001988/0.3612, allocations: 1.347 MB / 0.5803 GB, free: 31.31 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.3627, allocations: 1.803 MB / 0.582 GB, free: 30.91 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003187/0.3631, allocations: 147.5 kB / 0.5822 GB, free: 30.91 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007165/0.3638, allocations: 284.3 kB / 0.5825 GB, free: 30.91 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004931/0.3643, allocations: 0.6132 MB / 0.5831 GB, free: 30.77 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.3654, allocations: 1.477 MB / 0.5845 GB, free: 30.23 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003364/0.3688, allocations: 3.753 MB / 0.5882 GB, free: 29.51 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3688, allocations: 1.719 kB / 0.5882 GB, free: 29.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3688, allocations: 0 / 0.5882 GB, free: 29.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.544e-05/0.3689, allocations: 0 / 0.5882 GB, free: 29.51 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.0201/0.389, allocations: 5.997 MB / 0.594 GB, free: 27.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3891, allocations: 8.781 kB / 0.594 GB, free: 27.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01461/0.4037, allocations: 2.278 MB / 0.5963 GB, free: 27.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/0.407, allocations: 1.895 MB / 0.5981 GB, free: 26.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004862/0.4075, allocations: 0.7252 MB / 0.5988 GB, free: 26.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003777/0.4079, allocations: 214.3 kB / 0.599 GB, free: 26.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006257/0.4142, allocations: 3.051 MB / 0.602 GB, free: 26.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/0.4143, allocations: 0 / 0.602 GB, free: 26.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003189/0.4146, allocations: 88.28 kB / 0.6021 GB, free: 26.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-05/0.4147, allocations: 47.84 kB / 0.6021 GB, free: 26.06 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005587/0.4202, allocations: 2.799 MB / 0.6049 GB, free: 25.33 MB / 442.7 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.01655/0.4368, allocations: 9.928 MB / 0.6146 GB, free: 19.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/0.4472, allocations: 4.198 MB / 0.6187 GB, free: 18.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004266/0.4515, allocations: 1.981 MB / 0.6206 GB, free: 17.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003196/0.4518, allocations: 42.56 kB / 0.6206 GB, free: 17.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004612/0.4565, allocations: 2.246 MB / 0.6228 GB, free: 16.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 5.029e-06/0.4565, allocations: 4 kB / 0.6228 GB, free: 16.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.105/0.5614, allocations: 27.41 MB / 0.6496 GB, free: 15.76 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.5616, allocations: 188.1 kB / 0.6498 GB, free: 15.54 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003478/0.5651, allocations: 2.317 MB / 0.652 GB, free: 13.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007116/0.5658, allocations: 73.69 kB / 0.6521 GB, free: 13.12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008644/0.5667, allocations: 1.18 MB / 0.6533 GB, free: 11.94 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001157/0.5678, allocations: 0.8714 MB / 0.6541 GB, free: 11.08 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004298/0.5683, allocations: 288.6 kB / 0.6544 GB, free: 10.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.5683, allocations: 305.1 kB / 0.6547 GB, free: 10.49 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004089/0.5724, allocations: 1.974 MB / 0.6566 GB, free: 8.512 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004339/0.5768, allocations: 2.349 MB / 0.6589 GB, free: 6.074 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05247/0.6293, allocations: 14.25 MB / 0.6728 GB, free: 7.613 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.6293, allocations: 0 / 0.6728 GB, free: 7.613 MB / 474.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.03906/0.6684, allocations: 12.54 MB / 0.6851 GB, free: 11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.537e-05/0.6685, allocations: 126.1 kB / 0.6852 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.6686, allocations: 7.938 kB / 0.6852 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01659/0.6851, allocations: 5.249 MB / 0.6903 GB, free: 5.602 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/0.6883, allocations: 0.589 MB / 0.6909 GB, free: 5.012 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05009/0.7384, allocations: 21.32 MB / 0.7117 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004282/0.7427, allocations: 493.1 kB / 0.7122 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003808/0.7431, allocations: 116 kB / 0.7123 GB, free: 14.95 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 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.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (334): * Single equations (assignments): 329 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001319/0.7444, allocations: 0.5405 MB / 0.7128 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005649/0.745, allocations: 300.2 kB / 0.7131 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03748/0.7825, allocations: 11.92 MB / 0.7248 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.352e-05/0.7826, allocations: 29.19 kB / 0.7248 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-05/0.7826, allocations: 16 kB / 0.7248 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.027e-05/0.7827, allocations: 15.95 kB / 0.7248 GB, free: 2.023 MB / 0.5105 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.04219/0.8248, allocations: 15.56 MB / 0.74 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.8249, allocations: 4 kB / 0.74 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.8264, allocations: 243.7 kB / 0.7402 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01656/0.843, allocations: 5.311 MB / 0.7454 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005335/0.8436, allocations: 55.98 kB / 0.7455 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04964/0.8932, allocations: 22.67 MB / 0.7676 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8933, allocations: 0 / 0.7676 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04206/0.9353, allocations: 14.32 MB / 0.7816 GB, free: 7.168 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.9364, allocations: 408.9 kB / 0.782 GB, free: 6.746 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005284/0.9369, allocations: 44 kB / 0.782 GB, free: 6.703 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002783/0.9397, allocations: 303.6 kB / 0.7823 GB, free: 6.406 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001909/0.9416, allocations: 0.5693 MB / 0.7829 GB, free: 5.836 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001944/0.9418, allocations: 69.39 kB / 0.783 GB, free: 5.77 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002169/0.944, allocations: 1.531 MB / 0.7844 GB, free: 4.234 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.91e-07/0.944, allocations: 0 / 0.7844 GB, free: 4.234 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003026/0.9471, allocations: 1.178 MB / 0.7856 GB, free: 3.055 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0003845/0.9474, allocations: 175 kB / 0.7858 GB, free: 2.871 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2182/1.166, allocations: 6.636 MB / 0.7922 GB, free: 179.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.166, allocations: 0.9375 kB / 0.7922 GB, free: 179.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01285/1.179, allocations: 4.422 MB / 0.7966 GB, free: 178.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003556/1.182, allocations: 266.2 kB / 0.7968 GB, free: 178.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009536/1.192, allocations: 6.55 MB / 0.8032 GB, free: 175.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/1.193, allocations: 1.818 MB / 0.805 GB, free: 174.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001312/1.195, allocations: 264.7 kB / 0.8052 GB, free: 174.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006321/1.195, allocations: 162.8 kB / 0.8054 GB, free: 174.7 MB / 0.573 GB Notification: Performance of SimCode: time 2.274e-06/1.195, allocations: 0 / 0.8054 GB, free: 174.7 MB / 0.573 GB Notification: Performance of Templates: time 0.08168/1.277, allocations: 56.72 MB / 0.8608 GB, free: 150.5 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)