Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.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.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.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.001661/0.001661, allocations: 192 kB / 8.137 MB, free: 2.211 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.207/1.207, allocations: 194.2 MB / 202.8 MB, free: 8.656 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.00176/0.00176, allocations: 125.2 kB / 247.8 MB, free: 6.414 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.484e-06, allocations: 4 kB / 297.6 MB, free: 8.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08229/0.08231, allocations: 44.49 MB / 342.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2421/0.3244, allocations: 79.62 MB / 421.7 MB, free: 15.53 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.3247, allocations: 77.89 kB / 421.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.07641/0.4011, allocations: 30.11 MB / 451.9 MB, free: 7.113 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001944/0.4014, allocations: 35.94 kB / 451.9 MB, free: 7.078 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005149/0.4065, allocations: 1.672 MB / 453.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.4066, allocations: 11.97 kB / 453.6 MB, free: 5.461 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.4087, allocations: 321.9 kB / 453.9 MB, free: 5.164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.4112, allocations: 1.088 MB / 455 MB, free: 4.258 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/0.4113, allocations: 48 kB / 455 MB, free: 4.211 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003469/0.4117, allocations: 79.91 kB / 455.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002886/0.4146, allocations: 1.485 MB / 456.6 MB, free: 3.188 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003594/0.4182, allocations: 1.63 MB / 458.2 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/0.4182, allocations: 0 / 458.2 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002116/0.4184, allocations: 0 / 458.2 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.695e-05/0.4185, allocations: 49.98 kB / 458.3 MB, free: 1.938 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/0.4294, allocations: 5.382 MB / 463.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009787/0.4304, allocations: 0.7715 MB / 464.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007499/0.4312, allocations: 493.1 kB / 464.9 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002794/0.434, allocations: 1.572 MB / 466.5 MB, free: 9.895 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.4341, allocations: 46.48 kB / 466.5 MB, free: 9.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=61): time 2.915e-06/0.4341, allocations: 0 / 466.5 MB, free: 9.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.001909/0.436, allocations: 0.8823 MB / 467.4 MB, free: 8.953 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.4361, allocations: 85.11 kB / 467.5 MB, free: 8.852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.4377, allocations: 0.8712 MB / 468.4 MB, free: 7.973 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.132e-05/0.4378, allocations: 25.7 kB / 468.4 MB, free: 7.941 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.4382, allocations: 0.5408 MB / 468.9 MB, free: 7.387 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.4384, allocations: 205 kB / 469.1 MB, free: 7.184 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.4384, allocations: 0 / 469.1 MB, free: 7.184 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4386, allocations: 345.8 kB / 469.5 MB, free: 6.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005425/0.4391, allocations: 365.4 kB / 469.8 MB, free: 6.484 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/0.4397, allocations: 0.5135 MB / 470.3 MB, free: 5.906 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007935/0.4406, allocations: 468.3 kB / 470.8 MB, free: 5.449 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4406, allocations: 0 / 470.8 MB, free: 5.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001733/0.4423, allocations: 1.005 MB / 471.8 MB, free: 4.434 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4423, allocations: 4 kB / 471.8 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.4424, allocations: 4.562 kB / 471.8 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.4424, allocations: 12 kB / 471.8 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000952/0.4434, allocations: 199.7 kB / 472 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/0.4434, allocations: 11.98 kB / 472 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007404/0.4441, allocations: 83.19 kB / 472.1 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.886e-05/0.4442, allocations: 32 kB / 472.1 MB, free: 4.094 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 90 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.4444, allocations: 120.7 kB / 472.3 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.4446, allocations: 94.88 kB / 472.4 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.4462, allocations: 0.7247 MB / 473.1 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.4462, allocations: 4 kB / 473.1 MB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.4462, allocations: 7.938 kB / 473.1 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4462, allocations: 3.984 kB / 473.1 MB, free: 3.117 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003916/0.4502, allocations: 2.228 MB / 475.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.4502, allocations: 8.031 kB / 475.3 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.4508, allocations: 107.9 kB / 475.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000472/0.4513, allocations: 152.6 kB / 475.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-05/0.4514, allocations: 11.98 kB / 475.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003065/0.4544, allocations: 2.47 MB / 478.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.4545, allocations: 8 kB / 478.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002207/0.4567, allocations: 1.532 MB / 479.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003592/0.4571, allocations: 191.8 kB / 479.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/0.4573, allocations: 7.984 kB / 479.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007106/0.458, allocations: 55.95 kB / 479.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.4582, allocations: 43.92 kB / 479.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/0.4582, allocations: 23.91 kB / 479.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.00114/0.4594, allocations: 0.6709 MB / 480.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001296/0.4607, allocations: 346.5 kB / 480.9 MB, free: 11.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002844/0.461, allocations: 143.2 kB / 481.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.4622, allocations: 0.7857 MB / 481.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4622, allocations: 7.938 kB / 481.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009178/0.4632, allocations: 0.5412 MB / 482.4 MB, free: 9.523 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008956/0.4641, allocations: 135.2 kB / 482.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/0.4691, allocations: 2.293 MB / 484.8 MB, free: 7.043 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001617/0.4707, allocations: 1.593 MB / 486.4 MB, free: 5.418 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4707, allocations: 0 / 486.4 MB, free: 5.418 MB / 362.7 MB Notification: Performance of Templates: time 0.02232/0.4931, allocations: 10.72 MB / 497.2 MB, free: 10.73 MB / 378.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)