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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002971/0.002971, allocations: 171.8 kB / 7.446 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.186/1.186, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001801/0.001801, allocations: 128.4 kB / 217.7 MB, free: 8.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.2151/0.2151, allocations: 49.91 MB / 306.7 MB, free: 13.59 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.192e-06/6.232e-06, allocations: 0 / 363.2 MB, free: 25.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.09952, allocations: 50.48 MB / 413.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2838/0.3834, allocations: 74.73 MB / 488.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.3837, allocations: 65.22 kB / 488.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03991/0.4236, allocations: 14.38 MB / 0.4911 GB, free: 6.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.845e-05/0.4237, allocations: 17.84 kB / 0.4911 GB, free: 6.73 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.004021/0.4277, allocations: 1.437 MB / 0.4925 GB, free: 5.852 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4277, allocations: 9.062 kB / 0.4925 GB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003084/0.4308, allocations: 0.4886 MB / 0.493 GB, free: 5.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.4319, allocations: 0.5865 MB / 0.4936 GB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/0.4321, allocations: 198.1 kB / 0.4938 GB, free: 5.148 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.4322, allocations: 42.72 kB / 0.4938 GB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001558/0.4338, allocations: 0.7398 MB / 0.4945 GB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.4352, allocations: 0.6983 MB / 0.4952 GB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.4353, allocations: 3.938 kB / 0.4952 GB, free: 4.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.4354, allocations: 0 / 0.4952 GB, free: 4.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.4354, allocations: 19.66 kB / 0.4952 GB, free: 4.953 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00544/0.4408, allocations: 3.162 MB / 0.4983 GB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.4422, allocations: 0.6097 MB / 0.4989 GB, free: 3.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009273/0.4431, allocations: 0.5043 MB / 0.4994 GB, free: 3.254 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.4432, allocations: 9.031 kB / 0.4994 GB, free: 3.254 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.4433, allocations: 45.09 kB / 0.4995 GB, free: 3.211 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 3.166e-06/0.4433, allocations: 0.75 kB / 0.4995 GB, free: 3.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.01284/0.4561, allocations: 4.124 MB / 0.5035 GB, free: 1.988 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.4562, allocations: 64.3 kB / 0.5035 GB, free: 1.922 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008462/0.4571, allocations: 0.495 MB / 0.504 GB, free: 1.777 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001698/0.4572, allocations: 31.05 kB / 0.5041 GB, free: 1.742 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.4574, allocations: 264.9 kB / 0.5043 GB, free: 1.543 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.4577, allocations: 264.7 kB / 0.5046 GB, free: 1.344 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/0.4577, allocations: 0 / 0.5046 GB, free: 1.344 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.4578, allocations: 379.3 kB / 0.5049 GB, free: 1.008 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007035/0.4585, allocations: 394.5 kB / 0.5053 GB, free: 1.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008136/0.4594, allocations: 489.9 kB / 0.5058 GB, free: 0.9141 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008608/0.4602, allocations: 438.9 kB / 0.5062 GB, free: 0.8672 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4602, allocations: 1.031 kB / 0.5062 GB, free: 0.8672 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01312/0.4734, allocations: 4.22 MB / 0.5103 GB, free: 13.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.4734, allocations: 4 kB / 0.5103 GB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.4735, allocations: 4 kB / 0.5103 GB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006103/0.4796, allocations: 1.77 MB / 0.512 GB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/0.4802, allocations: 98.02 kB / 0.5121 GB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/0.4949, allocations: 6.233 MB / 0.5182 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.4963, allocations: 147.3 kB / 0.5184 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.4965, allocations: 35.42 kB / 0.5184 GB, free: 7.168 MB / 346.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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pwLine1.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine2.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine2.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLinewithOpening1.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLinewithOpening1.is.re:VARIABLE() "Real part of complex number" type: Real pwLinewithOpening1.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine4.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine4.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine4.is.re:VARIABLE() "Real part of complex number" type: Real pwLinewithOpening1.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine4.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine3.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine2.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine1.is.re:VARIABLE() "Real part of complex number" type: Real pwLine3.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine3.ir.re:VARIABLE() "Real part of complex number" 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.0003178/0.4968, allocations: 144.3 kB / 0.5185 GB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.497, allocations: 71.06 kB / 0.5186 GB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/0.5099, allocations: 4.238 MB / 0.5227 GB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.51, allocations: 8 kB / 0.5227 GB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.51, allocations: 0 / 0.5227 GB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/0.51, allocations: 3.984 kB / 0.5228 GB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.5115, allocations: 0.9599 MB / 0.5237 GB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5115, allocations: 0 / 0.5237 GB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/0.5121, allocations: 83.89 kB / 0.5238 GB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00539/0.5175, allocations: 1.706 MB / 0.5254 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.5176, allocations: 4 kB / 0.5254 GB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/0.5302, allocations: 5.617 MB / 0.5309 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5302, allocations: 0 / 0.5309 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0141/0.5443, allocations: 4.93 MB / 0.5357 GB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004725/0.5449, allocations: 172 kB / 0.5359 GB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.545, allocations: 0 / 0.5359 GB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.5461, allocations: 111.9 kB / 0.536 GB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/0.5464, allocations: 100.6 kB / 0.5361 GB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.862e-05/0.5465, allocations: 20 kB / 0.5361 GB, free: 5.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000505/0.547, allocations: 402.9 kB / 0.5365 GB, free: 5.234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001105/0.5481, allocations: 311.5 kB / 0.5368 GB, free: 4.93 MB / 362.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.0002864/0.5484, allocations: 123.1 kB / 0.5369 GB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005132/0.5535, allocations: 1.872 MB / 0.5387 GB, free: 2.918 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.5535, allocations: 8.188 kB / 0.5388 GB, free: 2.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0042/0.5578, allocations: 1.397 MB / 0.5401 GB, free: 1.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.5582, allocations: 38.08 kB / 0.5402 GB, free: 1.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.5614, allocations: 1.168 MB / 0.5413 GB, free: 276 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/0.5622, allocations: 1.024 MB / 0.5423 GB, free: 15.22 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5622, allocations: 0 / 0.5423 GB, free: 15.22 MB / 378.7 MB Notification: Performance of Templates: time 0.02898/0.5912, allocations: 17.1 MB / 0.559 GB, free: 14.14 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)