Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001242, allocations: 105.1 kB / 16.41 MB, free: 6.457 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.477/1.477, allocations: 222.9 MB / 240.1 MB, free: 4.484 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.001424/0.001424, allocations: 184.5 kB / 290.4 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4841/0.4841, allocations: 78.54 MB / 419.1 MB, free: 3.133 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 76.38 kB / 0.5543 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4182, allocations: 68.17 MB / 0.6209 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.011/0.4292, allocations: 13.77 MB / 0.6344 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008352/0.4376, allocations: 3.495 MB / 0.6378 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.4396, allocations: 31.94 kB / 0.6378 GB, free: 8.844 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.441, allocations: 0.5615 MB / 0.6384 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.4451, allocations: 1.445 MB / 0.6398 GB, free: 6.828 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.4484, allocations: 1.512 MB / 0.6412 GB, free: 5.336 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00459/0.453, allocations: 3.784 MB / 0.6449 GB, free: 1.535 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.4542, allocations: 0.9012 MB / 0.6458 GB, free: 0.582 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002323/0.4566, allocations: 1.548 MB / 0.6473 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.4589, allocations: 1.991 MB / 0.6493 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004519/0.4594, allocations: 288 kB / 0.6495 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008912/0.4603, allocations: 439.8 kB / 0.65 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007263/0.461, allocations: 0.7779 MB / 0.6507 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.4626, allocations: 1.647 MB / 0.6523 GB, free: 9.879 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004286/0.4669, allocations: 4.026 MB / 0.6563 GB, free: 5.844 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4669, allocations: 4 kB / 0.6563 GB, free: 5.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4669, allocations: 0 / 0.6563 GB, free: 5.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.228e-05/0.467, allocations: 0 / 0.6563 GB, free: 5.84 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02345/0.4904, allocations: 6.637 MB / 0.6628 GB, free: 15.11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.4905, allocations: 12.03 kB / 0.6628 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0148/0.5053, allocations: 2.275 MB / 0.665 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003975/0.5093, allocations: 1.906 MB / 0.6668 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007774/0.5101, allocations: 0.7213 MB / 0.6676 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004431/0.5105, allocations: 219.9 kB / 0.6678 GB, free: 9.789 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006297/0.5168, allocations: 3.047 MB / 0.6707 GB, free: 6.664 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.5169, allocations: 0 / 0.6707 GB, free: 6.664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002542/0.5171, allocations: 83.94 kB / 0.6708 GB, free: 6.582 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-05/0.5172, allocations: 52 kB / 0.6709 GB, free: 6.531 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005781/0.523, allocations: 2.796 MB / 0.6736 GB, free: 3.719 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.01858/0.5416, allocations: 9.86 MB / 0.6832 GB, free: 9.434 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/0.5528, allocations: 4.203 MB / 0.6873 GB, free: 5.102 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004162/0.5569, allocations: 1.976 MB / 0.6893 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002356/0.5572, allocations: 45.95 kB / 0.6893 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004715/0.5619, allocations: 2.246 MB / 0.6915 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 3.587e-06/0.5619, allocations: 0 / 0.6915 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of matching and sorting (n=249): time 0.1205/0.6824, allocations: 27.42 MB / 0.7183 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.6826, allocations: 184.2 kB / 0.7184 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003726/0.6863, allocations: 2.313 MB / 0.7207 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007739/0.6871, allocations: 73.7 kB / 0.7208 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009425/0.6881, allocations: 1.172 MB / 0.7219 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001136/0.6892, allocations: 0.882 MB / 0.7228 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.6903, allocations: 0.5582 MB / 0.7233 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.6905, allocations: 305.1 kB / 0.7236 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004313/0.6948, allocations: 1.97 MB / 0.7255 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004535/0.6993, allocations: 2.346 MB / 0.7278 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05664/0.756, allocations: 14.24 MB / 0.7417 GB, free: 12.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.931e-05/0.756, allocations: 4 kB / 0.7417 GB, free: 12.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04261/0.7987, allocations: 12.55 MB / 0.754 GB, free: 192 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.7988, allocations: 117.3 kB / 0.7541 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.7988, allocations: 8 kB / 0.7541 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01816/0.817, allocations: 5.257 MB / 0.7593 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003387/0.8204, allocations: 0.5851 MB / 0.7598 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4369/1.257, allocations: 23.17 MB / 0.7825 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004591/1.262, allocations: 490.7 kB / 0.7829 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003308/1.262, allocations: 121.6 kB / 0.783 GB, free: 120.7 MB / 0.5606 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.001244/1.264, allocations: 0.5413 MB / 0.7836 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005443/1.264, allocations: 300.2 kB / 0.7839 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03799/1.302, allocations: 11.92 MB / 0.7955 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/1.302, allocations: 23.66 kB / 0.7955 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.917e-05/1.302, allocations: 23.38 kB / 0.7955 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-05/1.302, allocations: 11.25 kB / 0.7955 GB, free: 117.8 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.04137/1.344, allocations: 15.56 MB / 0.8107 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/1.344, allocations: 0 / 0.8107 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/1.345, allocations: 247.6 kB / 0.811 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01651/1.362, allocations: 5.31 MB / 0.8162 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006033/1.362, allocations: 47.98 kB / 0.8162 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0522/1.415, allocations: 24.92 MB / 0.8405 GB, free: 77.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.415, allocations: 3.391 kB / 0.8406 GB, free: 77.87 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04207/1.457, allocations: 14.32 MB / 0.8545 GB, free: 63.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.458, allocations: 418.2 kB / 0.8549 GB, free: 63.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004258/1.458, allocations: 44 kB / 0.855 GB, free: 62.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002813/1.461, allocations: 299.6 kB / 0.8553 GB, free: 62.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001924/1.463, allocations: 0.5763 MB / 0.8558 GB, free: 62.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/1.463, allocations: 67.98 kB / 0.8559 GB, free: 62.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001834/1.465, allocations: 1.531 MB / 0.8574 GB, free: 60.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.465, allocations: 0 / 0.8574 GB, free: 60.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002901/1.468, allocations: 1.182 MB / 0.8585 GB, free: 59.33 MB / 0.5606 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.0004041/1.468, allocations: 181.7 kB / 0.8587 GB, free: 59.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01632/1.485, allocations: 6.661 MB / 0.8652 GB, free: 52.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.485, allocations: 0 / 0.8652 GB, free: 52.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01218/1.497, allocations: 4.414 MB / 0.8695 GB, free: 47.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/1.499, allocations: 271.4 kB / 0.8698 GB, free: 47.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008916/1.508, allocations: 5.47 MB / 0.8751 GB, free: 42.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.509, allocations: 1.814 MB / 0.8769 GB, free: 40.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009014/1.51, allocations: 191.4 kB / 0.8771 GB, free: 40.13 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/1.51, allocations: 0 / 0.8771 GB, free: 40.13 MB / 0.5606 GB Notification: Performance of Templates: time 0.07592/1.586, allocations: 64.57 MB / 0.9401 GB, free: 7.523 MB / 0.5919 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)