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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001269/0.001269, allocations: 183.8 kB / 8.354 MB, free: 0.7305 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.301/1.301, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001588/0.001588, allocations: 121.5 kB / 248.1 MB, free: 20 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.417e-05/1.42e-05, allocations: 0 / 298.1 MB, free: 35.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06923/0.06925, allocations: 44.5 MB / 342.6 MB, free: 6.988 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2841/0.3534, allocations: 82.8 MB / 425.4 MB, free: 9.727 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.3537, allocations: 82.11 kB / 425.5 MB, free: 9.715 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1129/0.4666, allocations: 53.23 MB / 478.7 MB, free: 6.168 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4666, allocations: 0 / 478.7 MB, free: 6.168 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001261/0.4668, allocations: 71.88 kB / 478.8 MB, free: 6.098 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.005613/0.4724, allocations: 2.742 MB / 481.5 MB, free: 3.301 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4724, allocations: 12.03 kB / 481.5 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002669/0.4751, allocations: 0.5976 MB / 482.1 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003152/0.4783, allocations: 1.814 MB / 483.9 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.187e-05/0.4784, allocations: 84 kB / 484 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/0.4787, allocations: 156 kB / 484.2 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004078/0.4828, allocations: 2.632 MB / 486.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004666/0.4874, allocations: 3.075 MB / 489.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.351e-05/0.4875, allocations: 0 / 489.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.4877, allocations: 4 kB / 489.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.129e-05/0.4878, allocations: 109.4 kB / 490 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/0.5027, allocations: 10.01 MB / 500 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004792/0.5076, allocations: 4.56 MB / 0.4927 GB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.5088, allocations: 0.8405 MB / 0.4935 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004015/0.5128, allocations: 2.417 MB / 0.4959 GB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.5128, allocations: 51.42 kB / 0.4959 GB, free: 7.812 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 2.935e-06/0.5128, allocations: 0 / 0.4959 GB, free: 7.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=102): time 0.002857/0.5157, allocations: 1.506 MB / 0.4974 GB, free: 6.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.5158, allocations: 89.98 kB / 0.4975 GB, free: 6.184 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/0.5178, allocations: 1.113 MB / 0.4986 GB, free: 5.059 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.039e-05/0.5179, allocations: 25.7 kB / 0.4986 GB, free: 5.027 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008381/0.5188, allocations: 1.16 MB / 0.4997 GB, free: 3.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.5191, allocations: 339 kB / 0.5001 GB, free: 3.516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.5191, allocations: 0 / 0.5001 GB, free: 3.516 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5193, allocations: 349.9 kB / 0.5004 GB, free: 3.168 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007443/0.52, allocations: 0.514 MB / 0.5009 GB, free: 2.656 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000834/0.5209, allocations: 0.7717 MB / 0.5017 GB, free: 1.773 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.5222, allocations: 0.7848 MB / 0.5024 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.5222, allocations: 0 / 0.5024 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003301/0.5256, allocations: 1.906 MB / 0.5043 GB, free: 15.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.5256, allocations: 8 kB / 0.5043 GB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.5256, allocations: 8.281 kB / 0.5043 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.5266, allocations: 396.6 kB / 0.5047 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009735/0.5276, allocations: 215.7 kB / 0.5049 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006414/0.534, allocations: 5.864 MB / 0.5106 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009765/0.535, allocations: 126.9 kB / 0.5107 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.5352, allocations: 47.94 kB / 0.5108 GB, free: 8.188 MB / 378.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 (107): * Single equations (assignments): 105 * 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.0002248/0.5354, allocations: 124.7 kB / 0.5109 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.5357, allocations: 134.4 kB / 0.511 GB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.5388, allocations: 1.643 MB / 0.5126 GB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.5388, allocations: 8 kB / 0.5126 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/0.5389, allocations: 8 kB / 0.5126 GB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.5389, allocations: 3.984 kB / 0.5126 GB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00648/0.5454, allocations: 3.586 MB / 0.5162 GB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5454, allocations: 0 / 0.5162 GB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000656/0.5461, allocations: 135.8 kB / 0.5163 GB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008937/0.547, allocations: 385.7 kB / 0.5166 GB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.242e-05/0.5471, allocations: 23.92 kB / 0.5167 GB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006237/0.5533, allocations: 5.854 MB / 0.5224 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.5533, allocations: 4.031 kB / 0.5224 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003887/0.5572, allocations: 2.554 MB / 0.5249 GB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/0.5577, allocations: 235.3 kB / 0.5251 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.558, allocations: 15.98 kB / 0.5251 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008825/0.5589, allocations: 87.91 kB / 0.5252 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.5591, allocations: 92.69 kB / 0.5253 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/0.5592, allocations: 31.98 kB / 0.5253 GB, free: 8.875 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001444/0.5607, allocations: 0.8412 MB / 0.5262 GB, free: 8.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5607, allocations: 0 / 0.5262 GB, free: 8.027 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001852/0.5625, allocations: 0.6336 MB / 0.5268 GB, free: 7.391 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 (62): * 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: 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.0002836/0.5628, allocations: 153.9 kB / 0.5269 GB, free: 7.238 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002407/0.5652, allocations: 1.621 MB / 0.5285 GB, free: 5.594 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5652, allocations: 0 / 0.5285 GB, free: 5.594 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.5668, allocations: 1.048 MB / 0.5295 GB, free: 4.527 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.5681, allocations: 236.5 kB / 0.5297 GB, free: 4.293 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006559/0.5746, allocations: 3.621 MB / 0.5333 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1732/0.7478, allocations: 2.223 MB / 0.5355 GB, free: 96.08 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001038/0.7489, allocations: 330.6 kB / 0.5358 GB, free: 96.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.7491, allocations: 80.81 kB / 0.5358 GB, free: 96.07 MB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.7491, allocations: 0 / 0.5358 GB, free: 96.07 MB / 394.7 MB Notification: Performance of Templates: time 0.02776/0.7768, allocations: 17.04 MB / 0.5525 GB, free: 95.38 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)