Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") [: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.2+maint.om/package.mo): time 0.001756/0.001756, allocations: 191.6 kB / 8.135 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.079/1.079, allocations: 194.2 MB / 202.8 MB, free: 8.75 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001799/0.001799, allocations: 122.4 kB / 247.8 MB, free: 6.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.494e-06, allocations: 4 kB / 297.6 MB, free: 8.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06938/0.0694, allocations: 44.49 MB / 342.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.2685, allocations: 89.41 MB / 431.5 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.2687, allocations: 84.75 kB / 431.6 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.8208/1.09, allocations: 306.9 MB / 0.7211 GB, free: 60.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003267/1.09, allocations: 180.5 kB / 0.7213 GB, free: 60.06 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.02811/1.118, allocations: 9.303 MB / 0.7304 GB, free: 57.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/1.118, allocations: 11.75 kB / 0.7304 GB, free: 57.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03254/1.151, allocations: 5.08 MB / 0.7353 GB, free: 56.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/1.166, allocations: 6.087 MB / 0.7413 GB, free: 55.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006115/1.166, allocations: 290.4 kB / 0.7416 GB, free: 55.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003113/1.169, allocations: 483.8 kB / 0.742 GB, free: 55.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02691/1.196, allocations: 14.47 MB / 0.7562 GB, free: 54.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03064/1.227, allocations: 15.57 MB / 0.7714 GB, free: 48.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002508/1.227, allocations: 14.97 kB / 0.7714 GB, free: 48.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001822/1.229, allocations: 6.031 kB / 0.7714 GB, free: 48.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005503/1.23, allocations: 0.7383 MB / 0.7721 GB, free: 48.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07677/1.306, allocations: 51 MB / 0.8219 GB, free: 3.508 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1356/1.442, allocations: 11.08 MB / 0.8327 GB, free: 89.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01132/1.454, allocations: 9.563 MB / 0.8421 GB, free: 89.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008712/1.454, allocations: 321.9 kB / 0.8424 GB, free: 89.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.399e-05/1.454, allocations: 109.6 kB / 0.8425 GB, free: 89.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=968): time 1.251e-05/1.455, allocations: 3.562 kB / 0.8425 GB, free: 89.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=968): time 0.02639/1.481, allocations: 18.34 MB / 0.8604 GB, free: 89.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/1.481, allocations: 158.6 kB / 0.8605 GB, free: 89.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/1.483, allocations: 1.546 MB / 0.862 GB, free: 89.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000895/1.484, allocations: 25.7 kB / 0.8621 GB, free: 89.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007811/1.485, allocations: 2.283 MB / 0.8643 GB, free: 88.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002399/1.487, allocations: 3.039 MB / 0.8673 GB, free: 86.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006385/1.488, allocations: 0 / 0.8673 GB, free: 86.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004225/1.488, allocations: 0.6507 MB / 0.8679 GB, free: 85.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008017/1.496, allocations: 6.858 MB / 0.8746 GB, free: 85.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008729/1.505, allocations: 7.444 MB / 0.8819 GB, free: 83.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/1.517, allocations: 8.136 MB / 0.8898 GB, free: 80.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.561e-05/1.517, allocations: 0 / 0.8898 GB, free: 80.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.02794/1.545, allocations: 19.02 MB / 0.9084 GB, free: 73.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/1.545, allocations: 6.469 kB / 0.9084 GB, free: 73.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.822e-05/1.545, allocations: 7.812 kB / 0.9084 GB, free: 73.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01217/1.557, allocations: 6.586 MB / 0.9148 GB, free: 71.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006666/1.564, allocations: 1.137 MB / 0.9159 GB, free: 71.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01481/1.579, allocations: 13.72 MB / 0.9293 GB, free: 64.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004974/1.584, allocations: 0.5903 MB / 0.9299 GB, free: 64.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009174/1.585, allocations: 274.2 kB / 0.9302 GB, free: 64.51 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: inductor_e.inductor[4].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[4].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_e.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_e.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] inductor_e.inductor[5].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[5].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_e.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star_e.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[5].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[5].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[4].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_e.plugToPins_p.pin_p[4].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: resistor_m.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_m.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_m.resistor[5].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_m.resistor[5].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_m.resistor[4].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_m.resistor[4].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_m.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_m.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] resistor_m.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [5] resistor_m.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star_m.plugToPins_p.pin_p[5].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[4].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[5].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[4].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] star_m.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 520 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of prepare postOptimizeDAE: time 0.001515/1.586, allocations: 296.2 kB / 0.9305 GB, free: 64.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.587, allocations: 405.7 kB / 0.9308 GB, free: 64.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02945/1.617, allocations: 20.43 MB / 0.9508 GB, free: 47.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002358/1.617, allocations: 282.7 kB / 0.9511 GB, free: 47.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.092e-05/1.617, allocations: 0 / 0.9511 GB, free: 47.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.141e-05/1.617, allocations: 38.34 kB / 0.9511 GB, free: 47.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04903/1.666, allocations: 34.07 MB / 0.9844 GB, free: 18.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.365e-05/1.666, allocations: 0 / 0.9844 GB, free: 18.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005924/1.672, allocations: 1.085 MB / 0.9854 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01217/1.684, allocations: 6.587 MB / 0.9919 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001237/1.685, allocations: 118.2 kB / 0.992 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01426/1.7, allocations: 13.72 MB / 1.005 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.7, allocations: 0 / 1.005 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1757/1.876, allocations: 30.49 MB / 1.035 GB, free: 88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004635/1.88, allocations: 2.126 MB / 1.037 GB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001462/1.882, allocations: 7.375 kB / 1.037 GB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003832/1.886, allocations: 232.8 kB / 1.037 GB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001443/1.887, allocations: 0.6874 MB / 1.038 GB, free: 87.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007705/1.888, allocations: 258.3 kB / 1.038 GB, free: 87.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001406/1.889, allocations: 1.183 MB / 1.04 GB, free: 87.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005046/1.894, allocations: 2.179 MB / 1.042 GB, free: 87.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (574): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009325/1.895, allocations: 196.3 kB / 1.042 GB, free: 87.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02235/1.918, allocations: 16.36 MB / 1.058 GB, free: 86.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.918, allocations: 0 / 1.058 GB, free: 86.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01277/1.93, allocations: 8.743 MB / 1.066 GB, free: 83.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003896/1.934, allocations: 435.8 kB / 1.067 GB, free: 83.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03646/1.971, allocations: 20.39 MB / 1.087 GB, free: 76.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009052/1.98, allocations: 6.693 MB / 1.093 GB, free: 73.79 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/1.98, allocations: 2.5 kB / 1.093 GB, free: 73.79 MB / 410.7 MB Notification: Performance of Templates: time 0.3175/2.297, allocations: 145.3 MB / 1.235 GB, free: 73.88 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)