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.001029/0.001029, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.351/1.351, allocations: 222.9 MB / 239 MB, free: 4.711 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.001235/0.001235, allocations: 192.5 kB / 289.3 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.472/0.472, allocations: 78.52 MB / 417.9 MB, free: 3.375 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 71.89 kB / 496.9 MB, free: 6.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1384, allocations: 68.18 MB / 0.5519 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.2666/0.4051, allocations: 14.56 MB / 0.5661 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008228/0.4134, allocations: 3.623 MB / 0.5696 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/0.4169, allocations: 30.72 kB / 0.5697 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.4187, allocations: 436.6 kB / 0.5701 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004892/0.4236, allocations: 1.236 MB / 0.5713 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003254/0.4269, allocations: 1.413 MB / 0.5727 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004673/0.4316, allocations: 3.755 MB / 0.5763 GB, free: 28.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.4327, allocations: 0.902 MB / 0.5772 GB, free: 27.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002385/0.4351, allocations: 1.556 MB / 0.5787 GB, free: 27.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.438, allocations: 1.988 MB / 0.5807 GB, free: 26.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006971/0.4387, allocations: 289.4 kB / 0.5809 GB, free: 26.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.4399, allocations: 447.5 kB / 0.5814 GB, free: 26.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005916/0.4405, allocations: 0.7733 MB / 0.5821 GB, free: 26.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.4419, allocations: 1.655 MB / 0.5837 GB, free: 25.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004173/0.4461, allocations: 3.969 MB / 0.5876 GB, free: 23.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.4461, allocations: 2.25 kB / 0.5876 GB, free: 23.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4461, allocations: 0 / 0.5876 GB, free: 23.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.778e-05/0.4462, allocations: 1.094 kB / 0.5876 GB, free: 23.39 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02609/0.4723, allocations: 6.647 MB / 0.5941 GB, free: 20.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.585e-05/0.4724, allocations: 10.28 kB / 0.5941 GB, free: 20.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01514/0.4875, allocations: 2.275 MB / 0.5963 GB, free: 20.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005042/0.4926, allocations: 1.9 MB / 0.5982 GB, free: 19.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007647/0.4934, allocations: 0.7274 MB / 0.5989 GB, free: 18.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007164/0.4942, allocations: 219 kB / 0.5991 GB, free: 18.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007121/0.5013, allocations: 3.043 MB / 0.6021 GB, free: 17.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/0.5013, allocations: 4 kB / 0.6021 GB, free: 17.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.5016, allocations: 89.72 kB / 0.6022 GB, free: 17.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/0.5016, allocations: 51.16 kB / 0.6022 GB, free: 17.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006429/0.5081, allocations: 2.794 MB / 0.605 GB, free: 16.23 MB / 430.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.02115/0.5293, allocations: 9.927 MB / 0.6146 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.54, allocations: 4.209 MB / 0.6188 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004294/0.5443, allocations: 1.976 MB / 0.6207 GB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003568/0.5447, allocations: 45.45 kB / 0.6207 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004504/0.5492, allocations: 2.243 MB / 0.6229 GB, free: 6.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.688e-06/0.5492, allocations: 0 / 0.6229 GB, free: 6.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1093/0.6585, allocations: 27.43 MB / 0.6497 GB, free: 10.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.6586, allocations: 180.2 kB / 0.6499 GB, free: 10.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004089/0.6627, allocations: 2.309 MB / 0.6521 GB, free: 8.168 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00101/0.6638, allocations: 77.69 kB / 0.6522 GB, free: 8.086 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008669/0.6646, allocations: 1.177 MB / 0.6534 GB, free: 6.898 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001264/0.6659, allocations: 0.882 MB / 0.6542 GB, free: 6.004 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.667, allocations: 0.5581 MB / 0.6548 GB, free: 5.438 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.6671, allocations: 301.1 kB / 0.6551 GB, free: 5.141 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004001/0.6711, allocations: 1.974 MB / 0.657 GB, free: 3.164 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004308/0.6755, allocations: 2.353 MB / 0.6593 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05457/0.73, allocations: 14.29 MB / 0.6732 GB, free: 2.219 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/0.7301, allocations: 4 kB / 0.6732 GB, free: 2.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.0411/0.7712, allocations: 12.55 MB / 0.6855 GB, free: 5.594 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.7714, allocations: 114.8 kB / 0.6856 GB, free: 5.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/0.7714, allocations: 8 kB / 0.6856 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01738/0.7888, allocations: 5.261 MB / 0.6907 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003393/0.7922, allocations: 0.5873 MB / 0.6913 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05698/0.8492, allocations: 23.2 MB / 0.714 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005255/0.8545, allocations: 489.1 kB / 0.7144 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000503/0.8551, allocations: 120 kB / 0.7146 GB, free: 7.629 MB / 0.5137 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.001547/0.8566, allocations: 0.5437 MB / 0.7151 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008262/0.8574, allocations: 300.3 kB / 0.7154 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03916/0.8966, allocations: 11.93 MB / 0.727 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-05/0.8967, allocations: 24 kB / 0.7271 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.284e-05/0.8967, allocations: 22.66 kB / 0.7271 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001018/0.8968, allocations: 11.95 kB / 0.7271 GB, free: 10.69 MB / 0.5294 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.04628/0.9431, allocations: 15.56 MB / 0.7423 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/0.9432, allocations: 4.062 kB / 0.7423 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/0.9451, allocations: 252.5 kB / 0.7425 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0185/0.9636, allocations: 5.301 MB / 0.7477 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009703/0.9647, allocations: 55.98 kB / 0.7477 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4003/1.365, allocations: 24.95 MB / 0.7721 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.365, allocations: 3.828 kB / 0.7721 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0453/1.41, allocations: 14.31 MB / 0.7861 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.412, allocations: 417.6 kB / 0.7865 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0017/1.414, allocations: 42.44 kB / 0.7865 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004313/1.418, allocations: 300 kB / 0.7868 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002721/1.421, allocations: 0.5824 MB / 0.7874 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004774/1.421, allocations: 69.22 kB / 0.7875 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002826/1.424, allocations: 1.527 MB / 0.7889 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/1.424, allocations: 0 / 0.7889 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005881/1.43, allocations: 1.18 MB / 0.7901 GB, free: 163.2 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.0007873/1.431, allocations: 175.7 kB / 0.7903 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02293/1.454, allocations: 6.758 MB / 0.7969 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.454, allocations: 0 / 0.7969 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01577/1.469, allocations: 4.446 MB / 0.8012 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003725/1.473, allocations: 262.9 kB / 0.8015 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/1.486, allocations: 6.558 MB / 0.8079 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001956/1.488, allocations: 1.814 MB / 0.8096 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001664/1.49, allocations: 261.4 kB / 0.8099 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006411/1.49, allocations: 177.3 kB / 0.8101 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/1.49, allocations: 0 / 0.8101 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.087/1.577, allocations: 61.29 MB / 0.8699 GB, free: 108.7 MB / 0.5606 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)