Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order4test2.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.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2") translateModel(iPSL.Examples.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007892/0.007892, allocations: 165.6 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.224/1.224, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.00162/0.001619, allocations: 110.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.326/0.326, allocations: 50.2 MB / 315.8 MB, free: 34.22 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003822, allocations: 15.98 kB / 376.8 MB, free: 7.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1036, allocations: 50.5 MB / 427.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2679/0.3716, allocations: 75.42 MB / 0.4909 GB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.3718, allocations: 65.78 kB / 0.491 GB, free: 10.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04249/0.4143, allocations: 15.57 MB / 0.5062 GB, free: 10.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4144, allocations: 0 / 0.5062 GB, free: 10.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.316e-05/0.4144, allocations: 20 kB / 0.5062 GB, free: 10.52 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.005313/0.4197, allocations: 1.491 MB / 0.5077 GB, free: 8.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4198, allocations: 8.031 kB / 0.5077 GB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/0.4228, allocations: 477.8 kB / 0.5082 GB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.4241, allocations: 0.5687 MB / 0.5087 GB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002645/0.4244, allocations: 222.5 kB / 0.5089 GB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/0.4246, allocations: 64 kB / 0.509 GB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.427, allocations: 0.9827 MB / 0.5099 GB, free: 6.605 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.427, allocations: 0 / 0.5099 GB, free: 6.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.262e-05/0.4271, allocations: 24 kB / 0.51 GB, free: 6.582 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.4271, allocations: 20 kB / 0.51 GB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.4293, allocations: 0.9799 MB / 0.5109 GB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006365/0.4356, allocations: 3.163 MB / 0.514 GB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.4379, allocations: 0.8333 MB / 0.5148 GB, free: 1.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.438, allocations: 16.62 kB / 0.5149 GB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.4381, allocations: 44.58 kB / 0.5149 GB, free: 1.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=77): time 2.805e-06/0.4381, allocations: 0 / 0.5149 GB, free: 1.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=77): time 0.02988/0.468, allocations: 8.408 MB / 0.5231 GB, free: 8.895 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.4681, allocations: 68.02 kB / 0.5232 GB, free: 8.816 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009297/0.469, allocations: 0.5137 MB / 0.5237 GB, free: 8.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.4692, allocations: 33.7 kB / 0.5237 GB, free: 8.258 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.4695, allocations: 344.3 kB / 0.524 GB, free: 7.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004358/0.47, allocations: 268 kB / 0.5243 GB, free: 7.648 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.577e-05/0.4701, allocations: 16 kB / 0.5243 GB, free: 7.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.4703, allocations: 378.8 kB / 0.5247 GB, free: 7.254 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.4716, allocations: 0.5876 MB / 0.5252 GB, free: 6.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.473, allocations: 0.6859 MB / 0.5259 GB, free: 5.949 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.4743, allocations: 0.6335 MB / 0.5265 GB, free: 5.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4743, allocations: 0 / 0.5265 GB, free: 5.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.01369/0.488, allocations: 4.589 MB / 0.531 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.4881, allocations: 4 kB / 0.531 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.4881, allocations: 4 kB / 0.531 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00675/0.4949, allocations: 2.136 MB / 0.5331 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.4954, allocations: 87.91 kB / 0.5332 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02315/0.5186, allocations: 9.962 MB / 0.5429 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.5199, allocations: 151.3 kB / 0.5431 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.52, allocations: 27.98 kB / 0.5431 GB, free: 4.203 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 fixed = true ) "d-axis transient voltage (pu)" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 fixed = true ) "q-axis transient voltage (pu)" 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 (57): * Single equations (assignments): 56 * 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.0005467/0.5206, allocations: 202.3 kB / 0.5433 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.5209, allocations: 71.16 kB / 0.5434 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/0.5343, allocations: 4.623 MB / 0.5479 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.5344, allocations: 8 kB / 0.5479 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5344, allocations: 4 kB / 0.5479 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.5344, allocations: 3.984 kB / 0.5479 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.5362, allocations: 1.018 MB / 0.5489 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.5362, allocations: 1.031 kB / 0.5489 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/0.5367, allocations: 79.84 kB / 0.549 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00631/0.5431, allocations: 2.029 MB / 0.5509 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/0.5433, allocations: 19.98 kB / 0.551 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01991/0.5632, allocations: 8.619 MB / 0.5594 GB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5633, allocations: 0 / 0.5594 GB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0169/0.5802, allocations: 5.482 MB / 0.5647 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.5806, allocations: 168.1 kB / 0.5649 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003111/0.5809, allocations: 16 kB / 0.5649 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.582, allocations: 103.9 kB / 0.565 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006508/0.5827, allocations: 192.7 kB / 0.5652 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.5829, allocations: 23.94 kB / 0.5652 GB, free: 13.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006965/0.5836, allocations: 406.8 kB / 0.5656 GB, free: 12.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5836, allocations: 0 / 0.5656 GB, free: 12.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001423/0.585, allocations: 343.5 kB / 0.5659 GB, free: 12.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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.0003656/0.5854, allocations: 136.1 kB / 0.5661 GB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006543/0.5919, allocations: 2.354 MB / 0.5683 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.592, allocations: 64 / 0.5683 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004978/0.597, allocations: 1.648 MB / 0.57 GB, free: 8.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.5976, allocations: 58.27 kB / 0.57 GB, free: 8.352 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.601, allocations: 1.74 MB / 0.5717 GB, free: 6.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.6016, allocations: 0.9778 MB / 0.5727 GB, free: 5.582 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005313/0.6022, allocations: 68.75 kB / 0.5727 GB, free: 5.512 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.6024, allocations: 47.42 kB / 0.5728 GB, free: 5.465 MB / 426.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6024, allocations: 3.938 kB / 0.5728 GB, free: 5.461 MB / 426.7 MB Notification: Performance of Templates: time 0.1929/0.7953, allocations: 18.11 MB / 0.5905 GB, free: 112.4 MB / 426.7 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order4test2.makefile (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order4test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order4test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order4test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order4test2.pipe 2>&1)