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") [: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.00318/0.00318, allocations: 171.7 kB / 7.445 MB, free: 2.508 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.154/1.154, 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: 111.8 kB / 217.7 MB, free: 8.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.2175/0.2175, allocations: 49.9 MB / 306.7 MB, free: 13.62 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.713e-06/6.753e-06, allocations: 0 / 363.2 MB, free: 25.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.09772, allocations: 50.48 MB / 413.7 MB, free: 6.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2895/0.3873, allocations: 74.83 MB / 488.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.3875, allocations: 68.69 kB / 488.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.04373/0.4313, allocations: 15.98 MB / 0.4928 GB, free: 6.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.517e-05/0.4314, allocations: 13.97 kB / 0.4928 GB, free: 6.199 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.004216/0.4356, allocations: 1.458 MB / 0.4942 GB, free: 5.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4356, allocations: 9.281 kB / 0.4942 GB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003023/0.4387, allocations: 0.4981 MB / 0.4947 GB, free: 5.121 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009561/0.4396, allocations: 0.5967 MB / 0.4953 GB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.4399, allocations: 203.5 kB / 0.4955 GB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.44, allocations: 42.22 kB / 0.4955 GB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001473/0.4415, allocations: 0.7497 MB / 0.4962 GB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.4429, allocations: 0.7026 MB / 0.4969 GB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.4429, allocations: 0 / 0.4969 GB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.443, allocations: 0.9688 kB / 0.4969 GB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.4431, allocations: 16 kB / 0.4969 GB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006422/0.4495, allocations: 3.199 MB / 0.5001 GB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.4507, allocations: 0.6272 MB / 0.5007 GB, free: 2.715 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008362/0.4516, allocations: 0.5095 MB / 0.5012 GB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.4517, allocations: 16.72 kB / 0.5012 GB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.4517, allocations: 46.16 kB / 0.5012 GB, free: 2.648 MB / 330.7 MB Notification: Performance of pre-optimization done (n=79): time 2.435e-06/0.4517, allocations: 0 / 0.5012 GB, free: 2.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=79): time 0.01326/0.465, allocations: 4.119 MB / 0.5053 GB, free: 1.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.4651, allocations: 59.88 kB / 0.5053 GB, free: 1.367 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.4662, allocations: 0.5138 MB / 0.5058 GB, free: 1.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001986/0.4665, allocations: 25.7 kB / 0.5058 GB, free: 1.188 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.4666, allocations: 265.6 kB / 0.5061 GB, free: 0.9883 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003258/0.467, allocations: 267.6 kB / 0.5063 GB, free: 0.7891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.467, allocations: 0 / 0.5063 GB, free: 0.7891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4672, allocations: 387 kB / 0.5067 GB, free: 460 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007668/0.4679, allocations: 406 kB / 0.5071 GB, free: 452 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006563/0.4686, allocations: 494.1 kB / 0.5076 GB, free: 184 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/0.4694, allocations: 449.3 kB / 0.508 GB, free: 15.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4694, allocations: 4 kB / 0.508 GB, free: 15.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.013/0.4824, allocations: 4.234 MB / 0.5121 GB, free: 12.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.4825, allocations: 4 kB / 0.5121 GB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.4825, allocations: 4 kB / 0.5121 GB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006051/0.4886, allocations: 1.783 MB / 0.5139 GB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/0.4893, allocations: 95.64 kB / 0.514 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/0.5041, allocations: 6.237 MB / 0.5201 GB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.5055, allocations: 155.2 kB / 0.5202 GB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.764e-05/0.5056, allocations: 26.88 kB / 0.5202 GB, free: 5.715 MB / 346.7 MB Warning: Assuming fixed start value for the following 4 variables: order6Type2_1.e2d:VARIABLE(start = order6Type2_1.e2d0 ) "d-axis sub-transient voltage" type: Real order6Type2_1.e2q:VARIABLE(start = order6Type2_1.e2q0 ) "q-axis sub-transient voltage" type: Real order6Type2_1.e1d:VARIABLE(start = order6Type2_1.e1d0 ) "d-axis transient voltage" type: Real order6Type2_1.e1q:VARIABLE(start = order6Type2_1.e1q0 ) "q-axis transient voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pwLine1.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine2.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine1.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine2.ir.re:VARIABLE() "Real part of complex number" type: Real pwLinewithOpening1.is.im:VARIABLE() "Imaginary 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 pwLinewithOpening1.is.re:VARIABLE() "Real part of complex number" type: Real pwLine4.is.re:VARIABLE() "Real part of complex number" type: Real pwLine4.is.im:VARIABLE() "Imaginary 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 pwLine1.is.re:VARIABLE() "Real part of complex number" type: Real pwLine1.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine3.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine3.ir.im:VARIABLE() "Imaginary 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 (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.0003298/0.506, allocations: 142.3 kB / 0.5204 GB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.5062, allocations: 71.06 kB / 0.5204 GB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/0.5193, allocations: 4.263 MB / 0.5246 GB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.5194, allocations: 8 kB / 0.5246 GB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5194, allocations: 4 kB / 0.5246 GB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.5194, allocations: 3.984 kB / 0.5246 GB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.5209, allocations: 0.9682 MB / 0.5256 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.521, allocations: 3.938 kB / 0.5256 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005973/0.5216, allocations: 83.89 kB / 0.5257 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005544/0.5271, allocations: 1.702 MB / 0.5273 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.5273, allocations: 8 kB / 0.5273 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.5406, allocations: 5.616 MB / 0.5328 GB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.5406, allocations: 0 / 0.5328 GB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01438/0.555, allocations: 4.969 MB / 0.5377 GB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/0.5554, allocations: 175.9 kB / 0.5378 GB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/0.5557, allocations: 0 / 0.5378 GB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.5569, allocations: 115.8 kB / 0.5379 GB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000325/0.5573, allocations: 108.5 kB / 0.538 GB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.182e-05/0.5574, allocations: 16 kB / 0.5381 GB, free: 3.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0006161/0.558, allocations: 406.9 kB / 0.5384 GB, free: 3.344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001257/0.5593, allocations: 311.4 kB / 0.5387 GB, free: 3.039 MB / 362.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 () * 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.0003025/0.5596, allocations: 136 kB / 0.5389 GB, free: 2.902 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005372/0.565, allocations: 1.891 MB / 0.5407 GB, free: 1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.565, allocations: 0 / 0.5407 GB, free: 1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0042/0.5692, allocations: 1.405 MB / 0.5421 GB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.5697, allocations: 46.08 kB / 0.5421 GB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.5735, allocations: 1.198 MB / 0.5433 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008373/0.5744, allocations: 1.028 MB / 0.5443 GB, free: 13.25 MB / 378.7 MB Notification: Performance of SimCode: time 9.61e-07/0.5744, allocations: 4 kB / 0.5443 GB, free: 13.25 MB / 378.7 MB Notification: Performance of Templates: time 0.02907/0.6035, allocations: 17.34 MB / 0.5612 GB, free: 11.94 MB / 394.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)