Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009417/0.0009418, allocations: 170.1 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.498/1.498, allocations: 205.4 MB / 222.3 MB, free: 9.027 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.0007239/0.000724, allocations: 92.86 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3143/0.3143, allocations: 42.29 MB / 361.2 MB, free: 49.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006687/0.000669, allocations: 19.97 kB / 429.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1125, allocations: 57.55 MB / 487 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2931/0.4057, allocations: 93.27 MB / 0.5667 GB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.406, allocations: 83.95 kB / 0.5667 GB, free: 14.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06977/0.4758, allocations: 24.58 MB / 0.5907 GB, free: 5.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4758, allocations: 0 / 0.5907 GB, free: 5.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.811e-05/0.4759, allocations: 20 kB / 0.5908 GB, free: 5.711 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.006003/0.4819, allocations: 1.946 MB / 0.5927 GB, free: 3.715 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.482, allocations: 12.03 kB / 0.5927 GB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003702/0.4857, allocations: 0.5642 MB / 0.5932 GB, free: 3.137 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.4877, allocations: 0.7789 MB / 0.594 GB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003491/0.4881, allocations: 264.2 kB / 0.5942 GB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/0.4884, allocations: 79.98 kB / 0.5943 GB, free: 1.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/0.4914, allocations: 1.155 MB / 0.5954 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.4914, allocations: 0 / 0.5954 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.4916, allocations: 32 kB / 0.5955 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.4916, allocations: 20 kB / 0.5955 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/0.4945, allocations: 1.234 MB / 0.5967 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007478/0.5019, allocations: 3.545 MB / 0.6002 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.5044, allocations: 1.496 MB / 0.6016 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.5062, allocations: 0.8671 MB / 0.6025 GB, free: 9.297 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.5063, allocations: 20.97 kB / 0.6025 GB, free: 9.277 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.5064, allocations: 39.56 kB / 0.6025 GB, free: 9.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 4.699e-06/0.5064, allocations: 0 / 0.6025 GB, free: 9.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.02768/0.5341, allocations: 8.301 MB / 0.6106 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.5342, allocations: 60.41 kB / 0.6107 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.5356, allocations: 0.8567 MB / 0.6115 GB, free: 15.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002475/0.5358, allocations: 41.7 kB / 0.6116 GB, free: 15.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/0.5363, allocations: 0.493 MB / 0.612 GB, free: 15.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005699/0.5368, allocations: 331.2 kB / 0.6124 GB, free: 15.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.537, allocations: 16 kB / 0.6124 GB, free: 15.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5371, allocations: 338 kB / 0.6127 GB, free: 14.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.5388, allocations: 0.7125 MB / 0.6134 GB, free: 14.01 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.5406, allocations: 0.8194 MB / 0.6142 GB, free: 13.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01414/0.5547, allocations: 4.584 MB / 0.6187 GB, free: 8.543 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.5548, allocations: 8 kB / 0.6187 GB, free: 8.535 MB / 442.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01432/0.5691, allocations: 4.884 MB / 0.6234 GB, free: 3.637 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.5692, allocations: 8 kB / 0.6234 GB, free: 3.629 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.5692, allocations: 4 kB / 0.6235 GB, free: 3.625 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006504/0.5757, allocations: 2.176 MB / 0.6256 GB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000861/0.5766, allocations: 163.8 kB / 0.6257 GB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02162/0.5982, allocations: 9.332 MB / 0.6348 GB, free: 7.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.5997, allocations: 211.1 kB / 0.635 GB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/0.5999, allocations: 27.98 kB / 0.6351 GB, free: 7.586 MB / 458.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(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 (73): * Single equations (assignments): 72 * 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.0006877/0.6006, allocations: 234 kB / 0.6353 GB, free: 7.348 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/0.6009, allocations: 126.4 kB / 0.6354 GB, free: 7.223 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/0.6148, allocations: 4.963 MB / 0.6403 GB, free: 2.246 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.6148, allocations: 8 kB / 0.6403 GB, free: 2.238 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6149, allocations: 0 / 0.6403 GB, free: 2.238 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.488e-05/0.6149, allocations: 11.92 kB / 0.6403 GB, free: 2.227 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01677/0.6317, allocations: 6.55 MB / 0.6467 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.6317, allocations: 0 / 0.6467 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007271/0.6325, allocations: 147.8 kB / 0.6468 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006196/0.6387, allocations: 2.062 MB / 0.6488 GB, free: 9.328 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.6388, allocations: 16 kB / 0.6489 GB, free: 9.312 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0184/0.6573, allocations: 8.217 MB / 0.6569 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6573, allocations: 0 / 0.6569 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/0.6735, allocations: 5.982 MB / 0.6627 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/0.674, allocations: 207.4 kB / 0.6629 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/0.6743, allocations: 19.94 kB / 0.6629 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.6755, allocations: 159.9 kB / 0.6631 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006967/0.6762, allocations: 212.6 kB / 0.6633 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-05/0.6763, allocations: 27.98 kB / 0.6633 GB, free: 10.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009069/0.6772, allocations: 0.5887 MB / 0.6639 GB, free: 9.711 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6772, allocations: 0 / 0.6639 GB, free: 9.711 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001394/0.6786, allocations: 427.4 kB / 0.6643 GB, free: 9.293 MB / 490.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 (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.0003091/0.679, allocations: 139.1 kB / 0.6644 GB, free: 9.148 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006888/0.6859, allocations: 2.592 MB / 0.667 GB, free: 6.547 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6859, allocations: 0 / 0.667 GB, free: 6.547 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004979/0.6909, allocations: 1.792 MB / 0.6687 GB, free: 4.742 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.6919, allocations: 89.41 kB / 0.6688 GB, free: 4.652 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.6961, allocations: 2.276 MB / 0.671 GB, free: 2.355 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007434/0.6968, allocations: 1.084 MB / 0.6721 GB, free: 1.246 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003874/0.6972, allocations: 65.52 kB / 0.6721 GB, free: 1.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.6975, allocations: 55.42 kB / 0.6722 GB, free: 1.125 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.6975, allocations: 0 / 0.6722 GB, free: 1.125 MB / 490.7 MB Notification: Performance of Templates: time 0.212/0.9095, allocations: 19.36 MB / 0.6911 GB, free: 127.5 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)