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.001316/0.001316, allocations: 108 kB / 15.6 MB, free: 132 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.326/1.326, allocations: 222.9 MB / 239.2 MB, free: 4.566 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.001557/0.001557, allocations: 188.5 kB / 289.5 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4671/0.4671, allocations: 78.52 MB / 418.2 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 79.88 kB / 497.4 MB, free: 6.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1464, allocations: 68.18 MB / 0.5524 GB, free: 2.199 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.2972/0.4437, allocations: 6.651 MB / 0.5589 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00514/0.4489, allocations: 1.986 MB / 0.5608 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007553/0.4497, allocations: 11.47 kB / 0.5608 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009969/0.4508, allocations: 242.5 kB / 0.561 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.4534, allocations: 0.813 MB / 0.5618 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.4551, allocations: 0.63 MB / 0.5624 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002769/0.4579, allocations: 1.629 MB / 0.564 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006892/0.4586, allocations: 327.6 kB / 0.5643 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.4597, allocations: 0.6732 MB / 0.565 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009359/0.4606, allocations: 0.864 MB / 0.5658 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002661/0.4609, allocations: 131 kB / 0.566 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006845/0.4616, allocations: 261.4 kB / 0.5662 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000397/0.462, allocations: 340.6 kB / 0.5665 GB, free: 34.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007942/0.4628, allocations: 0.6938 MB / 0.5672 GB, free: 34.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.4648, allocations: 1.685 MB / 0.5689 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.4648, allocations: 0 / 0.5689 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.59e-05/0.4648, allocations: 0 / 0.5689 GB, free: 33.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.4648, allocations: 1.969 kB / 0.5689 GB, free: 33.7 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.008931/0.4738, allocations: 2.748 MB / 0.5716 GB, free: 32.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4738, allocations: 8.719 kB / 0.5716 GB, free: 32.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004653/0.4785, allocations: 0.7822 MB / 0.5723 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.48, allocations: 0.914 MB / 0.5732 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.4802, allocations: 259 kB / 0.5735 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.4804, allocations: 89.72 kB / 0.5736 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.4823, allocations: 1.098 MB / 0.5746 GB, free: 31.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.4823, allocations: 3.938 kB / 0.5746 GB, free: 31.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.4824, allocations: 35.12 kB / 0.5747 GB, free: 31.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.4824, allocations: 17.94 kB / 0.5747 GB, free: 31.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.4842, allocations: 0.998 MB / 0.5757 GB, free: 31.91 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.006118/0.4904, allocations: 3.885 MB / 0.5794 GB, free: 30.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006851/0.4972, allocations: 2.374 MB / 0.5818 GB, free: 29.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.4988, allocations: 0.69 MB / 0.5824 GB, free: 28.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.4989, allocations: 19.2 kB / 0.5825 GB, free: 28.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001613/0.5005, allocations: 0.8329 MB / 0.5833 GB, free: 28.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.346e-06/0.5005, allocations: 0.9062 kB / 0.5833 GB, free: 28.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02912/0.5297, allocations: 7.213 MB / 0.5903 GB, free: 27.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.5298, allocations: 114.4 kB / 0.5904 GB, free: 27.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.5316, allocations: 1.124 MB / 0.5915 GB, free: 26.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002394/0.5319, allocations: 51.08 kB / 0.5916 GB, free: 26.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.5322, allocations: 0.4955 MB / 0.5921 GB, free: 26.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/0.5326, allocations: 362.5 kB / 0.5924 GB, free: 25.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005412/0.5331, allocations: 293 kB / 0.5927 GB, free: 25.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.726e-05/0.5332, allocations: 302 kB / 0.593 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.5348, allocations: 0.7807 MB / 0.5937 GB, free: 25.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.5366, allocations: 0.9561 MB / 0.5947 GB, free: 24.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0254/0.562, allocations: 5.819 MB / 0.6003 GB, free: 22.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.562, allocations: 1.375 kB / 0.6004 GB, free: 22.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01594/0.578, allocations: 4.444 MB / 0.6047 GB, free: 21.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.5781, allocations: 64.05 kB / 0.6048 GB, free: 21.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.5781, allocations: 4 kB / 0.6048 GB, free: 21.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005941/0.5841, allocations: 1.643 MB / 0.6064 GB, free: 20.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.5856, allocations: 291.9 kB / 0.6066 GB, free: 20.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01947/0.6051, allocations: 8.603 MB / 0.615 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/0.6076, allocations: 207.1 kB / 0.6152 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003957/0.608, allocations: 63.91 kB / 0.6153 GB, free: 14.2 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.001179/0.6092, allocations: 312.2 kB / 0.6156 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004999/0.6097, allocations: 126.4 kB / 0.6157 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.6215, allocations: 3.906 MB / 0.6195 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.6215, allocations: 12.88 kB / 0.6195 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.261e-05/0.6215, allocations: 9.031 kB / 0.6196 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.6216, allocations: 3.984 kB / 0.6196 GB, free: 9.797 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.01382/0.6354, allocations: 5.516 MB / 0.6249 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.6355, allocations: 0 / 0.6249 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/0.6361, allocations: 103.8 kB / 0.625 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005067/0.6412, allocations: 1.591 MB / 0.6266 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001982/0.6414, allocations: 20 kB / 0.6266 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02019/0.6616, allocations: 9.664 MB / 0.6361 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6617, allocations: 0 / 0.6361 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/0.6765, allocations: 4.772 MB / 0.6407 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005942/0.6772, allocations: 227.2 kB / 0.6409 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004585/0.6777, allocations: 30.38 kB / 0.641 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/0.6792, allocations: 107.9 kB / 0.6411 GB, free: 3.312 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006626/0.6798, allocations: 193.7 kB / 0.6412 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.68, allocations: 31.98 kB / 0.6413 GB, free: 3.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001351/0.6813, allocations: 0.7592 MB / 0.642 GB, free: 2.324 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6814, allocations: 0 / 0.642 GB, free: 2.324 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001847/0.6832, allocations: 491.5 kB / 0.6425 GB, free: 1.844 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.0003506/0.6836, allocations: 132.9 kB / 0.6426 GB, free: 1.707 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007337/0.6909, allocations: 2.636 MB / 0.6452 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6909, allocations: 0 / 0.6452 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004358/0.6953, allocations: 1.58 MB / 0.6467 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.6968, allocations: 118.5 kB / 0.6468 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.7016, allocations: 2.381 MB / 0.6492 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007567/0.7024, allocations: 1.132 MB / 0.6503 GB, free: 9.781 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005446/0.703, allocations: 124.6 kB / 0.6504 GB, free: 9.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.7033, allocations: 79.41 kB / 0.6505 GB, free: 9.582 MB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/0.7033, allocations: 0 / 0.6505 GB, free: 9.582 MB / 462.1 MB Notification: Performance of Templates: time 0.04002/0.7433, allocations: 24.16 MB / 0.6741 GB, free: 1.637 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)