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.0008808/0.0008808, allocations: 99.11 kB / 16.02 MB, free: 76 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.455/1.455, allocations: 223.3 MB / 240 MB, free: 5.301 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.001276/0.001276, allocations: 176.5 kB / 291.3 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5578/0.5578, allocations: 91.93 MB / 434.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003808, allocations: 8.281 kB / 0.5054 GB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.409, allocations: 72.47 MB / 0.5762 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.009592/0.4186, allocations: 13.93 MB / 0.5898 GB, free: 26.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008038/0.4267, allocations: 3.625 MB / 0.5933 GB, free: 24.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003511/0.4302, allocations: 31.88 kB / 0.5934 GB, free: 24.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.4322, allocations: 436.8 kB / 0.5938 GB, free: 24.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005752/0.4379, allocations: 1.238 MB / 0.595 GB, free: 23.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003846/0.4418, allocations: 1.411 MB / 0.5964 GB, free: 22.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006111/0.4479, allocations: 3.574 MB / 0.5998 GB, free: 20.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.4494, allocations: 0.7957 MB / 0.6006 GB, free: 20.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002824/0.4522, allocations: 1.342 MB / 0.6019 GB, free: 19.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003011/0.4553, allocations: 1.81 MB / 0.6037 GB, free: 18.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.4564, allocations: 147.6 kB / 0.6038 GB, free: 18.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.4581, allocations: 274.9 kB / 0.6041 GB, free: 18.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006085/0.4587, allocations: 0.617 MB / 0.6047 GB, free: 18.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001788/0.4605, allocations: 1.509 MB / 0.6062 GB, free: 17.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00357/0.4641, allocations: 2.982 MB / 0.6091 GB, free: 16.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4641, allocations: 0 / 0.6091 GB, free: 16.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4641, allocations: 0 / 0.6091 GB, free: 16.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001483/0.4643, allocations: 1.281 kB / 0.6091 GB, free: 16.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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02447/0.4888, allocations: 6.19 MB / 0.6151 GB, free: 14.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.4888, allocations: 10.72 kB / 0.6151 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0163/0.5051, allocations: 2.299 MB / 0.6174 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005452/0.5106, allocations: 1.899 MB / 0.6192 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007674/0.5114, allocations: 0.7542 MB / 0.62 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009892/0.5124, allocations: 216 kB / 0.6202 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008881/0.5213, allocations: 3.24 MB / 0.6234 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.986e-05/0.5214, allocations: 4.469 kB / 0.6234 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003053/0.5217, allocations: 90.38 kB / 0.6234 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/0.5218, allocations: 49.56 kB / 0.6235 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007473/0.5293, allocations: 2.996 MB / 0.6264 GB, free: 9.562 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.01915/0.5484, allocations: 10.19 MB / 0.6364 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01268/0.5611, allocations: 4.891 MB / 0.6411 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005338/0.5665, allocations: 2.171 MB / 0.6433 GB, free: 8.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003051/0.5669, allocations: 45.95 kB / 0.6433 GB, free: 8.207 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005657/0.5725, allocations: 2.443 MB / 0.6457 GB, free: 5.738 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 5.631e-06/0.5726, allocations: 0 / 0.6457 GB, free: 5.738 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1337/0.7063, allocations: 33.63 MB / 0.6785 GB, free: 3.984 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.7064, allocations: 180.2 kB / 0.6787 GB, free: 3.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004879/0.7113, allocations: 2.317 MB / 0.681 GB, free: 1.434 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009597/0.7123, allocations: 77.69 kB / 0.681 GB, free: 1.352 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.7135, allocations: 1.18 MB / 0.6822 GB, free: 164 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001763/0.7153, allocations: 0.8741 MB / 0.683 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.7165, allocations: 288.6 kB / 0.6833 GB, free: 14.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.7167, allocations: 313.1 kB / 0.6836 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00579/0.7225, allocations: 2.166 MB / 0.6857 GB, free: 12.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006085/0.7286, allocations: 2.545 MB / 0.6882 GB, free: 9.871 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06227/0.7909, allocations: 15.68 MB / 0.7035 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-05/0.7909, allocations: 4 kB / 0.7035 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.05105/0.842, allocations: 15.36 MB / 0.7185 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.8422, allocations: 118.8 kB / 0.7187 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.8422, allocations: 4 kB / 0.7187 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02102/0.8632, allocations: 6.234 MB / 0.7247 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003587/0.8669, allocations: 0.5929 MB / 0.7253 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07099/0.9379, allocations: 24.5 MB / 0.7493 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00589/0.9438, allocations: 0.5946 MB / 0.7498 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/0.945, allocations: 120 kB / 0.7499 GB, free: 10.16 MB / 0.545 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.002893/0.9479, allocations: 0.526 MB / 0.7505 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001592/0.9495, allocations: 300.2 kB / 0.7507 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05042/0.9999, allocations: 14.77 MB / 0.7652 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.752e-05/1, allocations: 27.94 kB / 0.7652 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.732e-05/1, allocations: 20 kB / 0.7652 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.915e-05/1, allocations: 15.95 kB / 0.7652 GB, free: 10.39 MB / 0.5606 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.3699/1.37, allocations: 18.4 MB / 0.7832 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.427e-05/1.37, allocations: 1.312 kB / 0.7832 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/1.372, allocations: 247.1 kB / 0.7834 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02154/1.394, allocations: 6.29 MB / 0.7896 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009722/1.395, allocations: 57.23 kB / 0.7896 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06761/1.462, allocations: 25.53 MB / 0.8146 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.462, allocations: 0 / 0.8146 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0486/1.511, allocations: 17.36 MB / 0.8315 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/1.512, allocations: 423.9 kB / 0.8319 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009982/1.513, allocations: 44 kB / 0.832 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003675/1.517, allocations: 409 kB / 0.8324 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002281/1.519, allocations: 0.5662 MB / 0.8329 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/1.519, allocations: 67.84 kB / 0.833 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002174/1.522, allocations: 1.532 MB / 0.8345 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/1.522, allocations: 0 / 0.8345 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004226/1.526, allocations: 1.184 MB / 0.8356 GB, free: 137.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.0005066/1.526, allocations: 177.9 kB / 0.8358 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01922/1.546, allocations: 7.547 MB / 0.8432 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/1.546, allocations: 1.75 kB / 0.8432 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0146/1.56, allocations: 5.109 MB / 0.8482 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004103/1.564, allocations: 260.8 kB / 0.8484 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/1.576, allocations: 6.762 MB / 0.855 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.577, allocations: 1.818 MB / 0.8568 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.578, allocations: 179.4 kB / 0.857 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.02e-07/1.578, allocations: 0 / 0.857 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.06834/1.646, allocations: 63.95 MB / 0.9194 GB, free: 52.46 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)