Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001397/0.001397, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.504/1.504, allocations: 222.9 MB / 238.8 MB, free: 4.719 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.001927/0.001927, allocations: 192.5 kB / 289.1 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5659/0.5659, allocations: 91.9 MB / 431.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 72.08 kB / 0.5012 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.459, allocations: 71.27 MB / 0.5708 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01133/0.4704, allocations: 14.59 MB / 0.585 GB, free: 27.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008712/0.4791, allocations: 3.657 MB / 0.5886 GB, free: 24.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003851/0.483, allocations: 32.81 kB / 0.5887 GB, free: 24.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.4857, allocations: 440.6 kB / 0.5891 GB, free: 24.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005957/0.4917, allocations: 1.258 MB / 0.5903 GB, free: 23.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004028/0.4957, allocations: 1.404 MB / 0.5917 GB, free: 22.69 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006195/0.5019, allocations: 3.577 MB / 0.5952 GB, free: 20.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.504, allocations: 0.8035 MB / 0.5959 GB, free: 20.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.507, allocations: 1.42 MB / 0.5973 GB, free: 19.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003379/0.5104, allocations: 1.884 MB / 0.5992 GB, free: 18.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001631/0.5121, allocations: 176.7 kB / 0.5993 GB, free: 18.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.5145, allocations: 316.7 kB / 0.5996 GB, free: 18.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.5161, allocations: 0.6662 MB / 0.6003 GB, free: 18.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003821/0.52, allocations: 1.537 MB / 0.6018 GB, free: 17.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006874/0.5269, allocations: 3.851 MB / 0.6056 GB, free: 15.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5269, allocations: 5.75 kB / 0.6056 GB, free: 15.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5269, allocations: 0 / 0.6056 GB, free: 15.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000257/0.5272, allocations: 0 / 0.6056 GB, free: 15.73 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.03298/0.5602, allocations: 6.649 MB / 0.6121 GB, free: 13.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.922e-05/0.5602, allocations: 14.06 kB / 0.6121 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/0.5769, allocations: 2.274 MB / 0.6143 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006721/0.5836, allocations: 1.888 MB / 0.6161 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009804/0.5846, allocations: 0.7269 MB / 0.6168 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001567/0.5862, allocations: 220.1 kB / 0.6171 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01211/0.5984, allocations: 3.042 MB / 0.62 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/0.5985, allocations: 1 kB / 0.62 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0011/0.5996, allocations: 89.23 kB / 0.6201 GB, free: 9.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-05/0.5998, allocations: 50.25 kB / 0.6202 GB, free: 9.535 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009419/0.6092, allocations: 2.793 MB / 0.6229 GB, free: 8.59 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.02564/0.6349, allocations: 9.945 MB / 0.6326 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01709/0.652, allocations: 4.211 MB / 0.6367 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006848/0.6589, allocations: 1.976 MB / 0.6386 GB, free: 8.629 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006023/0.6596, allocations: 37.97 kB / 0.6387 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008232/0.6678, allocations: 2.246 MB / 0.6409 GB, free: 6.324 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 9.117e-06/0.6679, allocations: 0 / 0.6409 GB, free: 6.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1307/0.7985, allocations: 27.43 MB / 0.6677 GB, free: 10.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.7987, allocations: 180.2 kB / 0.6678 GB, free: 10.56 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006098/0.8048, allocations: 2.313 MB / 0.6701 GB, free: 8.227 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001395/0.8063, allocations: 69.7 kB / 0.6702 GB, free: 8.152 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001396/0.8077, allocations: 1.18 MB / 0.6713 GB, free: 6.961 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002063/0.8098, allocations: 0.8819 MB / 0.6722 GB, free: 6.066 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003716/0.8135, allocations: 0.5658 MB / 0.6727 GB, free: 5.492 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.8137, allocations: 301.1 kB / 0.673 GB, free: 5.195 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005466/0.8192, allocations: 1.974 MB / 0.6749 GB, free: 3.219 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005954/0.8252, allocations: 2.346 MB / 0.6772 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06029/0.8855, allocations: 14.25 MB / 0.6911 GB, free: 2.297 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-05/0.8856, allocations: 0 / 0.6911 GB, free: 2.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04705/0.9326, allocations: 12.56 MB / 0.7034 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/0.9328, allocations: 110.8 kB / 0.7035 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.262e-05/0.9329, allocations: 8 kB / 0.7035 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0188/0.9517, allocations: 5.261 MB / 0.7087 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004122/0.9559, allocations: 0.5773 MB / 0.7092 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06317/1.019, allocations: 21.32 MB / 0.73 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00595/1.025, allocations: 493 kB / 0.7305 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/1.026, allocations: 120 kB / 0.7306 GB, free: 9.605 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.003561/1.03, allocations: 0.5437 MB / 0.7312 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001823/1.032, allocations: 296.3 kB / 0.7314 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04248/1.074, allocations: 11.93 MB / 0.7431 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.873e-05/1.075, allocations: 31.94 kB / 0.7431 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.009e-05/1.075, allocations: 16 kB / 0.7431 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.956e-05/1.075, allocations: 19.94 kB / 0.7432 GB, free: 12.66 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.05198/1.127, allocations: 15.55 MB / 0.7583 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.209e-05/1.127, allocations: 4 kB / 0.7583 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/1.129, allocations: 251.7 kB / 0.7586 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01878/1.147, allocations: 5.304 MB / 0.7638 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009315/1.148, allocations: 51.98 kB / 0.7638 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3812/1.53, allocations: 22.67 MB / 0.786 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.53, allocations: 3.906 kB / 0.786 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04989/1.58, allocations: 14.31 MB / 0.7999 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.581, allocations: 411.6 kB / 0.8003 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000993/1.582, allocations: 44.06 kB / 0.8004 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003522/1.586, allocations: 295.6 kB / 0.8006 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002619/1.588, allocations: 0.5653 MB / 0.8012 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003318/1.589, allocations: 65.05 kB / 0.8013 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00286/1.592, allocations: 1.536 MB / 0.8028 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.1e-07/1.592, allocations: 0 / 0.8028 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005459/1.597, allocations: 1.186 MB / 0.8039 GB, free: 156 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.0006775/1.598, allocations: 174.3 kB / 0.8041 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01883/1.617, allocations: 6.66 MB / 0.8106 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.617, allocations: 5.359 kB / 0.8106 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01362/1.63, allocations: 4.423 MB / 0.8149 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005707/1.636, allocations: 264 kB / 0.8152 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/1.651, allocations: 6.569 MB / 0.8216 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.652, allocations: 1.822 MB / 0.8234 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001369/1.653, allocations: 259.3 kB / 0.8236 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005739/1.654, allocations: 167 kB / 0.8238 GB, free: 145 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/1.654, allocations: 0 / 0.8238 GB, free: 145 MB / 0.5606 GB Notification: Performance of Templates: time 0.08222/1.736, allocations: 58.03 MB / 0.8804 GB, free: 88.31 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)