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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005381/0.00538, allocations: 100.2 kB / 15.73 MB, free: 6.012 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.001149/0.00115, allocations: 197.3 kB / 16.68 MB, free: 5.934 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.499/1.499, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.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.001184/0.001184, allocations: 46 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08965/0.09084, allocations: 46.64 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007558/0.09844, allocations: 7.187 MB / 380.4 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0043/0.1028, allocations: 2.239 MB / 382.6 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000782/0.1036, allocations: 43.81 kB / 382.6 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.1048, allocations: 456.9 kB / 383.1 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.1071, allocations: 0.8898 MB / 384 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008211/0.1079, allocations: 375.4 kB / 384.3 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003483/0.1114, allocations: 3.148 MB / 387.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003145/0.1145, allocations: 2.847 MB / 390.3 MB, free: 4 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.1166, allocations: 1.421 MB / 391.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/0.1192, allocations: 1.685 MB / 393.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006081/0.1199, allocations: 360 kB / 393.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.121, allocations: 475.9 kB / 394.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007292/0.1217, allocations: 0.9038 MB / 395.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.1234, allocations: 1.61 MB / 396.8 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004605/0.1281, allocations: 4.65 MB / 401.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.1281, allocations: 4 kB / 401.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1281, allocations: 3.938 kB / 401.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.669e-05/0.1282, allocations: 0 / 401.4 MB, free: 4.875 MB / 334.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.007843/0.136, allocations: 3.625 MB / 405.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1361, allocations: 8.031 kB / 405.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003557/0.1397, allocations: 0.6882 MB / 405.8 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/0.1426, allocations: 1.686 MB / 407.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.1428, allocations: 201.7 kB / 407.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003842/0.1432, allocations: 268 kB / 407.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005897/0.1491, allocations: 3.61 MB / 411.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-05/0.1491, allocations: 0 / 411.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002498/0.1494, allocations: 108 kB / 411.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.411e-05/0.1495, allocations: 109.3 kB / 411.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004848/0.1544, allocations: 3.089 MB / 414.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/0.1694, allocations: 10.36 MB / 425.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00488/0.1743, allocations: 4.677 MB / 429.9 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.1756, allocations: 0.956 MB / 430.8 MB, free: 6.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003679/0.1793, allocations: 2.444 MB / 433.3 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.1794, allocations: 47.44 kB / 433.3 MB, free: 3.719 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 2.745e-06/0.1794, allocations: 4 kB / 433.3 MB, free: 3.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.006245/0.1857, allocations: 2.699 MB / 436 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.1857, allocations: 85.98 kB / 436.1 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.1878, allocations: 1.386 MB / 437.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.1879, allocations: 45.7 kB / 437.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007468/0.1887, allocations: 1.16 MB / 438.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.1889, allocations: 362.8 kB / 439 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000311/0.1892, allocations: 222.7 kB / 439.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1894, allocations: 353.9 kB / 439.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008867/0.1903, allocations: 0.5764 MB / 440.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.1914, allocations: 0.8608 MB / 441 MB, free: 11.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.1934, allocations: 1.485 MB / 442.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.1934, allocations: 4 kB / 442.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003221/0.1967, allocations: 1.995 MB / 444.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.1967, allocations: 15.94 kB / 444.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.1967, allocations: 8 kB / 444.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.1977, allocations: 405.2 kB / 444.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008244/0.1986, allocations: 215.7 kB / 445.1 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007186/0.2058, allocations: 6.639 MB / 451.8 MB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.2068, allocations: 146.7 kB / 451.9 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-05/0.2069, allocations: 48 kB / 452 MB, free: 400 kB / 382.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.2042/0.4111, allocations: 0.8719 MB / 452.8 MB, free: 68.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/0.4116, allocations: 134.5 kB / 453 MB, free: 68.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003586/0.4152, allocations: 1.663 MB / 454.6 MB, free: 68.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.4152, allocations: 10.44 kB / 454.7 MB, free: 68.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.4152, allocations: 11.16 kB / 454.7 MB, free: 68.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.4152, allocations: 5.672 kB / 454.7 MB, free: 68.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006719/0.422, allocations: 3.983 MB / 458.7 MB, free: 67.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.422, allocations: 8.344 kB / 458.7 MB, free: 67.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.4226, allocations: 136 kB / 458.8 MB, free: 67.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.4236, allocations: 400.5 kB / 459.2 MB, free: 67.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.252e-05/0.4237, allocations: 35.55 kB / 459.2 MB, free: 67.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006723/0.4305, allocations: 6.632 MB / 465.9 MB, free: 63.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4305, allocations: 2.844 kB / 465.9 MB, free: 63.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004136/0.4347, allocations: 2.508 MB / 468.4 MB, free: 62.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005501/0.4352, allocations: 242.1 kB / 468.6 MB, free: 61.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.4354, allocations: 38.64 kB / 468.6 MB, free: 61.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007967/0.4362, allocations: 91.23 kB / 468.7 MB, free: 61.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/0.4365, allocations: 92.95 kB / 468.8 MB, free: 61.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/0.4366, allocations: 33.89 kB / 468.8 MB, free: 61.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001369/0.438, allocations: 0.9605 MB / 469.8 MB, free: 61.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.438, allocations: 0 / 469.8 MB, free: 61.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002183/0.4402, allocations: 0.6823 MB / 470.5 MB, free: 61.34 MB / 382.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.0003238/0.4405, allocations: 154.8 kB / 470.6 MB, free: 61.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002808/0.4433, allocations: 1.815 MB / 472.5 MB, free: 60.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.4433, allocations: 0 / 472.5 MB, free: 60.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.4449, allocations: 1.145 MB / 473.6 MB, free: 59.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.4464, allocations: 308.4 kB / 473.9 MB, free: 59.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005744/0.4522, allocations: 4.575 MB / 478.5 MB, free: 57.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.4535, allocations: 2.174 MB / 480.7 MB, free: 55.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008383/0.4543, allocations: 354.4 kB / 481 MB, free: 55.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.4546, allocations: 87.42 kB / 481.1 MB, free: 55.06 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4546, allocations: 0 / 481.1 MB, free: 55.06 MB / 382.1 MB Notification: Performance of Templates: time 0.03059/0.4852, allocations: 21.08 MB / 0.4904 GB, free: 33.97 MB / 382.1 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)