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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001466/0.001466, allocations: 166.8 kB / 7.636 MB, free: 1.418 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.315/1.315, allocations: 170.6 MB / 178.7 MB, free: 15.58 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.001753/0.001753, allocations: 99.45 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.602e-05, allocations: 0 / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06503/0.06506, allocations: 38.77 MB / 301 MB, free: 3.625 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.263/0.3281, allocations: 76.57 MB / 377.6 MB, free: 7.938 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.3284, allocations: 84.56 kB / 377.6 MB, free: 7.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1175/0.4459, allocations: 51.18 MB / 428.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.446, allocations: 3.938 kB / 428.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001582/0.4461, allocations: 63.94 kB / 428.9 MB, free: 10.32 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.006196/0.4523, allocations: 2.675 MB / 431.6 MB, free: 7.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4524, allocations: 8.031 kB / 431.6 MB, free: 7.582 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.4538, allocations: 412.4 kB / 432 MB, free: 7.176 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003369/0.4572, allocations: 1.752 MB / 433.7 MB, free: 5.363 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.202e-05/0.4573, allocations: 80 kB / 433.8 MB, free: 5.285 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003137/0.4576, allocations: 151.8 kB / 434 MB, free: 5.137 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003843/0.4615, allocations: 2.314 MB / 436.3 MB, free: 2.816 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004658/0.4662, allocations: 2.867 MB / 439.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.206e-05/0.4662, allocations: 3.984 kB / 439.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.4664, allocations: 0 / 439.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.999e-05/0.4665, allocations: 101 kB / 439.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0146/0.4811, allocations: 9.278 MB / 448.5 MB, free: 6.105 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.4829, allocations: 1.419 MB / 449.9 MB, free: 4.562 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009016/0.4838, allocations: 0.6479 MB / 450.6 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.745e-05/0.4838, allocations: 8.766 kB / 450.6 MB, free: 3.902 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/0.4839, allocations: 47.27 kB / 450.6 MB, free: 3.848 MB / 330.7 MB Notification: Performance of pre-optimization done (n=88): time 3.186e-06/0.4839, allocations: 0 / 450.6 MB, free: 3.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.002236/0.4862, allocations: 1.252 MB / 451.9 MB, free: 2.578 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.4862, allocations: 93.48 kB / 452 MB, free: 2.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.4879, allocations: 1.101 MB / 453.1 MB, free: 1.355 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.539e-05/0.4879, allocations: 25.7 kB / 453.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007291/0.4887, allocations: 1.105 MB / 454.2 MB, free: 208 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.4889, allocations: 299.5 kB / 454.5 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.489, allocations: 0 / 454.5 MB, free: 15.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4891, allocations: 349.9 kB / 454.8 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006028/0.4897, allocations: 458.4 kB / 455.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008028/0.4906, allocations: 0.6801 MB / 456 MB, free: 14.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007578/0.4913, allocations: 0.5641 MB / 456.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.4913, allocations: 0 / 456.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002543/0.4939, allocations: 1.593 MB / 458.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4939, allocations: 12.03 kB / 458.1 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.4939, allocations: 8 kB / 458.1 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009482/0.4949, allocations: 407.9 kB / 458.5 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/0.4956, allocations: 171.8 kB / 458.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006838/0.5024, allocations: 5.944 MB / 464.7 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.5035, allocations: 107 kB / 464.8 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.882e-05/0.5036, allocations: 40 kB / 464.8 MB, free: 5.25 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 (86): * Single equations (assignments): 84 * 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.0002215/0.5038, allocations: 124.7 kB / 464.9 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.504, allocations: 126.4 kB / 465 MB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.5044, allocations: 147 kB / 465.2 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5045, allocations: 11.94 kB / 465.2 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.978e-05/0.5045, allocations: 12 kB / 465.2 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.5045, allocations: 3.984 kB / 465.2 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005194/0.5097, allocations: 3.259 MB / 468.5 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5097, allocations: 0 / 468.5 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.5102, allocations: 107.8 kB / 468.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008846/0.5111, allocations: 390.1 kB / 469 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/0.5112, allocations: 19.98 kB / 469 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1692/0.6804, allocations: 5.858 MB / 474.8 MB, free: 81.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.956e-06/0.6805, allocations: 4.844 kB / 474.8 MB, free: 81.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003339/0.6838, allocations: 2.239 MB / 477.1 MB, free: 81.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006457/0.6845, allocations: 334 kB / 477.4 MB, free: 81.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.6847, allocations: 18.5 kB / 477.4 MB, free: 81.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007633/0.6854, allocations: 75.91 kB / 477.5 MB, free: 81.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.6858, allocations: 92.28 kB / 477.6 MB, free: 81.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.63e-05/0.6858, allocations: 29.02 kB / 477.6 MB, free: 81.1 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001546/0.6874, allocations: 0.8427 MB / 478.5 MB, free: 80.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6874, allocations: 0 / 478.5 MB, free: 80.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002386/0.6898, allocations: 0.5873 MB / 479.1 MB, free: 80.91 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.000379/0.6902, allocations: 135.5 kB / 479.2 MB, free: 80.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00279/0.693, allocations: 1.448 MB / 480.6 MB, free: 80.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.693, allocations: 3.781 kB / 480.6 MB, free: 80.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.6948, allocations: 0.9828 MB / 481.6 MB, free: 80.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.6966, allocations: 242.4 kB / 481.9 MB, free: 80.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007352/0.704, allocations: 3.463 MB / 485.3 MB, free: 79.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/0.7054, allocations: 2.169 MB / 487.5 MB, free: 78.71 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008416/0.7063, allocations: 267.8 kB / 487.7 MB, free: 78.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.7065, allocations: 73.11 kB / 487.8 MB, free: 78.7 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7065, allocations: 0 / 487.8 MB, free: 78.7 MB / 346.7 MB Notification: Performance of Templates: time 0.02389/0.7304, allocations: 16 MB / 0.492 GB, free: 77.83 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)