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.001112/0.001112, allocations: 115 kB / 16.37 MB, free: 6.016 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.408/1.408, allocations: 222.9 MB / 240 MB, free: 4.402 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.00124/0.00124, allocations: 196.5 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4927/0.4927, allocations: 78.53 MB / 419 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 79.88 kB / 498.9 MB, free: 5.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1713, allocations: 68.17 MB / 0.5538 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.3314/0.5028, allocations: 13.77 MB / 0.5672 GB, free: 30.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009699/0.5126, allocations: 3.495 MB / 0.5706 GB, free: 29.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003865/0.5165, allocations: 33.16 kB / 0.5707 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.5185, allocations: 0.5608 MB / 0.5712 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006149/0.5247, allocations: 1.423 MB / 0.5726 GB, free: 28.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003825/0.5285, allocations: 1.519 MB / 0.5741 GB, free: 28.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005939/0.5345, allocations: 3.782 MB / 0.5778 GB, free: 27.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.5359, allocations: 0.8923 MB / 0.5787 GB, free: 27.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00257/0.5385, allocations: 1.55 MB / 0.5802 GB, free: 26.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002366/0.5408, allocations: 1.981 MB / 0.5821 GB, free: 26.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005636/0.5414, allocations: 290.2 kB / 0.5824 GB, free: 26.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.5425, allocations: 441.5 kB / 0.5828 GB, free: 26.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005704/0.543, allocations: 0.7814 MB / 0.5836 GB, free: 25.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.5444, allocations: 1.647 MB / 0.5852 GB, free: 24.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003863/0.5483, allocations: 4.016 MB / 0.5891 GB, free: 23.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5483, allocations: 0 / 0.5891 GB, free: 23.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.5483, allocations: 0.6562 kB / 0.5891 GB, free: 23.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.56e-05/0.5484, allocations: 0.5312 kB / 0.5891 GB, free: 23.01 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.02579/0.5742, allocations: 6.651 MB / 0.5956 GB, free: 20.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.5743, allocations: 9.25 kB / 0.5956 GB, free: 20.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/0.5893, allocations: 2.274 MB / 0.5978 GB, free: 19.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005559/0.5949, allocations: 1.906 MB / 0.5997 GB, free: 18.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007135/0.5956, allocations: 0.7197 MB / 0.6004 GB, free: 18.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007395/0.5964, allocations: 220.6 kB / 0.6006 GB, free: 18.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006862/0.6033, allocations: 3.046 MB / 0.6036 GB, free: 16.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.365e-05/0.6033, allocations: 1.375 kB / 0.6036 GB, free: 16.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/0.6036, allocations: 89.42 kB / 0.6037 GB, free: 16.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.105e-05/0.6036, allocations: 49.5 kB / 0.6037 GB, free: 16.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006162/0.6098, allocations: 2.793 MB / 0.6064 GB, free: 15.86 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.02127/0.6311, allocations: 9.87 MB / 0.6161 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.6418, allocations: 4.207 MB / 0.6202 GB, free: 8.145 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004361/0.6462, allocations: 1.979 MB / 0.6221 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/0.6466, allocations: 37.47 kB / 0.6222 GB, free: 7.117 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004554/0.6511, allocations: 2.248 MB / 0.6243 GB, free: 5.738 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 5.04e-06/0.6512, allocations: 0 / 0.6243 GB, free: 5.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.108/0.7591, allocations: 27.42 MB / 0.6511 GB, free: 10.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.7593, allocations: 188.2 kB / 0.6513 GB, free: 9.973 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004843/0.7642, allocations: 2.309 MB / 0.6536 GB, free: 7.645 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001084/0.7653, allocations: 69.7 kB / 0.6536 GB, free: 7.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.7664, allocations: 1.184 MB / 0.6548 GB, free: 6.375 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001468/0.7678, allocations: 0.878 MB / 0.6556 GB, free: 5.484 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00117/0.769, allocations: 0.5659 MB / 0.6562 GB, free: 4.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.7691, allocations: 301.1 kB / 0.6565 GB, free: 4.613 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004041/0.7732, allocations: 1.971 MB / 0.6584 GB, free: 2.641 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004264/0.7775, allocations: 2.345 MB / 0.6607 GB, free: 212 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05339/0.8309, allocations: 14.24 MB / 0.6746 GB, free: 1.781 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.8309, allocations: 0 / 0.6746 GB, free: 1.781 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.03961/0.8705, allocations: 12.55 MB / 0.6868 GB, free: 5.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.8707, allocations: 114.8 kB / 0.687 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/0.8707, allocations: 4 kB / 0.687 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01711/0.8878, allocations: 5.27 MB / 0.6921 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003594/0.8915, allocations: 0.5773 MB / 0.6927 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05696/0.9485, allocations: 23.17 MB / 0.7153 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005692/0.9542, allocations: 493.1 kB / 0.7158 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007504/0.955, allocations: 116 kB / 0.7159 GB, free: 7.23 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.001721/0.9567, allocations: 0.5555 MB / 0.7164 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/0.9578, allocations: 304.3 kB / 0.7167 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03758/0.9954, allocations: 11.93 MB / 0.7284 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.965e-05/0.9955, allocations: 28 kB / 0.7284 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.984e-05/0.9955, allocations: 16 kB / 0.7284 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.904e-05/0.9956, allocations: 15.95 kB / 0.7284 GB, free: 10.28 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.04576/1.041, allocations: 15.54 MB / 0.7436 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.767e-05/1.041, allocations: 0 / 0.7436 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/1.043, allocations: 247.6 kB / 0.7438 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01705/1.06, allocations: 5.304 MB / 0.749 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008693/1.061, allocations: 51.98 kB / 0.7491 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3974/1.459, allocations: 24.91 MB / 0.7734 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.459, allocations: 5 kB / 0.7734 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04197/1.501, allocations: 14.31 MB / 0.7874 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/1.502, allocations: 418.5 kB / 0.7878 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008393/1.503, allocations: 50.62 kB / 0.7878 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003047/1.506, allocations: 301.6 kB / 0.7881 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002556/1.509, allocations: 0.5842 MB / 0.7887 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002706/1.509, allocations: 64.08 kB / 0.7887 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002989/1.512, allocations: 1.534 MB / 0.7902 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/1.512, allocations: 0 / 0.7902 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004935/1.517, allocations: 1.175 MB / 0.7914 GB, free: 162.1 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.0005728/1.517, allocations: 179 kB / 0.7916 GB, free: 162 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01863/1.536, allocations: 6.652 MB / 0.7981 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.536, allocations: 0 / 0.7981 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0153/1.551, allocations: 4.44 MB / 0.8024 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/1.556, allocations: 265.7 kB / 0.8026 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/1.568, allocations: 5.415 MB / 0.8079 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002069/1.57, allocations: 1.816 MB / 0.8097 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001563/1.572, allocations: 269.3 kB / 0.81 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007062/1.572, allocations: 172.5 kB / 0.8101 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.543e-06/1.572, allocations: 0 / 0.8101 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.09136/1.664, allocations: 63.57 MB / 0.8722 GB, free: 107.1 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 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)