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.001645/0.001645, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.348/1.348, allocations: 222.9 MB / 240 MB, free: 4.574 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.001383/0.001383, allocations: 188.5 kB / 290.3 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5064/0.5064, allocations: 91.9 MB / 432.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 87.81 kB / 0.5033 GB, free: 7 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3155, allocations: 71.26 MB / 0.5729 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.009614/0.3251, allocations: 13.81 MB / 0.5864 GB, free: 27.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006595/0.3318, allocations: 3.509 MB / 0.5898 GB, free: 25.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.3341, allocations: 29.31 kB / 0.5898 GB, free: 25.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.3355, allocations: 0.5619 MB / 0.5904 GB, free: 24.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004062/0.3396, allocations: 1.434 MB / 0.5918 GB, free: 23.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.3428, allocations: 1.519 MB / 0.5933 GB, free: 23.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00487/0.3476, allocations: 3.78 MB / 0.597 GB, free: 21.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.3492, allocations: 0.9039 MB / 0.5978 GB, free: 20.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/0.3519, allocations: 1.541 MB / 0.5993 GB, free: 19.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002931/0.3549, allocations: 1.989 MB / 0.6013 GB, free: 19.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.3561, allocations: 290.9 kB / 0.6016 GB, free: 19.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.3577, allocations: 437.9 kB / 0.602 GB, free: 18.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005493/0.3582, allocations: 0.7677 MB / 0.6027 GB, free: 18.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001426/0.3597, allocations: 1.658 MB / 0.6043 GB, free: 17.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004003/0.3637, allocations: 4.022 MB / 0.6083 GB, free: 15.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3637, allocations: 1.031 kB / 0.6083 GB, free: 15.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3637, allocations: 0 / 0.6083 GB, free: 15.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001138/0.3638, allocations: 0 / 0.6083 GB, free: 15.47 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.02301/0.3869, allocations: 6.644 MB / 0.6148 GB, free: 12.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3869, allocations: 9.812 kB / 0.6148 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/0.4016, allocations: 2.278 MB / 0.617 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005124/0.4068, allocations: 1.892 MB / 0.6188 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007957/0.4076, allocations: 0.7305 MB / 0.6196 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001234/0.4089, allocations: 224 kB / 0.6198 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00787/0.4167, allocations: 3.046 MB / 0.6227 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.639e-05/0.4168, allocations: 0.7969 kB / 0.6227 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002676/0.4171, allocations: 89.06 kB / 0.6228 GB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.645e-05/0.4172, allocations: 50.42 kB / 0.6229 GB, free: 9.262 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005427/0.4226, allocations: 2.798 MB / 0.6256 GB, free: 7.961 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.01609/0.4387, allocations: 9.857 MB / 0.6352 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/0.4488, allocations: 4.203 MB / 0.6393 GB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0041/0.4529, allocations: 1.983 MB / 0.6413 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003042/0.4533, allocations: 41.95 kB / 0.6413 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004369/0.4576, allocations: 2.236 MB / 0.6435 GB, free: 5.258 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 4.027e-06/0.4577, allocations: 4 kB / 0.6435 GB, free: 5.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1095/0.5671, allocations: 27.42 MB / 0.6703 GB, free: 9.707 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.5673, allocations: 188.1 kB / 0.6705 GB, free: 9.484 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003735/0.571, allocations: 2.313 MB / 0.6727 GB, free: 7.152 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007265/0.5718, allocations: 73.7 kB / 0.6728 GB, free: 7.074 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009498/0.5727, allocations: 1.172 MB / 0.6739 GB, free: 5.891 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001313/0.5741, allocations: 0.882 MB / 0.6748 GB, free: 4.996 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001236/0.5753, allocations: 0.5619 MB / 0.6754 GB, free: 4.426 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.5754, allocations: 305.1 kB / 0.6756 GB, free: 4.125 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004276/0.5797, allocations: 1.97 MB / 0.6776 GB, free: 2.152 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004625/0.5843, allocations: 2.342 MB / 0.6799 GB, free: 15.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05487/0.6392, allocations: 14.24 MB / 0.6938 GB, free: 1.254 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/0.6393, allocations: 8 kB / 0.6938 GB, free: 1.246 MB / 494.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04015/0.6794, allocations: 12.55 MB / 0.706 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.702e-05/0.6796, allocations: 114.8 kB / 0.7061 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.6796, allocations: 8 kB / 0.7061 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01744/0.697, allocations: 5.257 MB / 0.7113 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003298/0.7004, allocations: 0.5851 MB / 0.7118 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05819/0.7586, allocations: 23.17 MB / 0.7345 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004759/0.7634, allocations: 493 kB / 0.7349 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004995/0.7639, allocations: 120 kB / 0.7351 GB, free: 6.688 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.001368/0.7653, allocations: 0.5448 MB / 0.7356 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007735/0.7661, allocations: 304.2 kB / 0.7359 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03792/0.804, allocations: 11.93 MB / 0.7475 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/0.8041, allocations: 24 kB / 0.7475 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.272e-05/0.8041, allocations: 20 kB / 0.7476 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.424e-05/0.8042, allocations: 11.95 kB / 0.7476 GB, free: 9.75 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.04434/0.8485, allocations: 15.56 MB / 0.7628 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.328e-05/0.8486, allocations: 0 / 0.7628 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/0.8503, allocations: 247.7 kB / 0.763 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01732/0.8676, allocations: 5.304 MB / 0.7682 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006762/0.8684, allocations: 47.98 kB / 0.7682 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2768/1.145, allocations: 24.92 MB / 0.7926 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.145, allocations: 1.062 kB / 0.7926 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04368/1.189, allocations: 14.32 MB / 0.8065 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.19, allocations: 409.3 kB / 0.8069 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001175/1.191, allocations: 47.62 kB / 0.807 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003546/1.195, allocations: 299.4 kB / 0.8073 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002357/1.197, allocations: 0.5847 MB / 0.8078 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005284/1.198, allocations: 72.3 kB / 0.8079 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002897/1.201, allocations: 1.529 MB / 0.8094 GB, free: 154 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.11e-07/1.201, allocations: 1.5 kB / 0.8094 GB, free: 154 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004851/1.206, allocations: 1.179 MB / 0.8106 GB, free: 153.9 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.0007763/1.206, allocations: 180.3 kB / 0.8107 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01684/1.223, allocations: 6.655 MB / 0.8172 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.223, allocations: 4.125 kB / 0.8172 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01234/1.236, allocations: 4.432 MB / 0.8216 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/1.24, allocations: 264.6 kB / 0.8218 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.25, allocations: 5.418 MB / 0.8271 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/1.252, allocations: 1.811 MB / 0.8289 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001334/1.253, allocations: 267.9 kB / 0.8291 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008174/1.254, allocations: 177.8 kB / 0.8293 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.603e-06/1.254, allocations: 0 / 0.8293 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.08701/1.341, allocations: 63.56 MB / 0.8914 GB, free: 78.32 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 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)