Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order6test2.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.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order6test2") translateModel(iPSL.Examples.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order6test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00619/0.00619, allocations: 165 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.242/1.242, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.00156/0.00156, allocations: 111.4 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.3535/0.3535, allocations: 50.2 MB / 315.8 MB, free: 34.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 15.98 kB / 376.8 MB, free: 7.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1029, allocations: 50.5 MB / 427.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3136/0.4165, allocations: 75.66 MB / 0.4912 GB, free: 9.895 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.4168, allocations: 64.62 kB / 0.4912 GB, free: 9.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04662/0.4635, allocations: 16.63 MB / 0.5075 GB, free: 9.223 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4635, allocations: 0 / 0.5075 GB, free: 9.223 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.196e-05/0.4636, allocations: 12 kB / 0.5075 GB, free: 9.211 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.004425/0.468, allocations: 1.597 MB / 0.5091 GB, free: 7.566 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.468, allocations: 8.031 kB / 0.5091 GB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/0.4709, allocations: 482.3 kB / 0.5095 GB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.472, allocations: 0.6 MB / 0.5101 GB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.4722, allocations: 222.5 kB / 0.5103 GB, free: 6.199 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.4723, allocations: 64 kB / 0.5104 GB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.4743, allocations: 1.002 MB / 0.5114 GB, free: 5.133 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.4744, allocations: 0.875 kB / 0.5114 GB, free: 5.133 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.638e-05/0.4745, allocations: 28 kB / 0.5114 GB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.4745, allocations: 16 kB / 0.5114 GB, free: 5.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.4764, allocations: 0.9839 MB / 0.5124 GB, free: 4.102 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005709/0.4821, allocations: 3.288 MB / 0.5156 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.4839, allocations: 0.8918 MB / 0.5164 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-05/0.484, allocations: 14.05 kB / 0.5165 GB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.4841, allocations: 43.22 kB / 0.5165 GB, free: 15.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 3.165e-06/0.4841, allocations: 0 / 0.5165 GB, free: 15.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.02639/0.5105, allocations: 7.948 MB / 0.5243 GB, free: 7.703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.5106, allocations: 64.06 kB / 0.5243 GB, free: 7.629 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008976/0.5115, allocations: 0.5696 MB / 0.5249 GB, free: 7.055 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.5116, allocations: 33.7 kB / 0.5249 GB, free: 7.016 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.5119, allocations: 356.3 kB / 0.5253 GB, free: 6.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000283/0.5122, allocations: 275.9 kB / 0.5255 GB, free: 6.391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.5123, allocations: 16 kB / 0.5255 GB, free: 6.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.5124, allocations: 386.7 kB / 0.5259 GB, free: 5.988 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.5136, allocations: 0.6032 MB / 0.5265 GB, free: 5.387 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.5149, allocations: 0.7015 MB / 0.5272 GB, free: 4.652 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.5161, allocations: 0.6473 MB / 0.5278 GB, free: 4.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5161, allocations: 2.156 kB / 0.5278 GB, free: 4.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0131/0.5292, allocations: 4.638 MB / 0.5323 GB, free: 15.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.5293, allocations: 15.89 kB / 0.5324 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.5293, allocations: 0 / 0.5324 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006513/0.5358, allocations: 2.124 MB / 0.5344 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007195/0.5366, allocations: 99.83 kB / 0.5345 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02149/0.5581, allocations: 9.934 MB / 0.5442 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.5595, allocations: 159.2 kB / 0.5444 GB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.5596, allocations: 31.98 kB / 0.5444 GB, free: 2.852 MB / 394.7 MB Warning: Assuming fixed start value for the following 4 variables: order6Type2_1.e2d:VARIABLE(start = order6Type2_1.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order6Type2_1.e2q:VARIABLE(start = order6Type2_1.e2q0 fixed = true ) "q-axis sub-transient voltage" type: Real order6Type2_1.e1d:VARIABLE(start = order6Type2_1.e1d0 fixed = true ) "d-axis transient voltage" type: Real order6Type2_1.e1q:VARIABLE(start = order6Type2_1.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 (61): * Single equations (assignments): 60 * 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.0004805/0.5601, allocations: 206.8 kB / 0.5446 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.5603, allocations: 79.11 kB / 0.5447 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/0.5737, allocations: 4.67 MB / 0.5492 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/0.5738, allocations: 11.95 kB / 0.5492 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.5738, allocations: 0 / 0.5492 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.372e-05/0.5738, allocations: 7.984 kB / 0.5493 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.5755, allocations: 1.08 MB / 0.5503 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5755, allocations: 0 / 0.5503 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005333/0.5761, allocations: 80.97 kB / 0.5504 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005967/0.582, allocations: 2.033 MB / 0.5524 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.5822, allocations: 20 kB / 0.5524 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01846/0.6006, allocations: 8.611 MB / 0.5608 GB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6007, allocations: 0 / 0.5608 GB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/0.6161, allocations: 5.552 MB / 0.5662 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004633/0.6166, allocations: 176 kB / 0.5664 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.6167, allocations: 16 kB / 0.5664 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009764/0.6177, allocations: 111.9 kB / 0.5665 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000597/0.6183, allocations: 184.7 kB / 0.5667 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/0.6184, allocations: 24 kB / 0.5667 GB, free: 11.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006046/0.619, allocations: 459 kB / 0.5672 GB, free: 11.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.619, allocations: 3.938 kB / 0.5672 GB, free: 11.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001236/0.6202, allocations: 359.5 kB / 0.5675 GB, free: 10.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.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 (50): * Single equations (assignments): 49 * 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.000314/0.6206, allocations: 139.1 kB / 0.5676 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006304/0.6269, allocations: 2.38 MB / 0.57 GB, free: 8.418 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6269, allocations: 0 / 0.57 GB, free: 8.418 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004631/0.6315, allocations: 1.678 MB / 0.5716 GB, free: 6.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.6321, allocations: 55.77 kB / 0.5716 GB, free: 6.672 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.6353, allocations: 1.86 MB / 0.5735 GB, free: 4.785 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/0.6359, allocations: 0.9974 MB / 0.5744 GB, free: 3.762 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000309/0.6362, allocations: 60.94 kB / 0.5745 GB, free: 3.703 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.6364, allocations: 47.42 kB / 0.5745 GB, free: 3.656 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6364, allocations: 0 / 0.5745 GB, free: 3.656 MB / 426.7 MB Notification: Performance of Templates: time 0.2132/0.8496, allocations: 18.77 MB / 0.5929 GB, free: 112.4 MB / 426.7 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order6test2.makefile (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order6test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order6test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order6test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order6test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order6test2.pipe 2>&1)