Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.432/1.432, allocations: 223.3 MB / 239.4 MB, free: 5.531 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.001625/0.001625, allocations: 187.4 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5063/0.5063, allocations: 78.54 MB / 420.3 MB, free: 4.273 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.0004167, allocations: 8 kB / 0.4887 GB, free: 6.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1689, allocations: 69.37 MB / 0.5564 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.3254/0.4944, allocations: 13.94 MB / 0.57 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009911/0.5043, allocations: 3.618 MB / 0.5736 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004544/0.5089, allocations: 33.47 kB / 0.5736 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002912/0.5119, allocations: 439.6 kB / 0.574 GB, free: 29.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008336/0.5203, allocations: 1.238 MB / 0.5752 GB, free: 28.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005051/0.5253, allocations: 1.421 MB / 0.5766 GB, free: 28.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007334/0.5327, allocations: 3.601 MB / 0.5801 GB, free: 27.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.5348, allocations: 0.7947 MB / 0.5809 GB, free: 27.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00311/0.538, allocations: 1.358 MB / 0.5822 GB, free: 26.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004334/0.5423, allocations: 1.809 MB / 0.584 GB, free: 26.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002677/0.5451, allocations: 143.8 kB / 0.5841 GB, free: 26.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003865/0.549, allocations: 290.2 kB / 0.5844 GB, free: 26.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00232/0.5513, allocations: 0.6216 MB / 0.585 GB, free: 25.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003632/0.555, allocations: 1.51 MB / 0.5865 GB, free: 24.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005841/0.5608, allocations: 3.782 MB / 0.5902 GB, free: 23.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.5609, allocations: 0 / 0.5902 GB, free: 23.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5609, allocations: 4 kB / 0.5902 GB, free: 23.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001515/0.561, allocations: 0 / 0.5902 GB, free: 23.49 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02397/0.585, allocations: 6.219 MB / 0.5962 GB, free: 21.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.5851, allocations: 12.36 kB / 0.5963 GB, free: 21.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01676/0.6019, allocations: 2.298 MB / 0.5985 GB, free: 20.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00699/0.6089, allocations: 1.908 MB / 0.6004 GB, free: 19.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001206/0.6101, allocations: 0.7547 MB / 0.6011 GB, free: 18.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001694/0.6119, allocations: 220.4 kB / 0.6013 GB, free: 18.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/0.6249, allocations: 3.251 MB / 0.6045 GB, free: 17.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/0.625, allocations: 3.938 kB / 0.6045 GB, free: 17.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/0.6261, allocations: 91.64 kB / 0.6046 GB, free: 17.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.605e-05/0.6262, allocations: 50.91 kB / 0.6046 GB, free: 17.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00962/0.6358, allocations: 2.997 MB / 0.6076 GB, free: 16.65 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.03023/0.6661, allocations: 10.23 MB / 0.6175 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01473/0.6808, allocations: 4.901 MB / 0.6223 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005953/0.6869, allocations: 2.188 MB / 0.6245 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005761/0.6875, allocations: 45.95 kB / 0.6245 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00597/0.6935, allocations: 2.452 MB / 0.6269 GB, free: 5.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 9.969e-06/0.6935, allocations: 3.938 kB / 0.6269 GB, free: 5.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.1376/0.8311, allocations: 35.56 MB / 0.6616 GB, free: 1.477 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.8313, allocations: 188.2 kB / 0.6618 GB, free: 1.254 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00537/0.8367, allocations: 2.329 MB / 0.6641 GB, free: 14.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001165/0.8379, allocations: 69.7 kB / 0.6642 GB, free: 14.83 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.8392, allocations: 1.18 MB / 0.6653 GB, free: 13.64 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002035/0.8413, allocations: 0.8897 MB / 0.6662 GB, free: 12.74 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.8425, allocations: 288.7 kB / 0.6665 GB, free: 12.45 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.8427, allocations: 302.7 kB / 0.6667 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005807/0.8485, allocations: 2.193 MB / 0.6689 GB, free: 9.957 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005947/0.8545, allocations: 2.561 MB / 0.6714 GB, free: 7.305 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06211/0.9166, allocations: 15.81 MB / 0.6868 GB, free: 7.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.488e-05/0.9167, allocations: 3.938 kB / 0.6868 GB, free: 7.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.05243/0.9691, allocations: 15.42 MB / 0.7019 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.9693, allocations: 118.8 kB / 0.702 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/0.9693, allocations: 12 kB / 0.702 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0215/0.9908, allocations: 6.418 MB / 0.7083 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003533/0.9944, allocations: 0.5773 MB / 0.7088 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06875/1.063, allocations: 24.93 MB / 0.7332 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005603/1.069, allocations: 0.5909 MB / 0.7338 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009165/1.07, allocations: 120 kB / 0.7339 GB, free: 6.836 MB / 0.5294 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 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 (336): * Single equations (assignments): 331 * 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,27)} Notification: Performance of prepare postOptimizeDAE: time 0.002352/1.072, allocations: 0.5413 MB / 0.7344 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/1.073, allocations: 300.2 kB / 0.7347 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04693/1.12, allocations: 14.79 MB / 0.7492 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.689e-05/1.12, allocations: 24 kB / 0.7492 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.72e-05/1.121, allocations: 25.44 kB / 0.7492 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.24e-05/1.121, allocations: 11.95 kB / 0.7492 GB, free: 7.027 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.05509/1.176, allocations: 18.43 MB / 0.7672 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/1.176, allocations: 0 / 0.7672 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/1.178, allocations: 247.6 kB / 0.7674 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.305/1.483, allocations: 6.267 MB / 0.7736 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009374/1.484, allocations: 50.39 kB / 0.7736 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06011/1.544, allocations: 25.52 MB / 0.7985 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/1.544, allocations: 6.938 kB / 0.7985 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0616/1.605, allocations: 17.38 MB / 0.8155 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/1.607, allocations: 420.6 kB / 0.8159 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008199/1.608, allocations: 53.77 kB / 0.816 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003455/1.611, allocations: 409.8 kB / 0.8164 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002211/1.613, allocations: 0.5675 MB / 0.8169 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002768/1.614, allocations: 63.27 kB / 0.817 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002298/1.616, allocations: 1.546 MB / 0.8185 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.81e-07/1.616, allocations: 0 / 0.8185 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003608/1.62, allocations: 1.191 MB / 0.8196 GB, free: 152.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,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 (159): * Single equations (assignments): 154 * 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.0004454/1.62, allocations: 182 kB / 0.8198 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01853/1.638, allocations: 7.576 MB / 0.8272 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.639, allocations: 4.25 kB / 0.8272 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01423/1.653, allocations: 5.117 MB / 0.8322 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/1.656, allocations: 267.1 kB / 0.8325 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009286/1.665, allocations: 6.775 MB / 0.8391 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/1.666, allocations: 1.829 MB / 0.8409 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001303/1.668, allocations: 267.3 kB / 0.8411 GB, free: 138 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005681/1.668, allocations: 161.8 kB / 0.8413 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/1.668, allocations: 4 kB / 0.8413 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.07885/1.747, allocations: 58.63 MB / 0.8986 GB, free: 83.07 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: