Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001431/0.001431, allocations: 170.2 kB / 16.11 MB, free: 5.582 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.834/1.834, allocations: 205.4 MB / 222.3 MB, free: 13.61 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.0008062/0.000806, allocations: 86.3 kB / 270.6 MB, free: 13.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.1672/0.1672, allocations: 42.31 MB / 361.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003937, allocations: 12.91 kB / 429.4 MB, free: 21.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.09345, allocations: 57.55 MB / 487 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2948/0.3883, allocations: 91.77 MB / 0.5652 GB, free: 12.26 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.3885, allocations: 80.52 kB / 0.5652 GB, free: 12.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06056/0.4491, allocations: 22.15 MB / 0.5869 GB, free: 9.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4491, allocations: 0 / 0.5869 GB, free: 9.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.132e-05/0.4492, allocations: 16.44 kB / 0.5869 GB, free: 9.504 MB / 394.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.005406/0.4546, allocations: 1.751 MB / 0.5886 GB, free: 7.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4547, allocations: 8.031 kB / 0.5886 GB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/0.4584, allocations: 0.5431 MB / 0.5891 GB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.4606, allocations: 0.7033 MB / 0.5898 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004337/0.4611, allocations: 255.6 kB / 0.5901 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003804/0.4615, allocations: 68.36 kB / 0.5901 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.4642, allocations: 1.004 MB / 0.5911 GB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.4643, allocations: 4 kB / 0.5911 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.4644, allocations: 26.81 kB / 0.5912 GB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.4644, allocations: 16 kB / 0.5912 GB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.4668, allocations: 1.053 MB / 0.5922 GB, free: 4.883 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006245/0.473, allocations: 3.207 MB / 0.5953 GB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.4753, allocations: 1.368 MB / 0.5967 GB, free: 1.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.4767, allocations: 0.777 MB / 0.5974 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.4768, allocations: 12.64 kB / 0.5974 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.4769, allocations: 46.66 kB / 0.5975 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 3.557e-06/0.4769, allocations: 0 / 0.5975 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of matching and sorting (n=81): time 0.02626/0.5031, allocations: 7.809 MB / 0.6051 GB, free: 9.504 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.5032, allocations: 64 kB / 0.6052 GB, free: 9.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.5046, allocations: 0.7515 MB / 0.6059 GB, free: 8.852 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001821/0.5048, allocations: 39.64 kB / 0.6059 GB, free: 8.816 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.5052, allocations: 441.6 kB / 0.6064 GB, free: 8.562 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004611/0.5056, allocations: 279.3 kB / 0.6066 GB, free: 8.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.5058, allocations: 17.06 kB / 0.6066 GB, free: 8.316 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5059, allocations: 335.9 kB / 0.607 GB, free: 7.992 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.5073, allocations: 0.6216 MB / 0.6076 GB, free: 7.551 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.5088, allocations: 0.7272 MB / 0.6083 GB, free: 6.988 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01338/0.5222, allocations: 4.216 MB / 0.6124 GB, free: 3.566 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-05/0.5223, allocations: 0 / 0.6124 GB, free: 3.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01442/0.5367, allocations: 4.678 MB / 0.617 GB, free: 15.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.5368, allocations: 7.938 kB / 0.617 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.5368, allocations: 4 kB / 0.617 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006608/0.5434, allocations: 2.179 MB / 0.6191 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/0.544, allocations: 111.5 kB / 0.6192 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02167/0.5657, allocations: 9.348 MB / 0.6283 GB, free: 4.512 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.5672, allocations: 175.2 kB / 0.6285 GB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.5673, allocations: 27.98 kB / 0.6285 GB, free: 4.312 MB / 426.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.0006248/0.568, allocations: 218.1 kB / 0.6287 GB, free: 4.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/0.5683, allocations: 102.7 kB / 0.6288 GB, free: 3.988 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/0.5819, allocations: 4.743 MB / 0.6335 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-05/0.582, allocations: 11.94 kB / 0.6335 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.582, allocations: 4 kB / 0.6335 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.845e-05/0.5821, allocations: 3.984 kB / 0.6335 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01638/0.5985, allocations: 6.214 MB / 0.6396 GB, free: 8.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.5985, allocations: 0 / 0.6396 GB, free: 8.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005979/0.5991, allocations: 91.89 kB / 0.6396 GB, free: 8.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00627/0.6054, allocations: 2.058 MB / 0.6417 GB, free: 6.688 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002386/0.6057, allocations: 16 kB / 0.6417 GB, free: 6.672 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01892/0.6247, allocations: 8.21 MB / 0.6497 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6247, allocations: 0 / 0.6497 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/0.6407, allocations: 5.657 MB / 0.6552 GB, free: 8.637 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/0.6413, allocations: 195.6 kB / 0.6554 GB, free: 8.426 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003798/0.6417, allocations: 15.94 kB / 0.6554 GB, free: 8.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.6429, allocations: 132 kB / 0.6555 GB, free: 8.281 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007572/0.6437, allocations: 196.6 kB / 0.6557 GB, free: 8.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.6438, allocations: 20 kB / 0.6557 GB, free: 8.07 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009703/0.6448, allocations: 0.5263 MB / 0.6563 GB, free: 7.551 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6448, allocations: 0 / 0.6563 GB, free: 7.551 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001637/0.6465, allocations: 387.5 kB / 0.6566 GB, free: 7.172 MB / 458.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.0003826/0.6469, allocations: 143 kB / 0.6568 GB, free: 7.023 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006404/0.6533, allocations: 2.394 MB / 0.6591 GB, free: 4.613 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6533, allocations: 0 / 0.6591 GB, free: 4.613 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004812/0.6581, allocations: 1.681 MB / 0.6607 GB, free: 2.926 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.6594, allocations: 83.3 kB / 0.6608 GB, free: 2.844 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.6631, allocations: 1.955 MB / 0.6627 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007211/0.6639, allocations: 1.025 MB / 0.6637 GB, free: 15.81 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003103/0.6642, allocations: 61.12 kB / 0.6638 GB, free: 15.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.6644, allocations: 43.44 kB / 0.6638 GB, free: 15.71 MB / 474.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6644, allocations: 0 / 0.6638 GB, free: 15.71 MB / 474.7 MB Notification: Performance of Templates: time 0.03261/0.697, allocations: 18.38 MB / 0.6818 GB, free: 13.32 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2.pipe 2>&1)