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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 103 kB / 16.62 MB, free: 6.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 193.9 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 51.92 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1172, allocations: 46.62 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01053/0.1278, allocations: 7.143 MB / 333.3 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005047/0.1329, allocations: 2.204 MB / 335.5 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.1341, allocations: 39.81 kB / 335.5 MB, free: 11.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.1355, allocations: 382 kB / 335.9 MB, free: 10.97 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.1385, allocations: 0.7932 MB / 336.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.1397, allocations: 339.5 kB / 337 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004583/0.1443, allocations: 3.125 MB / 340.1 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003822/0.1481, allocations: 2.859 MB / 343 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.1498, allocations: 1.414 MB / 344.4 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.152, allocations: 1.716 MB / 346.1 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007277/0.1527, allocations: 364 kB / 346.5 MB, free: 296 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.154, allocations: 483.8 kB / 347 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009639/0.1549, allocations: 0.9076 MB / 347.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002248/0.1572, allocations: 1.61 MB / 349.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004193/0.1614, allocations: 4.607 MB / 354.1 MB, free: 8.668 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1614, allocations: 0 / 354.1 MB, free: 8.668 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1614, allocations: 0 / 354.1 MB, free: 8.668 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001387/0.1616, allocations: 0 / 354.1 MB, free: 8.668 MB / 302.1 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.007527/0.1691, allocations: 3.617 MB / 357.7 MB, free: 4.988 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1692, allocations: 12.03 kB / 357.7 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003347/0.1725, allocations: 0.6882 MB / 358.4 MB, free: 4.285 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.1748, allocations: 1.675 MB / 360.1 MB, free: 2.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.1749, allocations: 201.7 kB / 360.3 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/0.1753, allocations: 264.1 kB / 360.5 MB, free: 2.094 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005078/0.1803, allocations: 3.61 MB / 364.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.588e-05/0.1804, allocations: 0 / 364.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000225/0.1806, allocations: 108 kB / 364.3 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-05/0.1807, allocations: 109.4 kB / 364.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004421/0.1851, allocations: 3.097 MB / 367.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/0.1988, allocations: 10.49 MB / 378 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1433/0.3421, allocations: 4.674 MB / 382.6 MB, free: 47.54 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.3437, allocations: 0.9571 MB / 383.6 MB, free: 47.22 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003691/0.3474, allocations: 2.46 MB / 386 MB, free: 45.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3475, allocations: 45.91 kB / 386.1 MB, free: 45.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.565e-06/0.3475, allocations: 0 / 386.1 MB, free: 45.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.005952/0.3534, allocations: 2.702 MB / 388.8 MB, free: 44.97 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.3535, allocations: 89.3 kB / 388.9 MB, free: 44.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.3552, allocations: 1.379 MB / 390.3 MB, free: 44.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.008e-05/0.3553, allocations: 42.61 kB / 390.3 MB, free: 44.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004813/0.3557, allocations: 1.164 MB / 391.5 MB, free: 43.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.3559, allocations: 360.3 kB / 391.8 MB, free: 43.28 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002955/0.3562, allocations: 218.1 kB / 392 MB, free: 43.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.285e-05/0.3563, allocations: 353.2 kB / 392.4 MB, free: 42.85 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008063/0.3571, allocations: 0.5779 MB / 392.9 MB, free: 42.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009277/0.3581, allocations: 0.8629 MB / 393.8 MB, free: 42.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.3597, allocations: 1.488 MB / 395.3 MB, free: 41.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.3597, allocations: 7.938 kB / 395.3 MB, free: 41.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002756/0.3625, allocations: 1.995 MB / 397.3 MB, free: 40.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3625, allocations: 8.25 kB / 397.3 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.3625, allocations: 12.19 kB / 397.3 MB, free: 40.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008572/0.3634, allocations: 406 kB / 397.7 MB, free: 40.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007782/0.3642, allocations: 225.9 kB / 397.9 MB, free: 40.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005488/0.3697, allocations: 6.65 MB / 404.6 MB, free: 35.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007547/0.3705, allocations: 138.6 kB / 404.7 MB, free: 35.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-05/0.3705, allocations: 52.89 kB / 404.8 MB, free: 35.29 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009982/0.3715, allocations: 0.8651 MB / 405.6 MB, free: 34.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.3717, allocations: 136.1 kB / 405.8 MB, free: 34.65 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.3741, allocations: 1.668 MB / 407.4 MB, free: 33.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.3741, allocations: 12 kB / 407.5 MB, free: 33.56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3741, allocations: 9.969 kB / 407.5 MB, free: 33.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.3741, allocations: 11.95 kB / 407.5 MB, free: 33.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004454/0.3786, allocations: 3.986 MB / 411.5 MB, free: 29.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3786, allocations: 6.312 kB / 411.5 MB, free: 29.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.3791, allocations: 140 kB / 411.6 MB, free: 29.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007466/0.3799, allocations: 389.4 kB / 412 MB, free: 28.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/0.3799, allocations: 35.97 kB / 412 MB, free: 28.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005204/0.3852, allocations: 6.641 MB / 418.7 MB, free: 22.01 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3852, allocations: 4.031 kB / 418.7 MB, free: 22.01 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/0.3881, allocations: 2.508 MB / 421.2 MB, free: 19.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.3883, allocations: 251.3 kB / 421.4 MB, free: 19.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.3885, allocations: 35.98 kB / 421.5 MB, free: 19.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007152/0.3892, allocations: 83.91 kB / 421.5 MB, free: 19.08 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.3894, allocations: 96.73 kB / 421.6 MB, free: 18.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.3895, allocations: 31.98 kB / 421.7 MB, free: 18.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009398/0.3904, allocations: 0.963 MB / 422.6 MB, free: 17.99 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3904, allocations: 0 / 422.6 MB, free: 17.99 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001504/0.3919, allocations: 0.6765 MB / 423.3 MB, free: 17.31 MB / 318.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000238/0.3922, allocations: 151.8 kB / 423.4 MB, free: 17.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002576/0.3948, allocations: 1.964 MB / 425.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3948, allocations: 0 / 425.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.3963, allocations: 1.145 MB / 426.6 MB, free: 14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.3976, allocations: 316.3 kB / 426.9 MB, free: 13.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/0.4035, allocations: 5.735 MB / 432.6 MB, free: 7.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/0.4048, allocations: 2.184 MB / 434.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001469/0.4063, allocations: 339 kB / 435.1 MB, free: 5.352 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/0.4067, allocations: 87.42 kB / 435.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4067, allocations: 0 / 435.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of Templates: time 0.06/0.4667, allocations: 20.61 MB / 455.8 MB, free: 0.6602 MB / 334.1 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)