Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 117 kB / 16.37 MB, free: 6.012 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.362/1.362, allocations: 222.9 MB / 240 MB, free: 4.516 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.00146/0.00146, allocations: 192.3 kB / 290.3 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.474/0.474, allocations: 78.54 MB / 419 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 87.84 kB / 498.9 MB, free: 5.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.156, allocations: 68.17 MB / 0.5538 GB, free: 1.453 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.2787/0.4347, allocations: 6.651 MB / 0.5603 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003842/0.4386, allocations: 1.988 MB / 0.5622 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007249/0.4394, allocations: 13 kB / 0.5622 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006999/0.4401, allocations: 242.1 kB / 0.5625 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.4419, allocations: 0.8032 MB / 0.5632 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.4431, allocations: 0.6407 MB / 0.5639 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001535/0.4447, allocations: 1.645 MB / 0.5655 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004306/0.4451, allocations: 326.1 kB / 0.5658 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008767/0.446, allocations: 0.673 MB / 0.5664 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008613/0.4469, allocations: 0.8586 MB / 0.5673 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.4471, allocations: 128.3 kB / 0.5674 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005041/0.4476, allocations: 267.4 kB / 0.5677 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.4478, allocations: 343.3 kB / 0.568 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000487/0.4483, allocations: 0.6846 MB / 0.5687 GB, free: 34.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.4497, allocations: 1.711 MB / 0.5703 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4497, allocations: 0.9375 kB / 0.5703 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4497, allocations: 0 / 0.5703 GB, free: 33.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.489e-05/0.4497, allocations: 3.656 kB / 0.5703 GB, free: 33.62 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.00848/0.4582, allocations: 2.744 MB / 0.573 GB, free: 32.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4583, allocations: 9.531 kB / 0.573 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004743/0.463, allocations: 0.7797 MB / 0.5738 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.4646, allocations: 0.9128 MB / 0.5747 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.4648, allocations: 265.1 kB / 0.5749 GB, free: 31.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.465, allocations: 90.52 kB / 0.575 GB, free: 31.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.4669, allocations: 1.099 MB / 0.5761 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.4669, allocations: 4.547 kB / 0.5761 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.056e-05/0.467, allocations: 30.19 kB / 0.5761 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.467, allocations: 21 kB / 0.5761 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.4688, allocations: 0.9938 MB / 0.5771 GB, free: 31.84 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.006187/0.475, allocations: 3.859 MB / 0.5809 GB, free: 29.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006555/0.4816, allocations: 2.387 MB / 0.5832 GB, free: 29.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.483, allocations: 0.6845 MB / 0.5839 GB, free: 28.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.4831, allocations: 19.03 kB / 0.5839 GB, free: 28.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001551/0.4847, allocations: 0.8377 MB / 0.5847 GB, free: 28.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.647e-06/0.4847, allocations: 0 / 0.5847 GB, free: 28.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02738/0.5121, allocations: 7.209 MB / 0.5918 GB, free: 27.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.5122, allocations: 119.1 kB / 0.5919 GB, free: 26.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.5142, allocations: 1.124 MB / 0.593 GB, free: 26.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002449/0.5144, allocations: 45.92 kB / 0.593 GB, free: 26.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.5148, allocations: 0.5003 MB / 0.5935 GB, free: 26.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/0.5151, allocations: 361.5 kB / 0.5938 GB, free: 25.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005496/0.5157, allocations: 294.5 kB / 0.5941 GB, free: 25.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.5158, allocations: 301.6 kB / 0.5944 GB, free: 25.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.5173, allocations: 0.7809 MB / 0.5952 GB, free: 25.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.519, allocations: 0.9523 MB / 0.5961 GB, free: 24.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0237/0.5427, allocations: 5.799 MB / 0.6018 GB, free: 22.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.5428, allocations: 1.531 kB / 0.6018 GB, free: 22.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01348/0.5562, allocations: 4.448 MB / 0.6061 GB, free: 21.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.368e-05/0.5564, allocations: 71.12 kB / 0.6062 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.5564, allocations: 3.078 kB / 0.6062 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005624/0.562, allocations: 1.631 MB / 0.6078 GB, free: 20.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.5636, allocations: 288.1 kB / 0.6081 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/0.5812, allocations: 8.599 MB / 0.6164 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.5832, allocations: 206.6 kB / 0.6166 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.5834, allocations: 65.22 kB / 0.6167 GB, free: 13.71 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 2 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005676/0.584, allocations: 302.2 kB / 0.617 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.5842, allocations: 123.1 kB / 0.6171 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/0.5948, allocations: 3.912 MB / 0.6209 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.5948, allocations: 12 kB / 0.6209 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.5948, allocations: 4 kB / 0.6209 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.5949, allocations: 5.016 kB / 0.621 GB, free: 9.32 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 postOpt removeSimpleEquations (simulation): time 0.01232/0.6072, allocations: 5.511 MB / 0.6263 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.6073, allocations: 5.969 kB / 0.6263 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/0.6079, allocations: 103.8 kB / 0.6264 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004713/0.6126, allocations: 1.592 MB / 0.628 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.6128, allocations: 20 kB / 0.628 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01866/0.6315, allocations: 9.646 MB / 0.6374 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.6315, allocations: 0 / 0.6374 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/0.6451, allocations: 4.782 MB / 0.6421 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006351/0.6458, allocations: 231.2 kB / 0.6423 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.646, allocations: 23.94 kB / 0.6423 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.6472, allocations: 116.8 kB / 0.6425 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005782/0.6478, allocations: 189.4 kB / 0.6426 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-05/0.6479, allocations: 28 kB / 0.6427 GB, free: 2.621 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001042/0.6489, allocations: 0.7553 MB / 0.6434 GB, free: 1.859 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6489, allocations: 4 kB / 0.6434 GB, free: 1.855 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001488/0.6504, allocations: 487.5 kB / 0.6439 GB, free: 1.379 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002878/0.6507, allocations: 135.1 kB / 0.644 GB, free: 1.238 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006102/0.6568, allocations: 2.599 MB / 0.6465 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6568, allocations: 3.938 kB / 0.6465 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00385/0.6607, allocations: 1.584 MB / 0.6481 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.6617, allocations: 125.8 kB / 0.6482 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/0.6657, allocations: 2.345 MB / 0.6505 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/0.6664, allocations: 1.128 MB / 0.6516 GB, free: 9.367 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000434/0.6668, allocations: 116.3 kB / 0.6517 GB, free: 9.254 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.6671, allocations: 87.41 kB / 0.6518 GB, free: 9.168 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6671, allocations: 0 / 0.6518 GB, free: 9.168 MB / 462.1 MB Notification: Performance of Templates: time 0.0396/0.7067, allocations: 24.18 MB / 0.6754 GB, free: 1.219 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)