Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.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_2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2") translateModel(iPSL.Examples.Machines.PSAT.Order5_2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006416/0.006416, 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.145/1.145, allocations: 170.8 MB / 186.6 MB, free: 1.023 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.001658/0.001657, allocations: 107.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.3637/0.3637, allocations: 50.19 MB / 315.8 MB, free: 34.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.000391, allocations: 12 kB / 376.8 MB, free: 7.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1042, allocations: 50.51 MB / 427.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.288/0.3922, allocations: 75.56 MB / 0.4911 GB, free: 9.992 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.3925, allocations: 67.97 kB / 0.4912 GB, free: 9.926 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04225/0.4347, allocations: 14.99 MB / 0.5058 GB, free: 10.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4348, allocations: 0 / 0.5058 GB, free: 10.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.653e-05/0.4348, allocations: 20 kB / 0.5058 GB, free: 10.95 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.004659/0.4395, allocations: 1.559 MB / 0.5073 GB, free: 9.344 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.4396, allocations: 8.031 kB / 0.5073 GB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003112/0.4427, allocations: 470.3 kB / 0.5078 GB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.4438, allocations: 0.5844 MB / 0.5084 GB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.4441, allocations: 226.4 kB / 0.5086 GB, free: 8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.4442, allocations: 68 kB / 0.5086 GB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.4463, allocations: 1.002 MB / 0.5096 GB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.4463, allocations: 0 / 0.5096 GB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.4465, allocations: 24 kB / 0.5096 GB, free: 6.906 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.4465, allocations: 23.94 kB / 0.5097 GB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.4484, allocations: 0.9761 MB / 0.5106 GB, free: 5.902 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006003/0.4544, allocations: 3.253 MB / 0.5138 GB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.4563, allocations: 0.8651 MB / 0.5146 GB, free: 1.609 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.279e-05/0.4564, allocations: 16.58 kB / 0.5147 GB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.4564, allocations: 43.22 kB / 0.5147 GB, free: 1.543 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.955e-06/0.4564, allocations: 0 / 0.5147 GB, free: 1.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.02778/0.4842, allocations: 8.077 MB / 0.5226 GB, free: 9.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.4843, allocations: 60.06 kB / 0.5226 GB, free: 9.359 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008988/0.4852, allocations: 0.5375 MB / 0.5232 GB, free: 8.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002173/0.4855, allocations: 37.7 kB / 0.5232 GB, free: 8.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.4857, allocations: 356.2 kB / 0.5235 GB, free: 8.418 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.486, allocations: 268 kB / 0.5238 GB, free: 8.152 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.4861, allocations: 16 kB / 0.5238 GB, free: 8.137 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.4863, allocations: 386.8 kB / 0.5242 GB, free: 7.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.4876, allocations: 0.5915 MB / 0.5248 GB, free: 7.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.4889, allocations: 0.6976 MB / 0.5254 GB, free: 6.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.4902, allocations: 0.6345 MB / 0.5261 GB, free: 5.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.4902, allocations: 0 / 0.5261 GB, free: 5.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01336/0.5035, allocations: 4.626 MB / 0.5306 GB, free: 1.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.5036, allocations: 4 kB / 0.5306 GB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.5036, allocations: 7.953 kB / 0.5306 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006869/0.5105, allocations: 2.109 MB / 0.5327 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007524/0.5113, allocations: 95.89 kB / 0.5327 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02259/0.5339, allocations: 9.948 MB / 0.5425 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.5352, allocations: 151.3 kB / 0.5426 GB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/0.5353, allocations: 27.98 kB / 0.5426 GB, free: 4.672 MB / 394.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type2_Inputs_Outputs.e2d:VARIABLE(start = order5Type2_Inputs_Outputs.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e2q:VARIABLE(start = order5Type2_Inputs_Outputs.e2q0 fixed = true ) "q-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e1q:VARIABLE(start = order5Type2_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.0004719/0.5358, allocations: 216.2 kB / 0.5428 GB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.536, allocations: 75.06 kB / 0.5429 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.5492, allocations: 4.646 MB / 0.5474 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.5492, allocations: 12 kB / 0.5475 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5493, allocations: 7.953 kB / 0.5475 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-05/0.5493, allocations: 3.984 kB / 0.5475 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.551, allocations: 1.049 MB / 0.5485 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.551, allocations: 0 / 0.5485 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.5515, allocations: 79.91 kB / 0.5486 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00595/0.5575, allocations: 2.025 MB / 0.5505 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.5577, allocations: 12 kB / 0.5506 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01873/0.5764, allocations: 8.619 MB / 0.559 GB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.5764, allocations: 7.938 kB / 0.559 GB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/0.592, allocations: 5.525 MB / 0.5644 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.5924, allocations: 172 kB / 0.5645 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.5926, allocations: 16 kB / 0.5646 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009145/0.5935, allocations: 111.9 kB / 0.5647 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005594/0.5941, allocations: 188.7 kB / 0.5648 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.14e-05/0.5942, allocations: 20 kB / 0.5649 GB, free: 13.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000592/0.5948, allocations: 434.8 kB / 0.5653 GB, free: 13.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5948, allocations: 0 / 0.5653 GB, free: 13.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001151/0.5959, allocations: 347.5 kB / 0.5656 GB, free: 12.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type2_Inputs_Outputs.delta,order5Type2_Inputs_Outputs.w,order5Type2_Inputs_Outputs.e1q,order5Type2_Inputs_Outputs.e2q,order5Type2_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.0002817/0.5962, allocations: 135.1 kB / 0.5657 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006432/0.6027, allocations: 2.37 MB / 0.568 GB, free: 10.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6027, allocations: 4.125 kB / 0.5681 GB, free: 10.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004747/0.6075, allocations: 1.658 MB / 0.5697 GB, free: 8.699 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.608, allocations: 62.2 kB / 0.5697 GB, free: 8.637 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.6111, allocations: 1.815 MB / 0.5715 GB, free: 6.801 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/0.6117, allocations: 0.9856 MB / 0.5725 GB, free: 5.785 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003238/0.6121, allocations: 60.92 kB / 0.5725 GB, free: 5.723 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.6123, allocations: 47.42 kB / 0.5726 GB, free: 5.676 MB / 426.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6123, allocations: 0 / 0.5726 GB, free: 5.676 MB / 426.7 MB Notification: Performance of Templates: time 0.2099/0.8222, allocations: 18.57 MB / 0.5907 GB, free: 111.8 MB / 426.7 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.makefile (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.pipe 2>&1)