Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_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.2+maint.om/package.mo): time 0.001047/0.001047, allocations: 190.2 kB / 8.138 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.093/1.093, allocations: 194.2 MB / 202.8 MB, free: 8.68 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.001695/0.001694, allocations: 118.8 kB / 247.7 MB, free: 6.422 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.711e-06/5.931e-06, allocations: 0 / 297.6 MB, free: 8.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07589/0.07591, allocations: 44.48 MB / 342.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2062/0.2821, allocations: 82.73 MB / 424.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/0.2824, allocations: 86.47 kB / 424.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.127/0.4094, allocations: 52.94 MB / 477.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002218/0.4097, allocations: 63.94 kB / 477.9 MB, free: 14.8 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.007707/0.4174, allocations: 2.737 MB / 480.6 MB, free: 12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.4174, allocations: 12.03 kB / 480.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003829/0.4213, allocations: 0.5937 MB / 481.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00417/0.4255, allocations: 1.822 MB / 483 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.4256, allocations: 88 kB / 483.1 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006298/0.4263, allocations: 163.8 kB / 483.3 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005765/0.432, allocations: 2.697 MB / 486 MB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007063/0.4391, allocations: 3.135 MB / 489.1 MB, free: 3.301 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.698e-05/0.4392, allocations: 3.938 kB / 489.1 MB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004052/0.4397, allocations: 4 kB / 489.1 MB, free: 3.293 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001203/0.4398, allocations: 109.3 kB / 489.2 MB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02001/0.4598, allocations: 10.09 MB / 499.3 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.4612, allocations: 0.8147 MB / 0.4884 GB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.4626, allocations: 0.9237 MB / 0.4893 GB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00458/0.4672, allocations: 2.55 MB / 0.4918 GB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.4673, allocations: 47.56 kB / 0.4919 GB, free: 4.316 MB / 378.7 MB Notification: Performance of pre-optimization done (n=117): time 3.296e-06/0.4673, allocations: 0 / 0.4919 GB, free: 4.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.003147/0.4704, allocations: 1.593 MB / 0.4934 GB, free: 2.707 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.4705, allocations: 90.11 kB / 0.4935 GB, free: 2.602 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.4721, allocations: 1.14 MB / 0.4946 GB, free: 1.449 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.515e-05/0.4722, allocations: 25.7 kB / 0.4946 GB, free: 1.418 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005282/0.4727, allocations: 0.9571 MB / 0.4956 GB, free: 456 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/0.473, allocations: 386.2 kB / 0.4959 GB, free: 64 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/0.4731, allocations: 0 / 0.4959 GB, free: 64 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4733, allocations: 361.8 kB / 0.4963 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008589/0.4741, allocations: 0.6037 MB / 0.4969 GB, free: 15.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.4752, allocations: 0.8694 MB / 0.4977 GB, free: 14.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.4765, allocations: 0.7791 MB / 0.4985 GB, free: 13.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.4765, allocations: 4 kB / 0.4985 GB, free: 13.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003553/0.4801, allocations: 1.994 MB / 0.5004 GB, free: 11.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4801, allocations: 4 kB / 0.5004 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.4801, allocations: 8 kB / 0.5004 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.4812, allocations: 406.3 kB / 0.5008 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.4823, allocations: 239.7 kB / 0.5011 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006889/0.4892, allocations: 5.658 MB / 0.5066 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.4904, allocations: 118.8 kB / 0.5067 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.4905, allocations: 51.98 kB / 0.5067 GB, free: 4.633 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 120 * 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 prepare postOptimizeDAE: time 0.0002718/0.4908, allocations: 136.6 kB / 0.5069 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003596/0.4912, allocations: 138.3 kB / 0.507 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003536/0.4947, allocations: 1.731 MB / 0.5087 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.4948, allocations: 12 kB / 0.5087 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.4948, allocations: 8 kB / 0.5087 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.4948, allocations: 3.984 kB / 0.5087 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1088/0.6036, allocations: 3.91 MB / 0.5125 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.6037, allocations: 0 / 0.5125 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006859/0.6044, allocations: 159.6 kB / 0.5127 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008724/0.6052, allocations: 387.2 kB / 0.5131 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-05/0.6053, allocations: 32.7 kB / 0.5131 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005224/0.6106, allocations: 5.656 MB / 0.5186 GB, free: 129.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.6106, allocations: 6.906 kB / 0.5186 GB, free: 129.9 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003152/0.6138, allocations: 2.676 MB / 0.5212 GB, free: 129.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/0.6141, allocations: 243.6 kB / 0.5215 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.6143, allocations: 18.69 kB / 0.5215 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008558/0.6151, allocations: 79.2 kB / 0.5216 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.6153, allocations: 77.67 kB / 0.5216 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/0.6154, allocations: 37.09 kB / 0.5217 GB, free: 129.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0009454/0.6164, allocations: 0.8629 MB / 0.5225 GB, free: 129.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001582/0.6179, allocations: 0.6228 MB / 0.5231 GB, free: 129.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,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 (77): * Single equations (assignments): 75 * 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%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002621/0.6182, allocations: 151.3 kB / 0.5233 GB, free: 129.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002114/0.6203, allocations: 1.728 MB / 0.525 GB, free: 128.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6204, allocations: 7.062 kB / 0.525 GB, free: 128.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.6218, allocations: 1.052 MB / 0.526 GB, free: 128.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.6229, allocations: 233.9 kB / 0.5262 GB, free: 128.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006004/0.6289, allocations: 3.774 MB / 0.5299 GB, free: 127.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/0.6309, allocations: 2.304 MB / 0.5321 GB, free: 127 MB / 394.7 MB Notification: Performance of SimCode: time 1.313e-06/0.6309, allocations: 0 / 0.5321 GB, free: 127 MB / 394.7 MB Notification: Performance of Templates: time 0.03328/0.6642, allocations: 20.15 MB / 0.5518 GB, free: 126 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)