Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009527/0.0009527, allocations: 174.6 kB / 15.42 MB, free: 6.207 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.332/1.332, allocations: 222.9 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000774/0.0007739, allocations: 88.19 kB / 289.8 MB, free: 4.527 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3218/0.3218, allocations: 78.44 MB / 419 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003688, allocations: 12 kB / 498.4 MB, free: 35.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3763, allocations: 68.74 MB / 0.5539 GB, free: 10.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.008551/0.3849, allocations: 6.705 MB / 0.5604 GB, free: 6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004127/0.3891, allocations: 1.907 MB / 0.5623 GB, free: 4.633 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.3903, allocations: 12.44 kB / 0.5623 GB, free: 4.633 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000634/0.391, allocations: 165.3 kB / 0.5625 GB, free: 4.566 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002027/0.393, allocations: 0.6366 MB / 0.5631 GB, free: 4.141 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.395, allocations: 0.559 MB / 0.5636 GB, free: 3.828 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00257/0.3976, allocations: 1.331 MB / 0.5649 GB, free: 3.176 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005574/0.3981, allocations: 300.7 kB / 0.5652 GB, free: 3.023 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.3992, allocations: 0.5086 MB / 0.5657 GB, free: 2.789 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008636/0.4, allocations: 0.6539 MB / 0.5663 GB, free: 2.484 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.4002, allocations: 51.38 kB / 0.5664 GB, free: 2.484 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006177/0.4008, allocations: 184.2 kB / 0.5666 GB, free: 2.441 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.4011, allocations: 221.5 kB / 0.5668 GB, free: 2.309 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005088/0.4016, allocations: 0.5608 MB / 0.5673 GB, free: 1.941 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.4035, allocations: 1.414 MB / 0.5687 GB, free: 1.387 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4035, allocations: 0 / 0.5687 GB, free: 1.387 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.4035, allocations: 0 / 0.5687 GB, free: 1.387 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.801e-05/0.4036, allocations: 3.938 kB / 0.5687 GB, free: 1.383 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.008868/0.4124, allocations: 2.302 MB / 0.571 GB, free: 360 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.4125, allocations: 14.72 kB / 0.571 GB, free: 356 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005666/0.4182, allocations: 0.7691 MB / 0.5717 GB, free: 208 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.4201, allocations: 0.7642 MB / 0.5725 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003399/0.4204, allocations: 258.2 kB / 0.5727 GB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.4206, allocations: 75.25 kB / 0.5728 GB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.4233, allocations: 1.075 MB / 0.5738 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.4234, allocations: 3.938 kB / 0.5738 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-05/0.4235, allocations: 30.56 kB / 0.5739 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.4235, allocations: 18.41 kB / 0.5739 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002814/0.4263, allocations: 1.118 MB / 0.575 GB, free: 14.65 MB / 394.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.00671/0.433, allocations: 3.452 MB / 0.5784 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.4353, allocations: 1.407 MB / 0.5797 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.4369, allocations: 0.783 MB / 0.5805 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.4371, allocations: 15.23 kB / 0.5805 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.4371, allocations: 44.06 kB / 0.5806 GB, free: 10.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.186e-06/0.4371, allocations: 0 / 0.5806 GB, free: 10.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.02666/0.4638, allocations: 6.751 MB / 0.5871 GB, free: 7.305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.4639, allocations: 62.12 kB / 0.5872 GB, free: 7.238 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.4653, allocations: 0.8871 MB / 0.5881 GB, free: 6.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002547/0.4655, allocations: 45.7 kB / 0.5881 GB, free: 6.684 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.4659, allocations: 494.8 kB / 0.5886 GB, free: 6.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003876/0.4663, allocations: 341.4 kB / 0.5889 GB, free: 5.953 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.4665, allocations: 102.8 kB / 0.589 GB, free: 5.883 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4666, allocations: 347.2 kB / 0.5893 GB, free: 5.547 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.4683, allocations: 0.7141 MB / 0.59 GB, free: 5.191 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.47, allocations: 0.8447 MB / 0.5909 GB, free: 4.707 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01803/0.488, allocations: 4.772 MB / 0.5955 GB, free: 260 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.4881, allocations: 0 / 0.5955 GB, free: 260 kB / 394.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01334/0.5014, allocations: 4.25 MB / 0.5997 GB, free: 11.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.5015, allocations: 8 kB / 0.5997 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.5015, allocations: 0 / 0.5997 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005972/0.5075, allocations: 1.87 MB / 0.6015 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.5087, allocations: 215.6 kB / 0.6017 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/0.5277, allocations: 8.36 MB / 0.6099 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.5294, allocations: 178.9 kB / 0.61 GB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.5296, allocations: 43.92 kB / 0.6101 GB, free: 1.18 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0005838/0.5302, allocations: 229.7 kB / 0.6103 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.5304, allocations: 122.4 kB / 0.6104 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/0.5427, allocations: 4.002 MB / 0.6143 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.5428, allocations: 19.97 kB / 0.6144 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5428, allocations: 0 / 0.6144 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/0.5428, allocations: 3.984 kB / 0.6144 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/0.5581, allocations: 5.621 MB / 0.6198 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.5582, allocations: 0 / 0.6198 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007682/0.559, allocations: 131.8 kB / 0.62 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005585/0.5646, allocations: 1.738 MB / 0.6217 GB, free: 5.148 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000186/0.5648, allocations: 19.98 kB / 0.6217 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/0.5824, allocations: 7.354 MB / 0.6289 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.5825, allocations: 3.938 kB / 0.6289 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/0.5979, allocations: 4.966 MB / 0.6337 GB, free: 8.645 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005518/0.5985, allocations: 207.4 kB / 0.6339 GB, free: 8.422 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004032/0.5989, allocations: 20 kB / 0.6339 GB, free: 8.402 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.6002, allocations: 107.9 kB / 0.634 GB, free: 8.297 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000814/0.6011, allocations: 212.6 kB / 0.6342 GB, free: 8.086 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.6012, allocations: 28 kB / 0.6343 GB, free: 8.059 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001041/0.6022, allocations: 0.5926 MB / 0.6349 GB, free: 7.457 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6023, allocations: 0 / 0.6349 GB, free: 7.457 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001857/0.6041, allocations: 431.5 kB / 0.6353 GB, free: 7.035 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003459/0.6045, allocations: 131.1 kB / 0.6354 GB, free: 6.895 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006876/0.6114, allocations: 2.42 MB / 0.6378 GB, free: 4.465 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6114, allocations: 0 / 0.6378 GB, free: 4.465 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004725/0.6161, allocations: 1.545 MB / 0.6393 GB, free: 2.906 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.6175, allocations: 92.28 kB / 0.6393 GB, free: 2.816 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.6218, allocations: 2.366 MB / 0.6417 GB, free: 432 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007426/0.6225, allocations: 1.088 MB / 0.6427 GB, free: 15.31 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004423/0.623, allocations: 86.69 kB / 0.6428 GB, free: 15.22 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.6233, allocations: 63.42 kB / 0.6429 GB, free: 15.16 MB / 458.7 MB Notification: Performance of SimCode: time 1.312e-06/0.6233, allocations: 0 / 0.6429 GB, free: 15.16 MB / 458.7 MB Notification: Performance of Templates: time 0.0338/0.6571, allocations: 20.38 MB / 0.6628 GB, free: 10.79 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)