Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 239.5 MB, free: 4.738 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.001327/0.001327, allocations: 192.4 kB / 289.8 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5275/0.5275, allocations: 91.9 MB / 431.8 MB, free: 9.453 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 75.88 kB / 0.5018 GB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4278, allocations: 71.27 MB / 0.5714 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01082/0.4387, allocations: 14.51 MB / 0.5856 GB, free: 26.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007758/0.4465, allocations: 3.635 MB / 0.5892 GB, free: 24.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004373/0.4509, allocations: 41.38 kB / 0.5892 GB, free: 24.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.453, allocations: 426.9 kB / 0.5896 GB, free: 23.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005393/0.4584, allocations: 1.219 MB / 0.5908 GB, free: 23.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003541/0.4619, allocations: 1.415 MB / 0.5922 GB, free: 22.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005895/0.4679, allocations: 3.529 MB / 0.5956 GB, free: 20.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.4697, allocations: 0.7932 MB / 0.5964 GB, free: 20.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.4727, allocations: 1.399 MB / 0.5978 GB, free: 19.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003402/0.4761, allocations: 1.862 MB / 0.5996 GB, free: 18.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.4776, allocations: 172.9 kB / 0.5998 GB, free: 18.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.4799, allocations: 309.7 kB / 0.6 GB, free: 18.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001711/0.4816, allocations: 0.6512 MB / 0.6007 GB, free: 18.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004157/0.4858, allocations: 1.525 MB / 0.6022 GB, free: 17.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005023/0.4909, allocations: 3.02 MB / 0.6051 GB, free: 16.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4909, allocations: 1.25 kB / 0.6051 GB, free: 16.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4909, allocations: 0 / 0.6051 GB, free: 16.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002119/0.4911, allocations: 4 kB / 0.6051 GB, free: 16.02 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02649/0.5176, allocations: 6.576 MB / 0.6115 GB, free: 13.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.5177, allocations: 9.969 kB / 0.6116 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01541/0.5331, allocations: 2.277 MB / 0.6138 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004991/0.5382, allocations: 1.868 MB / 0.6156 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006946/0.5389, allocations: 0.7263 MB / 0.6163 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008273/0.5397, allocations: 216.5 kB / 0.6165 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007386/0.5471, allocations: 3.036 MB / 0.6195 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.103e-05/0.5472, allocations: 0 / 0.6195 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002635/0.5475, allocations: 90.53 kB / 0.6196 GB, free: 9.844 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.744e-05/0.5475, allocations: 49.72 kB / 0.6196 GB, free: 9.844 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006448/0.554, allocations: 2.783 MB / 0.6223 GB, free: 8.902 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.01934/0.5733, allocations: 9.917 MB / 0.632 GB, free: 68 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.5839, allocations: 4.188 MB / 0.6361 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004471/0.5884, allocations: 1.964 MB / 0.638 GB, free: 9.773 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003817/0.5889, allocations: 45.95 kB / 0.6381 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005052/0.5939, allocations: 2.228 MB / 0.6403 GB, free: 7.477 MB / 446.1 MB Notification: Performance of pre-optimization done (n=248): time 6.803e-06/0.5939, allocations: 0 / 0.6403 GB, free: 7.477 MB / 446.1 MB Notification: Performance of matching and sorting (n=248): time 0.1185/0.7125, allocations: 28.18 MB / 0.6678 GB, free: 11.17 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.7126, allocations: 184.2 kB / 0.6679 GB, free: 10.95 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003977/0.7166, allocations: 2.269 MB / 0.6702 GB, free: 8.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00105/0.7177, allocations: 77.64 kB / 0.6702 GB, free: 8.578 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.7187, allocations: 1.16 MB / 0.6714 GB, free: 7.406 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001614/0.7204, allocations: 0.8782 MB / 0.6722 GB, free: 6.516 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001226/0.7216, allocations: 0.5618 MB / 0.6728 GB, free: 5.945 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.7217, allocations: 301.1 kB / 0.6731 GB, free: 5.648 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004456/0.7262, allocations: 1.951 MB / 0.675 GB, free: 3.695 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005189/0.7314, allocations: 2.326 MB / 0.6772 GB, free: 1.277 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05562/0.787, allocations: 14.03 MB / 0.6909 GB, free: 3.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/0.7871, allocations: 4 kB / 0.6909 GB, free: 3.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04175/0.8289, allocations: 12.51 MB / 0.7032 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.8291, allocations: 126.8 kB / 0.7033 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/0.8291, allocations: 4 kB / 0.7033 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01813/0.8472, allocations: 5.284 MB / 0.7084 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003342/0.8506, allocations: 0.5695 MB / 0.709 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05638/0.907, allocations: 21.31 MB / 0.7298 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005147/0.9122, allocations: 489.1 kB / 0.7303 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006922/0.913, allocations: 116 kB / 0.7304 GB, free: 10.35 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_1.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 (330): * Single equations (assignments): 325 * 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.9145, allocations: 0.5318 MB / 0.7309 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009044/0.9154, allocations: 296.3 kB / 0.7312 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03871/0.9542, allocations: 11.91 MB / 0.7428 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.304e-05/0.9542, allocations: 27.94 kB / 0.7428 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.833e-05/0.9543, allocations: 20 kB / 0.7429 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.678e-05/0.9544, allocations: 11.95 kB / 0.7429 GB, free: 13.49 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.04449/0.9989, allocations: 15.5 MB / 0.758 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/0.9989, allocations: 4 kB / 0.758 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.001, allocations: 247.6 kB / 0.7583 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01737/1.018, allocations: 5.247 MB / 0.7634 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008522/1.019, allocations: 55.98 kB / 0.7634 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3485/1.367, allocations: 22.68 MB / 0.7856 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.368, allocations: 7.562 kB / 0.7856 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04982/1.417, allocations: 14.26 MB / 0.7995 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/1.419, allocations: 409.6 kB / 0.7999 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009557/1.42, allocations: 44.69 kB / 0.7999 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003368/1.423, allocations: 296.8 kB / 0.8002 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002502/1.426, allocations: 0.5746 MB / 0.8008 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003091/1.426, allocations: 64.83 kB / 0.8009 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002851/1.429, allocations: 1.499 MB / 0.8023 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/1.429, allocations: 4.625 kB / 0.8023 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005128/1.434, allocations: 1.17 MB / 0.8035 GB, free: 156.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,23,7.8%)} * 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.0006244/1.435, allocations: 178.5 kB / 0.8036 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01932/1.454, allocations: 6.626 MB / 0.8101 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.454, allocations: 0 / 0.8101 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01378/1.468, allocations: 4.379 MB / 0.8144 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/1.471, allocations: 263.8 kB / 0.8146 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/1.483, allocations: 6.536 MB / 0.821 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/1.484, allocations: 1.805 MB / 0.8228 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/1.485, allocations: 174.9 kB / 0.8229 GB, free: 146 MB / 0.5606 GB Notification: Performance of SimCode: time 1.253e-06/1.485, allocations: 0 / 0.8229 GB, free: 146 MB / 0.5606 GB Notification: Performance of Templates: time 0.08488/1.57, allocations: 63.74 MB / 0.8852 GB, free: 83.88 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)