Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006911/0.006911, allocations: 169.9 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.3 MB / 239.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008297/0.0008298, allocations: 103.2 kB / 290.3 MB, free: 13.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4619/0.4619, allocations: 78.61 MB / 420 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003718, allocations: 12 kB / 499.9 MB, free: 2.926 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3474, allocations: 69.35 MB / 0.5559 GB, free: 38.77 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.005217/0.3527, allocations: 5.951 MB / 0.5617 GB, free: 37.5 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003362/0.3561, allocations: 1.898 MB / 0.5636 GB, free: 36.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004942/0.3566, allocations: 11.28 kB / 0.5636 GB, free: 36.16 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.3571, allocations: 170.8 kB / 0.5637 GB, free: 36.08 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.3586, allocations: 0.6627 MB / 0.5644 GB, free: 35.65 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.3597, allocations: 0.5151 MB / 0.5649 GB, free: 35.4 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.3609, allocations: 1.406 MB / 0.5663 GB, free: 34.69 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003986/0.3613, allocations: 264.5 kB / 0.5665 GB, free: 34.57 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006838/0.362, allocations: 0.5611 MB / 0.5671 GB, free: 34.33 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006957/0.3627, allocations: 0.723 MB / 0.5678 GB, free: 34.02 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.3629, allocations: 59.88 kB / 0.5678 GB, free: 34.02 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.3633, allocations: 188.3 kB / 0.568 GB, free: 33.98 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.3635, allocations: 257.8 kB / 0.5682 GB, free: 33.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.3637, allocations: 225.9 kB / 0.5685 GB, free: 33.69 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008009/0.3645, allocations: 1.221 MB / 0.5697 GB, free: 33.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3645, allocations: 3.938 kB / 0.5697 GB, free: 33.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3645, allocations: 2.719 kB / 0.5697 GB, free: 33.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.3646, allocations: 4 kB / 0.5697 GB, free: 33.32 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007597/0.3722, allocations: 2.501 MB / 0.5721 GB, free: 32.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3722, allocations: 15.12 kB / 0.5721 GB, free: 32.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004855/0.3771, allocations: 0.783 MB / 0.5729 GB, free: 32.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.3785, allocations: 0.8484 MB / 0.5737 GB, free: 31.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.3787, allocations: 273.4 kB / 0.574 GB, free: 31.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.3789, allocations: 77.91 kB / 0.5741 GB, free: 31.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.3808, allocations: 1.137 MB / 0.5752 GB, free: 30.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3808, allocations: 0 / 0.5752 GB, free: 30.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-05/0.3809, allocations: 29.69 kB / 0.5752 GB, free: 30.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.381, allocations: 24.23 kB / 0.5752 GB, free: 30.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.3829, allocations: 1.049 MB / 0.5762 GB, free: 30.45 MB / 426.7 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.005692/0.3886, allocations: 3.893 MB / 0.58 GB, free: 28.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00749/0.3961, allocations: 2.911 MB / 0.5829 GB, free: 27.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.3973, allocations: 0.735 MB / 0.5836 GB, free: 27.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.583e-05/0.3974, allocations: 18.67 kB / 0.5836 GB, free: 27.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00144/0.3989, allocations: 0.8702 MB / 0.5845 GB, free: 26.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=95): time 2.354e-06/0.3989, allocations: 0 / 0.5845 GB, free: 26.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.02999/0.4289, allocations: 8.761 MB / 0.593 GB, free: 25.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.429, allocations: 113.4 kB / 0.5931 GB, free: 25.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.4305, allocations: 1.081 MB / 0.5942 GB, free: 24.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000171/0.4307, allocations: 50.47 kB / 0.5942 GB, free: 24.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.431, allocations: 490.2 kB / 0.5947 GB, free: 24.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.4313, allocations: 350.8 kB / 0.595 GB, free: 23.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.975e-05/0.4314, allocations: 34.16 kB / 0.5951 GB, free: 23.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.4315, allocations: 363.8 kB / 0.5954 GB, free: 23.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.433, allocations: 0.811 MB / 0.5962 GB, free: 23.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.4347, allocations: 0.9858 MB / 0.5972 GB, free: 22.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.4364, allocations: 0.9476 MB / 0.5981 GB, free: 22.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.4364, allocations: 1.344 kB / 0.5981 GB, free: 22.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01495/0.4513, allocations: 5.136 MB / 0.6031 GB, free: 21.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.4514, allocations: 63.44 kB / 0.6032 GB, free: 21.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.4514, allocations: 6.406 kB / 0.6032 GB, free: 21.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006669/0.4581, allocations: 1.904 MB / 0.605 GB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.4597, allocations: 297.6 kB / 0.6053 GB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0195/0.4792, allocations: 9.063 MB / 0.6142 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.4811, allocations: 234.7 kB / 0.6144 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.4812, allocations: 60.12 kB / 0.6145 GB, free: 13.81 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3.e1q:VARIABLE(start = order3.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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004862/0.4817, allocations: 313.8 kB / 0.6148 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.4819, allocations: 126.4 kB / 0.6149 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/0.4946, allocations: 4.709 MB / 0.6195 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.4947, allocations: 8 kB / 0.6195 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.4947, allocations: 11.95 kB / 0.6195 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.4947, allocations: 7.984 kB / 0.6195 GB, free: 8.602 MB / 426.7 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.01417/0.5089, allocations: 6.291 MB / 0.6256 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.5089, allocations: 0 / 0.6256 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.5095, allocations: 99.83 kB / 0.6257 GB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005605/0.5151, allocations: 1.887 MB / 0.6276 GB, free: 216 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.5152, allocations: 16 kB / 0.6276 GB, free: 200 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0203/0.5355, allocations: 9.675 MB / 0.637 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5356, allocations: 0 / 0.637 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01601/0.5516, allocations: 5.639 MB / 0.6426 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004604/0.5521, allocations: 219.4 kB / 0.6428 GB, free: 336 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.5523, allocations: 24.06 kB / 0.6428 GB, free: 312 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.5535, allocations: 147.9 kB / 0.6429 GB, free: 164 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005267/0.554, allocations: 188.7 kB / 0.6431 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.412e-05/0.5541, allocations: 28 kB / 0.6431 GB, free: 15.94 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001064/0.5552, allocations: 0.7236 MB / 0.6438 GB, free: 15.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5552, allocations: 0 / 0.6438 GB, free: 15.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001374/0.5566, allocations: 479.5 kB / 0.6443 GB, free: 14.74 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002598/0.5568, allocations: 136.8 kB / 0.6444 GB, free: 14.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006493/0.5633, allocations: 2.762 MB / 0.6471 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.5634, allocations: 4.125 kB / 0.6471 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004582/0.568, allocations: 1.802 MB / 0.6489 GB, free: 9.961 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009916/0.569, allocations: 119.1 kB / 0.649 GB, free: 9.848 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/0.5728, allocations: 2.593 MB / 0.6515 GB, free: 7.234 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.5735, allocations: 1.116 MB / 0.6526 GB, free: 6.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004446/0.5739, allocations: 120 kB / 0.6527 GB, free: 5.969 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.5742, allocations: 75.42 kB / 0.6528 GB, free: 5.895 MB / 458.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5742, allocations: 0 / 0.6528 GB, free: 5.895 MB / 458.7 MB Notification: Performance of Templates: time 0.03219/0.6064, allocations: 21.34 MB / 0.6736 GB, free: 0.5859 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)