Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001006, allocations: 175.4 kB / 16.12 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.4 MB / 222.3 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008065/0.0008066, allocations: 101.1 kB / 270.6 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2795/0.2795, allocations: 42.29 MB / 361.2 MB, free: 49.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004104, allocations: 12 kB / 429.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1026, allocations: 57.55 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2794/0.382, allocations: 91.77 MB / 0.5652 GB, free: 12 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.3823, allocations: 81.72 kB / 0.5653 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05704/0.4394, allocations: 22.14 MB / 0.5869 GB, free: 9.672 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4394, allocations: 0 / 0.5869 GB, free: 9.672 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.134e-05/0.4395, allocations: 16 kB / 0.5869 GB, free: 9.656 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00451/0.444, allocations: 1.744 MB / 0.5886 GB, free: 7.859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.444, allocations: 8.031 kB / 0.5886 GB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003118/0.4472, allocations: 0.5448 MB / 0.5891 GB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.4486, allocations: 0.7089 MB / 0.5898 GB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.4489, allocations: 259.4 kB / 0.5901 GB, free: 6.273 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.4491, allocations: 60 kB / 0.5901 GB, free: 6.215 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.4511, allocations: 1.014 MB / 0.5911 GB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4511, allocations: 0 / 0.5911 GB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.4512, allocations: 24 kB / 0.5912 GB, free: 5.168 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.4513, allocations: 16 kB / 0.5912 GB, free: 5.152 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.4534, allocations: 1.059 MB / 0.5922 GB, free: 4.094 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005641/0.459, allocations: 3.206 MB / 0.5953 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.4611, allocations: 1.367 MB / 0.5967 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.4627, allocations: 0.7724 MB / 0.5974 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.082e-05/0.4628, allocations: 8.656 kB / 0.5974 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.4628, allocations: 47.22 kB / 0.5975 GB, free: 14.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 2.916e-06/0.4628, allocations: 0 / 0.5975 GB, free: 14.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.02516/0.488, allocations: 7.803 MB / 0.6051 GB, free: 6.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.4881, allocations: 60.06 kB / 0.6052 GB, free: 6.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.4891, allocations: 0.7517 MB / 0.6059 GB, free: 5.734 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.4893, allocations: 41.69 kB / 0.6059 GB, free: 5.688 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/0.4896, allocations: 438.6 kB / 0.6063 GB, free: 5.258 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/0.49, allocations: 283.8 kB / 0.6066 GB, free: 4.977 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.4901, allocations: 16 kB / 0.6066 GB, free: 4.961 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4902, allocations: 334 kB / 0.6069 GB, free: 4.629 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.4916, allocations: 0.6227 MB / 0.6076 GB, free: 4.004 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.493, allocations: 0.7336 MB / 0.6083 GB, free: 3.238 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0132/0.5062, allocations: 4.212 MB / 0.6124 GB, free: 14.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.5063, allocations: 4 kB / 0.6124 GB, free: 14.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01316/0.5194, allocations: 4.678 MB / 0.617 GB, free: 10.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.5195, allocations: 8 kB / 0.617 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.5195, allocations: 4 kB / 0.617 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006508/0.526, allocations: 2.172 MB / 0.6191 GB, free: 8.109 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005925/0.5266, allocations: 115.8 kB / 0.6192 GB, free: 7.996 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02048/0.5471, allocations: 9.35 MB / 0.6283 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.5483, allocations: 171.3 kB / 0.6285 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.094e-05/0.5484, allocations: 24 kB / 0.6285 GB, free: 14.32 MB / 458.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004644/0.5489, allocations: 221.6 kB / 0.6287 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.5491, allocations: 102.7 kB / 0.6288 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/0.5627, allocations: 4.743 MB / 0.6335 GB, free: 9.23 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.5627, allocations: 8 kB / 0.6335 GB, free: 9.223 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5627, allocations: 0 / 0.6335 GB, free: 9.223 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/0.5628, allocations: 7.984 kB / 0.6335 GB, free: 9.215 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.5785, allocations: 6.21 MB / 0.6395 GB, free: 2.863 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.5785, allocations: 4 kB / 0.6395 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/0.5791, allocations: 99.83 kB / 0.6396 GB, free: 2.762 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00608/0.5852, allocations: 2.062 MB / 0.6417 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/0.5854, allocations: 12 kB / 0.6417 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01813/0.6036, allocations: 8.21 MB / 0.6497 GB, free: 8.332 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6036, allocations: 3.938 kB / 0.6497 GB, free: 8.328 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/0.6186, allocations: 5.649 MB / 0.6552 GB, free: 2.652 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000499/0.6192, allocations: 191.7 kB / 0.6554 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/0.6196, allocations: 19.94 kB / 0.6554 GB, free: 2.426 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.6208, allocations: 128 kB / 0.6555 GB, free: 2.301 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007028/0.6215, allocations: 200.6 kB / 0.6557 GB, free: 2.105 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.6216, allocations: 20 kB / 0.6557 GB, free: 2.086 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000876/0.6225, allocations: 0.5224 MB / 0.6562 GB, free: 1.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6226, allocations: 4 kB / 0.6562 GB, free: 1.566 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001743/0.6243, allocations: 383.5 kB / 0.6566 GB, free: 1.191 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003033/0.6246, allocations: 144.3 kB / 0.6568 GB, free: 1.043 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006019/0.6306, allocations: 2.401 MB / 0.6591 GB, free: 14.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6307, allocations: 0.5625 kB / 0.6591 GB, free: 14.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004399/0.6351, allocations: 1.681 MB / 0.6607 GB, free: 12.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008348/0.6359, allocations: 79.81 kB / 0.6608 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.6392, allocations: 1.943 MB / 0.6627 GB, free: 10.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.6398, allocations: 1.025 MB / 0.6637 GB, free: 9.848 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002641/0.6401, allocations: 57.14 kB / 0.6638 GB, free: 9.793 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.6403, allocations: 51.42 kB / 0.6638 GB, free: 9.742 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6403, allocations: 0 / 0.6638 GB, free: 9.742 MB / 490.7 MB Notification: Performance of Templates: time 0.2092/0.8495, allocations: 18.37 MB / 0.6818 GB, free: 127.9 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe 2>&1)