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.0008993/0.0008994, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.424/1.424, allocations: 223.3 MB / 239.4 MB, free: 5.414 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.00117/0.00117, allocations: 172.5 kB / 290.6 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5074/0.5074, allocations: 78.55 MB / 420.3 MB, free: 4.219 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004024, allocations: 12 kB / 0.4887 GB, free: 6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1636, allocations: 69.36 MB / 0.5564 GB, free: 0.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.319/0.4826, allocations: 13.89 MB / 0.57 GB, free: 30.78 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00874/0.4914, allocations: 3.603 MB / 0.5735 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002992/0.4945, allocations: 30.59 kB / 0.5735 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.4963, allocations: 438.8 kB / 0.5739 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005177/0.5015, allocations: 1.231 MB / 0.5751 GB, free: 28.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003767/0.5053, allocations: 1.411 MB / 0.5765 GB, free: 28.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005173/0.5104, allocations: 3.574 MB / 0.58 GB, free: 27.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.5123, allocations: 0.7949 MB / 0.5808 GB, free: 27.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003447/0.5158, allocations: 1.344 MB / 0.5821 GB, free: 27.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003757/0.5195, allocations: 1.81 MB / 0.5839 GB, free: 26.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001539/0.5211, allocations: 143.2 kB / 0.584 GB, free: 26.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.5233, allocations: 280.9 kB / 0.5843 GB, free: 26.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.5248, allocations: 0.6168 MB / 0.5849 GB, free: 26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.5267, allocations: 1.504 MB / 0.5863 GB, free: 25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003162/0.5298, allocations: 3.752 MB / 0.59 GB, free: 23.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5299, allocations: 0 / 0.59 GB, free: 23.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.145e-06/0.5299, allocations: 0 / 0.59 GB, free: 23.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.793e-05/0.53, allocations: 7.938 kB / 0.59 GB, free: 23.57 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.0224/0.5524, allocations: 6.183 MB / 0.596 GB, free: 21.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.5524, allocations: 9.5 kB / 0.5961 GB, free: 21.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01582/0.5683, allocations: 2.299 MB / 0.5983 GB, free: 20.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004604/0.5729, allocations: 1.899 MB / 0.6002 GB, free: 19.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007531/0.5737, allocations: 0.7549 MB / 0.6009 GB, free: 19.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005317/0.5742, allocations: 217 kB / 0.6011 GB, free: 18.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007487/0.5817, allocations: 3.245 MB / 0.6043 GB, free: 17.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.5818, allocations: 3.938 kB / 0.6043 GB, free: 17.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002658/0.5821, allocations: 89.42 kB / 0.6044 GB, free: 17.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.516e-05/0.5821, allocations: 50.16 kB / 0.6044 GB, free: 17.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007286/0.5894, allocations: 2.99 MB / 0.6073 GB, free: 16.75 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.02252/0.612, allocations: 10.19 MB / 0.6173 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01324/0.6253, allocations: 4.882 MB / 0.622 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00502/0.6303, allocations: 2.18 MB / 0.6242 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.6306, allocations: 45.95 kB / 0.6242 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004638/0.6353, allocations: 2.439 MB / 0.6266 GB, free: 5.375 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.157e-06/0.6353, allocations: 0 / 0.6266 GB, free: 5.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1275/0.7628, allocations: 33.64 MB / 0.6594 GB, free: 3.613 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.763, allocations: 184.3 kB / 0.6596 GB, free: 3.395 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004395/0.7674, allocations: 2.317 MB / 0.6619 GB, free: 1.059 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001117/0.7685, allocations: 73.69 kB / 0.662 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.7696, allocations: 1.172 MB / 0.6631 GB, free: 15.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001308/0.7709, allocations: 0.8781 MB / 0.664 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000459/0.7713, allocations: 292.6 kB / 0.6642 GB, free: 14.61 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.7715, allocations: 305.1 kB / 0.6645 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004861/0.7763, allocations: 2.173 MB / 0.6667 GB, free: 12.14 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005211/0.7816, allocations: 2.54 MB / 0.6691 GB, free: 9.508 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06024/0.8418, allocations: 15.69 MB / 0.6844 GB, free: 9.605 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/0.8419, allocations: 4 kB / 0.6845 GB, free: 9.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04788/0.8898, allocations: 15.37 MB / 0.6995 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.89, allocations: 120.3 kB / 0.6996 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/0.8901, allocations: 8 kB / 0.6996 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01995/0.91, allocations: 6.234 MB / 0.7057 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00358/0.9136, allocations: 0.5825 MB / 0.7062 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06213/0.9758, allocations: 24.51 MB / 0.7302 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005699/0.9815, allocations: 0.5869 MB / 0.7307 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000654/0.9822, allocations: 116.7 kB / 0.7309 GB, free: 9.82 MB / 0.5294 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.001709/0.984, allocations: 0.5359 MB / 0.7314 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009229/0.9849, allocations: 304.2 kB / 0.7317 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04628/1.031, allocations: 14.77 MB / 0.7461 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.443e-05/1.031, allocations: 32.5 kB / 0.7461 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.309e-05/1.031, allocations: 16 kB / 0.7461 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.657e-05/1.031, allocations: 11.95 kB / 0.7462 GB, free: 10.04 MB / 0.545 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.05219/1.084, allocations: 18.41 MB / 0.7641 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.491e-05/1.084, allocations: 0.5625 kB / 0.7641 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/1.085, allocations: 251.6 kB / 0.7644 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02001/1.106, allocations: 6.281 MB / 0.7705 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009432/1.107, allocations: 55.98 kB / 0.7706 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3925/1.499, allocations: 25.52 MB / 0.7955 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.499, allocations: 1.125 kB / 0.7955 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05841/1.558, allocations: 17.36 MB / 0.8124 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/1.559, allocations: 419.5 kB / 0.8128 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001116/1.56, allocations: 44.11 kB / 0.8129 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003972/1.564, allocations: 412.6 kB / 0.8133 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002566/1.567, allocations: 0.5638 MB / 0.8138 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002509/1.567, allocations: 66.98 kB / 0.8139 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003109/1.57, allocations: 1.53 MB / 0.8154 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.7e-07/1.57, allocations: 5.312 kB / 0.8154 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005335/1.576, allocations: 1.183 MB / 0.8165 GB, free: 159.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.0005695/1.576, allocations: 172.5 kB / 0.8167 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02059/1.597, allocations: 7.542 MB / 0.8241 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/1.597, allocations: 4 kB / 0.8241 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0146/1.612, allocations: 5.126 MB / 0.8291 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003564/1.615, allocations: 267.2 kB / 0.8293 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009907/1.625, allocations: 6.7 MB / 0.8359 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.626, allocations: 1.816 MB / 0.8376 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00135/1.628, allocations: 264.6 kB / 0.8379 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005755/1.628, allocations: 160.3 kB / 0.8381 GB, free: 143 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/1.628, allocations: 0 / 0.8381 GB, free: 143 MB / 0.5606 GB Notification: Performance of Templates: time 0.07925/1.708, allocations: 56.73 MB / 0.8934 GB, free: 87.97 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: