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.0009894/0.0009894, allocations: 182.1 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.272/1.272, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001826/0.001826, allocations: 112.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.299e-05, allocations: 0 / 304.9 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07004/0.07009, allocations: 44.49 MB / 349.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2633/0.3334, allocations: 83.46 MB / 432.9 MB, free: 8.938 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/0.3336, allocations: 80.23 kB / 433 MB, free: 8.926 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1193/0.453, allocations: 53.87 MB / 486.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.453, allocations: 0 / 486.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001577/0.4532, allocations: 67.94 kB / 486.9 MB, free: 12.82 MB / 346.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.006972/0.4602, allocations: 2.746 MB / 489.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4602, allocations: 12.03 kB / 489.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003051/0.4633, allocations: 0.5976 MB / 490.3 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003861/0.4672, allocations: 1.814 MB / 492.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.4673, allocations: 201.3 kB / 492.3 MB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004332/0.4678, allocations: 256 kB / 492.5 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005455/0.4732, allocations: 3.469 MB / 496 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/0.4733, allocations: 0 / 496 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/0.4736, allocations: 112 kB / 496.1 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.223e-05/0.4737, allocations: 109.4 kB / 496.2 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004427/0.4781, allocations: 2.778 MB / 499 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01619/0.4943, allocations: 10.52 MB / 0.4976 GB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005033/0.4994, allocations: 4.618 MB / 0.5021 GB, free: 352 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.5008, allocations: 0.8834 MB / 0.503 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003946/0.5047, allocations: 2.441 MB / 0.5053 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.5048, allocations: 51.44 kB / 0.5054 GB, free: 12.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 3.236e-06/0.5048, allocations: 7.875 kB / 0.5054 GB, free: 12.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=102): time 0.002517/0.5073, allocations: 1.455 MB / 0.5068 GB, free: 11.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.5074, allocations: 85.98 kB / 0.5069 GB, free: 11.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.509, allocations: 1.206 MB / 0.5081 GB, free: 10.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.66e-05/0.5091, allocations: 41.7 kB / 0.5081 GB, free: 10.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007327/0.5099, allocations: 1.168 MB / 0.5093 GB, free: 8.844 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.5101, allocations: 354.8 kB / 0.5096 GB, free: 8.492 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.5102, allocations: 23.94 kB / 0.5096 GB, free: 8.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.5104, allocations: 349.9 kB / 0.5099 GB, free: 8.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007817/0.5112, allocations: 0.5374 MB / 0.5105 GB, free: 7.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009429/0.5121, allocations: 0.8055 MB / 0.5113 GB, free: 6.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009443/0.5131, allocations: 0.6778 MB / 0.5119 GB, free: 5.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5131, allocations: 0 / 0.5119 GB, free: 5.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002928/0.516, allocations: 1.902 MB / 0.5138 GB, free: 4.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.516, allocations: 19.38 kB / 0.5138 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.5161, allocations: 8 kB / 0.5138 GB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009259/0.517, allocations: 397.5 kB / 0.5142 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008061/0.5178, allocations: 227.6 kB / 0.5144 GB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006986/0.5248, allocations: 6.043 MB / 0.5203 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009404/0.5258, allocations: 150.8 kB / 0.5204 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/0.5259, allocations: 48 kB / 0.5205 GB, free: 12.92 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 (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.0002166/0.5261, allocations: 172.7 kB / 0.5207 GB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.5263, allocations: 130.4 kB / 0.5208 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/0.5291, allocations: 1.609 MB / 0.5224 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.5291, allocations: 12 kB / 0.5224 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5291, allocations: 4 kB / 0.5224 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.5291, allocations: 7.969 kB / 0.5224 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005907/0.535, allocations: 3.914 MB / 0.5262 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.5351, allocations: 8 kB / 0.5262 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005533/0.5356, allocations: 127.9 kB / 0.5263 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008757/0.5365, allocations: 405.6 kB / 0.5267 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.922e-05/0.5366, allocations: 39.98 kB / 0.5268 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006735/0.5433, allocations: 6.031 MB / 0.5326 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.5434, allocations: 7.984 kB / 0.5326 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003492/0.5469, allocations: 2.495 MB / 0.5351 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004312/0.5473, allocations: 243.3 kB / 0.5353 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.5475, allocations: 31.98 kB / 0.5353 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007824/0.5483, allocations: 103.9 kB / 0.5354 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.5485, allocations: 88.73 kB / 0.5355 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.684e-05/0.5486, allocations: 31.98 kB / 0.5356 GB, free: 12.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001238/0.5498, allocations: 0.9254 MB / 0.5365 GB, free: 12.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.383e-06/0.5498, allocations: 4 kB / 0.5365 GB, free: 12.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001691/0.5515, allocations: 0.6959 MB / 0.5371 GB, free: 11.36 MB / 410.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.000285/0.5518, allocations: 175 kB / 0.5373 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00254/0.5544, allocations: 1.715 MB / 0.539 GB, free: 9.434 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.5544, allocations: 4.188 kB / 0.539 GB, free: 9.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.556, allocations: 1.093 MB / 0.5401 GB, free: 8.309 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.5572, allocations: 260.4 kB / 0.5403 GB, free: 8.055 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005848/0.5631, allocations: 3.703 MB / 0.5439 GB, free: 4.289 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/0.565, allocations: 2.219 MB / 0.5461 GB, free: 2.035 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001009/0.566, allocations: 338.7 kB / 0.5464 GB, free: 1.699 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.5662, allocations: 83.42 kB / 0.5465 GB, free: 1.617 MB / 410.7 MB Notification: Performance of SimCode: time 1.844e-06/0.5663, allocations: 4 kB / 0.5465 GB, free: 1.613 MB / 410.7 MB Notification: Performance of Templates: time 0.2013/0.7676, allocations: 19.33 MB / 0.5654 GB, free: 106.3 MB / 410.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)