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.001357/0.001357, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.159/1.159, allocations: 170.6 MB / 183.8 MB, free: 11.41 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.001503/0.001503, allocations: 107.5 kB / 223.2 MB, free: 4.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.2206/0.2206, allocations: 49.89 MB / 312.3 MB, free: 9.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.796e-05/2.798e-05, allocations: 4 kB / 370.7 MB, free: 19.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08194/0.08199, allocations: 50.49 MB / 421.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2913/0.3734, allocations: 75.48 MB / 496.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.3737, allocations: 62.38 kB / 496.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03649/0.4102, allocations: 14.89 MB / 0.4996 GB, free: 5.891 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4102, allocations: 0.6562 kB / 0.4996 GB, free: 5.891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.855e-05/0.4102, allocations: 19.44 kB / 0.4996 GB, free: 5.887 MB / 330.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.003499/0.4138, allocations: 1.381 MB / 0.501 GB, free: 4.691 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4138, allocations: 8.031 kB / 0.501 GB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/0.4164, allocations: 473.1 kB / 0.5015 GB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007546/0.4172, allocations: 0.5804 MB / 0.502 GB, free: 3.797 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.4174, allocations: 221.6 kB / 0.5022 GB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.4175, allocations: 63.25 kB / 0.5023 GB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.4188, allocations: 0.7968 MB / 0.5031 GB, free: 3.027 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.4188, allocations: 0 / 0.5031 GB, free: 3.027 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.267e-05/0.4189, allocations: 36.7 kB / 0.5031 GB, free: 3.012 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.4189, allocations: 16 kB / 0.5031 GB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.4201, allocations: 0.7755 MB / 0.5039 GB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004753/0.4248, allocations: 3.24 MB / 0.507 GB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.4261, allocations: 0.6811 MB / 0.5077 GB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007285/0.4268, allocations: 0.5196 MB / 0.5082 GB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.4269, allocations: 16.28 kB / 0.5082 GB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.427, allocations: 46.53 kB / 0.5083 GB, free: 15.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 2.695e-06/0.427, allocations: 0 / 0.5083 GB, free: 15.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.0127/0.4397, allocations: 3.935 MB / 0.5121 GB, free: 11.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.4398, allocations: 60.19 kB / 0.5122 GB, free: 11.78 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008256/0.4406, allocations: 0.527 MB / 0.5127 GB, free: 11.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.4408, allocations: 42.7 kB / 0.5127 GB, free: 11.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.441, allocations: 349.1 kB / 0.5131 GB, free: 11.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/0.4413, allocations: 277.9 kB / 0.5133 GB, free: 10.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.4413, allocations: 14.88 kB / 0.5133 GB, free: 10.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4415, allocations: 386.4 kB / 0.5137 GB, free: 10.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006877/0.4422, allocations: 412.6 kB / 0.5141 GB, free: 10.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007366/0.4429, allocations: 0.4885 MB / 0.5146 GB, free: 9.988 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007408/0.4437, allocations: 456.2 kB / 0.515 GB, free: 9.734 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4437, allocations: 0 / 0.515 GB, free: 9.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01271/0.4564, allocations: 4.037 MB / 0.519 GB, free: 6.238 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.4565, allocations: 11.23 kB / 0.519 GB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.4565, allocations: 8 kB / 0.519 GB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006061/0.4626, allocations: 1.727 MB / 0.5207 GB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.4632, allocations: 91.09 kB / 0.5207 GB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/0.4782, allocations: 7.235 MB / 0.5278 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.4795, allocations: 151.3 kB / 0.528 GB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.381e-05/0.4796, allocations: 28 kB / 0.528 GB, free: 15.16 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type2_Inputs_Outputs.e2d:VARIABLE(start = order5Type2_Inputs_Outputs.e2d0 ) "d-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e2q:VARIABLE(start = order5Type2_Inputs_Outputs.e2q0 ) "q-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e1q:VARIABLE(start = order5Type2_Inputs_Outputs.e1q0 ) "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 () * 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.0002641/0.4798, allocations: 146.5 kB / 0.5281 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.48, allocations: 83.02 kB / 0.5282 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/0.4928, allocations: 4.067 MB / 0.5322 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.4929, allocations: 8 kB / 0.5322 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.4929, allocations: 7.953 kB / 0.5322 GB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/0.4929, allocations: 3.984 kB / 0.5322 GB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.4944, allocations: 1.054 MB / 0.5332 GB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4944, allocations: 4 kB / 0.5332 GB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005051/0.4949, allocations: 79.91 kB / 0.5333 GB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005302/0.5002, allocations: 1.644 MB / 0.5349 GB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.5004, allocations: 19.98 kB / 0.5349 GB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/0.5136, allocations: 6.293 MB / 0.5411 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.5136, allocations: 3.953 kB / 0.5411 GB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/0.5267, allocations: 4.741 MB / 0.5457 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/0.527, allocations: 176 kB / 0.5459 GB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.5272, allocations: 16 kB / 0.5459 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009629/0.5281, allocations: 111.9 kB / 0.546 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005845/0.5287, allocations: 180.5 kB / 0.5462 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-05/0.5288, allocations: 23.98 kB / 0.5462 GB, free: 12.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005558/0.5294, allocations: 433.6 kB / 0.5466 GB, free: 11.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5294, allocations: 4 kB / 0.5466 GB, free: 11.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001012/0.5304, allocations: 343.5 kB / 0.5469 GB, free: 11.52 MB / 378.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 () * 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.0002675/0.5307, allocations: 137.8 kB / 0.5471 GB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00509/0.5358, allocations: 1.949 MB / 0.549 GB, free: 9.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5358, allocations: 0.5 kB / 0.549 GB, free: 9.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004158/0.54, allocations: 1.457 MB / 0.5504 GB, free: 7.941 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.5404, allocations: 54.59 kB / 0.5504 GB, free: 7.891 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.5427, allocations: 1.159 MB / 0.5516 GB, free: 6.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.5433, allocations: 0.9857 MB / 0.5525 GB, free: 5.688 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000296/0.5436, allocations: 60.91 kB / 0.5526 GB, free: 5.625 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.5438, allocations: 47.42 kB / 0.5526 GB, free: 5.578 MB / 378.7 MB Notification: Performance of SimCode: time 5.62e-07/0.5438, allocations: 0 / 0.5526 GB, free: 5.578 MB / 378.7 MB Notification: Performance of Templates: time 0.02796/0.5717, allocations: 18.54 MB / 0.5707 GB, free: 3.043 MB / 394.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)