Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo", uses=false) Using package iPSL with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(iPSL.Examples.Machines.PSAT.Order5_1test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2") translateModel(iPSL.Examples.Machines.PSAT.Order5_1test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007166/0.007166, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.166/1.166, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001679/0.001679, allocations: 114.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.3377/0.3377, allocations: 50.19 MB / 315.8 MB, free: 34.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004534, allocations: 12 kB / 376.8 MB, free: 7.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1077, allocations: 50.51 MB / 427.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2933/0.401, allocations: 75.5 MB / 0.491 GB, free: 10.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.4013, allocations: 64.78 kB / 0.4911 GB, free: 9.996 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03955/0.4408, allocations: 14.74 MB / 0.5055 GB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4409, allocations: 0 / 0.5055 GB, free: 11.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.024e-05/0.4409, allocations: 16 kB / 0.5055 GB, free: 11.27 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004173/0.4451, allocations: 1.512 MB / 0.507 GB, free: 9.711 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4451, allocations: 16.03 kB / 0.507 GB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/0.4479, allocations: 470.4 kB / 0.5074 GB, free: 9.234 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000974/0.4489, allocations: 0.5649 MB / 0.508 GB, free: 8.629 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.4492, allocations: 230.4 kB / 0.5082 GB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.4493, allocations: 67.27 kB / 0.5083 GB, free: 8.312 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.4513, allocations: 0.9872 MB / 0.5092 GB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.4513, allocations: 0 / 0.5092 GB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-05/0.4514, allocations: 28 kB / 0.5093 GB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.4514, allocations: 19.98 kB / 0.5093 GB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.4534, allocations: 0.9828 MB / 0.5102 GB, free: 6.289 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005438/0.4589, allocations: 3.195 MB / 0.5134 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.4606, allocations: 0.8767 MB / 0.5142 GB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.803e-05/0.4607, allocations: 16.62 kB / 0.5142 GB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.4608, allocations: 39.22 kB / 0.5143 GB, free: 1.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.216e-06/0.4608, allocations: 0 / 0.5143 GB, free: 1.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.02616/0.487, allocations: 7.839 MB / 0.5219 GB, free: 10.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.4871, allocations: 60.06 kB / 0.522 GB, free: 10.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.4879, allocations: 0.5023 MB / 0.5225 GB, free: 9.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000181/0.4881, allocations: 41.7 kB / 0.5225 GB, free: 9.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.4883, allocations: 356.2 kB / 0.5229 GB, free: 9.125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/0.4887, allocations: 268 kB / 0.5231 GB, free: 8.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.4887, allocations: 16 kB / 0.5231 GB, free: 8.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4889, allocations: 382.8 kB / 0.5235 GB, free: 8.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.4902, allocations: 0.5954 MB / 0.5241 GB, free: 7.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.4915, allocations: 0.6859 MB / 0.5247 GB, free: 7.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.4928, allocations: 0.6423 MB / 0.5254 GB, free: 6.512 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.4928, allocations: 4 kB / 0.5254 GB, free: 6.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01321/0.506, allocations: 4.614 MB / 0.5299 GB, free: 1.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.5061, allocations: 15.95 kB / 0.5299 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5061, allocations: 0 / 0.5299 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006383/0.5125, allocations: 2.113 MB / 0.532 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/0.5131, allocations: 95.84 kB / 0.5321 GB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02203/0.5351, allocations: 9.941 MB / 0.5418 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.5365, allocations: 151.2 kB / 0.5419 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.5367, allocations: 37.23 kB / 0.5419 GB, free: 5.383 MB / 394.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type1_Inputs_Outputs.e2d:VARIABLE(start = order5Type1_Inputs_Outputs.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order5Type1_Inputs_Outputs.e1d:VARIABLE(start = order5Type1_Inputs_Outputs.e1d0 fixed = true ) "d-axis transient voltage" type: Real order5Type1_Inputs_Outputs.e1q:VARIABLE(start = order5Type1_Inputs_Outputs.e1q0 fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 {27 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005367/0.5372, allocations: 203.4 kB / 0.5421 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.5374, allocations: 71.11 kB / 0.5422 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.5505, allocations: 4.65 MB / 0.5467 GB, free: 452 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.5505, allocations: 8 kB / 0.5467 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5505, allocations: 3.953 kB / 0.5468 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.5506, allocations: 3.984 kB / 0.5468 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.5522, allocations: 1.045 MB / 0.5478 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.5522, allocations: 0 / 0.5478 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005782/0.5528, allocations: 75.84 kB / 0.5478 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005987/0.5588, allocations: 2.029 MB / 0.5498 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.559, allocations: 16 kB / 0.5498 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01845/0.5774, allocations: 8.623 MB / 0.5583 GB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5775, allocations: 3.953 kB / 0.5583 GB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/0.5927, allocations: 5.513 MB / 0.5637 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.5931, allocations: 172 kB / 0.5638 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003135/0.5935, allocations: 19.98 kB / 0.5638 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.5945, allocations: 107.9 kB / 0.5639 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005879/0.5951, allocations: 184.7 kB / 0.5641 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.585e-05/0.5952, allocations: 24 kB / 0.5641 GB, free: 14.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005796/0.5958, allocations: 414.8 kB / 0.5645 GB, free: 13.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5958, allocations: 0 / 0.5645 GB, free: 13.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0013/0.5971, allocations: 343.5 kB / 0.5649 GB, free: 13.65 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * 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 (49): * Single equations (assignments): 48 * 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.0002829/0.5974, allocations: 147.1 kB / 0.565 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006496/0.6039, allocations: 2.362 MB / 0.5673 GB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.604, allocations: 0 / 0.5673 GB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004823/0.6088, allocations: 1.654 MB / 0.5689 GB, free: 9.465 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006579/0.6095, allocations: 63.67 kB / 0.569 GB, free: 9.406 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.6126, allocations: 1.785 MB / 0.5707 GB, free: 7.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.6132, allocations: 0.9778 MB / 0.5717 GB, free: 6.582 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000316/0.6135, allocations: 64.86 kB / 0.5717 GB, free: 6.516 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.6137, allocations: 43.42 kB / 0.5718 GB, free: 6.473 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6137, allocations: 0 / 0.5718 GB, free: 6.473 MB / 426.7 MB Notification: Performance of Templates: time 0.1885/0.8022, allocations: 18.35 MB / 0.5897 GB, free: 112.9 MB / 426.7 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.makefile (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe 2>&1)