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.0009503/0.0009503, allocations: 170.3 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.095/1.095, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001549/0.001549, allocations: 114.8 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.806e-05/2.809e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06967/0.06972, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2742/0.344, allocations: 77.24 MB / 384.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.3443, allocations: 79.83 kB / 385 MB, free: 15.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1236/0.4679, allocations: 51.77 MB / 436.7 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4679, allocations: 0 / 436.7 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001535/0.4681, allocations: 71.86 kB / 436.8 MB, free: 0.7148 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.006694/0.4748, allocations: 2.675 MB / 439.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.4748, allocations: 8.031 kB / 439.5 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.4764, allocations: 416.4 kB / 439.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003616/0.48, allocations: 1.752 MB / 441.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.4802, allocations: 185 kB / 441.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003739/0.4806, allocations: 243.9 kB / 442 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005279/0.4858, allocations: 3.229 MB / 445.3 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.4859, allocations: 0 / 445.3 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/0.4861, allocations: 115.9 kB / 445.4 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.642e-05/0.4862, allocations: 97.05 kB / 445.5 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003859/0.4901, allocations: 2.46 MB / 447.9 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01457/0.5047, allocations: 9.765 MB / 457.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.5064, allocations: 1.466 MB / 459.2 MB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009398/0.5074, allocations: 0.6794 MB / 459.9 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.5074, allocations: 8.766 kB / 459.9 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.5075, allocations: 47.27 kB / 459.9 MB, free: 8.828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=88): time 3.347e-06/0.5075, allocations: 0 / 459.9 MB, free: 8.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=88): time 0.002267/0.5097, allocations: 1.338 MB / 461.2 MB, free: 7.473 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.5098, allocations: 93.53 kB / 461.3 MB, free: 7.363 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.5114, allocations: 1.186 MB / 462.5 MB, free: 6.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.278e-05/0.5115, allocations: 41.7 kB / 462.6 MB, free: 6.117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007108/0.5122, allocations: 1.114 MB / 463.7 MB, free: 4.988 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.5124, allocations: 311.5 kB / 464 MB, free: 4.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.5125, allocations: 20 kB / 464 MB, free: 4.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.5126, allocations: 345.9 kB / 464.3 MB, free: 4.316 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006375/0.5132, allocations: 482.3 kB / 464.8 MB, free: 3.844 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008024/0.514, allocations: 0.6984 MB / 465.5 MB, free: 3.055 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008098/0.5149, allocations: 0.5964 MB / 466.1 MB, free: 2.453 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.5149, allocations: 4 kB / 466.1 MB, free: 2.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002608/0.5175, allocations: 1.71 MB / 467.8 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.5175, allocations: 8 kB / 467.8 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.5176, allocations: 8 kB / 467.8 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009651/0.5185, allocations: 395.6 kB / 468.2 MB, free: 332 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/0.5192, allocations: 187.7 kB / 468.4 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1758/0.695, allocations: 6.125 MB / 474.5 MB, free: 79.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.6963, allocations: 129.7 kB / 474.7 MB, free: 79.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.114e-05/0.6964, allocations: 41.72 kB / 474.7 MB, free: 79.11 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.000242/0.6966, allocations: 156.8 kB / 474.9 MB, free: 79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/0.697, allocations: 135.5 kB / 475 MB, free: 78.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005086/0.6975, allocations: 161 kB / 475.1 MB, free: 78.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.6975, allocations: 10.28 kB / 475.1 MB, free: 78.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-05/0.6975, allocations: 9.875 kB / 475.2 MB, free: 78.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.6976, allocations: 4.5 kB / 475.2 MB, free: 78.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006231/0.7038, allocations: 3.697 MB / 478.9 MB, free: 78.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.7038, allocations: 2.906 kB / 478.9 MB, free: 78.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/0.7043, allocations: 104.5 kB / 479 MB, free: 78.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009175/0.7052, allocations: 405.2 kB / 479.4 MB, free: 78.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/0.7053, allocations: 31.03 kB / 479.4 MB, free: 78.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006129/0.7114, allocations: 6.048 MB / 485.4 MB, free: 75.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.7114, allocations: 6.062 kB / 485.4 MB, free: 75.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002834/0.7143, allocations: 2.329 MB / 487.8 MB, free: 74.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000656/0.7149, allocations: 340.7 kB / 488.1 MB, free: 74.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.7151, allocations: 36.09 kB / 488.1 MB, free: 74.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007058/0.7158, allocations: 89.19 kB / 488.2 MB, free: 74.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.716, allocations: 92.22 kB / 488.3 MB, free: 74.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.7161, allocations: 29.42 kB / 488.3 MB, free: 74.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001096/0.7172, allocations: 0.9254 MB / 489.3 MB, free: 74.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7172, allocations: 2.906 kB / 489.3 MB, free: 74.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0017/0.7189, allocations: 0.634 MB / 489.9 MB, free: 74.63 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.0002477/0.7192, allocations: 160.1 kB / 490.1 MB, free: 74.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.7213, allocations: 1.525 MB / 491.6 MB, free: 74.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7213, allocations: 3.5 kB / 491.6 MB, free: 74.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.7225, allocations: 1.039 MB / 492.6 MB, free: 74.01 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.7237, allocations: 279.7 kB / 492.9 MB, free: 74.01 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004856/0.7286, allocations: 3.513 MB / 496.4 MB, free: 73.13 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/0.7302, allocations: 2.178 MB / 498.6 MB, free: 72.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007915/0.731, allocations: 271.8 kB / 498.9 MB, free: 72.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.7312, allocations: 70.7 kB / 498.9 MB, free: 72.34 MB / 346.7 MB Notification: Performance of SimCode: time 2.195e-06/0.7312, allocations: 3.688 kB / 498.9 MB, free: 72.34 MB / 346.7 MB Notification: Performance of Templates: time 0.02734/0.7585, allocations: 18.32 MB / 0.5051 GB, free: 71.31 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)