Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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) 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(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [: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.003776/0.003776, allocations: 180.4 kB / 7.454 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.463/1.463, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001948/0.001948, allocations: 99.94 kB / 217.7 MB, free: 8.238 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.575e-06/7.615e-06, allocations: 0 / 261.7 MB, free: 26.67 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08863/0.08866, allocations: 38.76 MB / 300.5 MB, free: 3.906 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2905/0.3793, allocations: 76.5 MB / 377 MB, free: 8.133 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.3796, allocations: 76.64 kB / 377.1 MB, free: 8.094 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.1311/0.5107, allocations: 50.91 MB / 428 MB, free: 11.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003028/0.511, allocations: 67.88 kB / 428.1 MB, free: 11 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.0103/0.5214, allocations: 2.662 MB / 430.7 MB, free: 8.281 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.5214, allocations: 12.03 kB / 430.7 MB, free: 8.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002762/0.5242, allocations: 408.4 kB / 431.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005566/0.5298, allocations: 1.775 MB / 432.9 MB, free: 6.031 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.53, allocations: 83.94 kB / 433 MB, free: 5.949 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008924/0.5309, allocations: 144 kB / 433.1 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006244/0.5371, allocations: 2.384 MB / 435.5 MB, free: 3.418 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00725/0.5444, allocations: 2.914 MB / 438.4 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.658e-05/0.5445, allocations: 0 / 438.4 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002625/0.5447, allocations: 0 / 438.4 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.5449, allocations: 101 kB / 438.5 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01793/0.5628, allocations: 9.355 MB / 447.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.5639, allocations: 0.6304 MB / 448.5 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.565, allocations: 0.7198 MB / 449.2 MB, free: 5.227 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/0.5651, allocations: 8.766 kB / 449.2 MB, free: 5.219 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.5651, allocations: 51.33 kB / 449.3 MB, free: 5.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=88): time 3.256e-06/0.5651, allocations: 0 / 449.3 MB, free: 5.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.002668/0.5678, allocations: 1.313 MB / 450.6 MB, free: 3.832 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.5679, allocations: 85.55 kB / 450.7 MB, free: 3.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.5695, allocations: 1.125 MB / 451.8 MB, free: 2.594 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.005e-05/0.5696, allocations: 29.7 kB / 451.8 MB, free: 2.559 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007397/0.5704, allocations: 0.9219 MB / 452.8 MB, free: 1.621 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.5707, allocations: 295.6 kB / 453 MB, free: 1.328 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.5707, allocations: 0 / 453 MB, free: 1.328 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.5709, allocations: 353.8 kB / 453.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006785/0.5716, allocations: 482.4 kB / 453.9 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008385/0.5724, allocations: 0.6918 MB / 454.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007993/0.5732, allocations: 0.5909 MB / 455.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5732, allocations: 0 / 455.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002727/0.576, allocations: 1.66 MB / 456.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.576, allocations: 4 kB / 456.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.576, allocations: 11.98 kB / 456.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.5772, allocations: 439.2 kB / 457.3 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007367/0.5779, allocations: 171.7 kB / 457.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007462/0.5854, allocations: 6.031 MB / 463.5 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.5865, allocations: 95.16 kB / 463.5 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.214e-05/0.5866, allocations: 39.94 kB / 463.6 MB, free: 6.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 78 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002525/0.5869, allocations: 128.6 kB / 463.7 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.5871, allocations: 134.4 kB / 463.8 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00043/0.5875, allocations: 143 kB / 464 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.5876, allocations: 12 kB / 464 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-05/0.5876, allocations: 12 kB / 464 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.5876, allocations: 3.984 kB / 464 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006056/0.5937, allocations: 3.462 MB / 467.5 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.5937, allocations: 4 kB / 467.5 MB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.5942, allocations: 108.2 kB / 467.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009223/0.5951, allocations: 396.2 kB / 468 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.189e-05/0.5952, allocations: 27.89 kB / 468 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1688/0.764, allocations: 5.637 MB / 473.6 MB, free: 119.4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.7641, allocations: 2.375 kB / 473.6 MB, free: 119.4 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003107/0.7672, allocations: 2.318 MB / 475.9 MB, free: 118.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006962/0.7679, allocations: 332.1 kB / 476.3 MB, free: 118.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.7681, allocations: 21.42 kB / 476.3 MB, free: 118.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007224/0.7688, allocations: 77.8 kB / 476.4 MB, free: 118.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.769, allocations: 60.44 kB / 476.4 MB, free: 118.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-05/0.7691, allocations: 31.66 kB / 476.5 MB, free: 118.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001215/0.7703, allocations: 0.8643 MB / 477.3 MB, free: 118.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001775/0.7721, allocations: 0.5774 MB / 477.9 MB, free: 118.6 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002957/0.7724, allocations: 145.8 kB / 478 MB, free: 118.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002155/0.7745, allocations: 1.419 MB / 479.5 MB, free: 118.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.7746, allocations: 3.969 kB / 479.5 MB, free: 118.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.7759, allocations: 0.9241 MB / 480.4 MB, free: 118.1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.7771, allocations: 237.9 kB / 480.6 MB, free: 118.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006532/0.7836, allocations: 3.492 MB / 484.1 MB, free: 117.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001864/0.7855, allocations: 2.205 MB / 486.3 MB, free: 116.5 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.7855, allocations: 0 / 486.3 MB, free: 116.5 MB / 346.7 MB Notification: Performance of Templates: time 0.02921/0.8147, allocations: 16.94 MB / 0.4915 GB, free: 115.7 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)