Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.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.001123/0.001123, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001035/0.001035, allocations: 195.7 kB / 16.26 MB, free: 6.625 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.392/1.392, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.001128/0.001128, allocations: 43.94 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2826, allocations: 46.63 MB / 324.9 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01661/0.2993, allocations: 16.25 MB / 341.1 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.3122, allocations: 4.604 MB / 345.7 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004664/0.3169, allocations: 107.7 kB / 345.8 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01585/0.3329, allocations: 6.811 MB / 352.6 MB, free: 8.223 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01084/0.3437, allocations: 1.672 MB / 354.3 MB, free: 6.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007146/0.3509, allocations: 1.516 MB / 355.8 MB, free: 5.023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01393/0.3648, allocations: 9.376 MB / 365.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03565/0.4005, allocations: 24.28 MB / 389.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008963/0.4095, allocations: 5.295 MB / 394.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01109/0.4207, allocations: 5.942 MB / 400.7 MB, free: 7.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00405/0.4247, allocations: 1.359 MB / 402.1 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00589/0.4306, allocations: 1.648 MB / 403.7 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003736/0.4344, allocations: 2.798 MB / 406.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01078/0.4452, allocations: 5.366 MB / 411.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02183/0.4671, allocations: 18.09 MB / 430 MB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.669e-06/0.4671, allocations: 0 / 430 MB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4672, allocations: 7.938 kB / 430 MB, free: 10.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006275/0.4678, allocations: 4 kB / 430 MB, free: 10.56 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04169/0.5095, allocations: 12.22 MB / 442.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.5096, allocations: 19.89 kB / 442.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03442/0.544, allocations: 6.174 MB / 448.4 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01486/0.5589, allocations: 5.164 MB / 453.6 MB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007306/0.5597, allocations: 0.6743 MB / 454.2 MB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005118/0.5648, allocations: 0.8749 MB / 455.1 MB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4614/1.026, allocations: 14.75 MB / 469.9 MB, free: 95.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002638/1.026, allocations: 6.406 kB / 469.9 MB, free: 95.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001672/1.028, allocations: 369.3 kB / 470.2 MB, free: 94.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004573/1.029, allocations: 0.4967 MB / 470.7 MB, free: 94.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02393/1.053, allocations: 13.56 MB / 484.3 MB, free: 84.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07045/1.123, allocations: 44.6 MB / 0.5165 GB, free: 39.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009981/1.133, allocations: 11.72 MB / 0.5279 GB, free: 26.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004145/1.137, allocations: 3.224 MB / 0.5311 GB, free: 23.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003546/1.138, allocations: 180.5 kB / 0.5313 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.05e-05/1.138, allocations: 82.55 kB / 0.5313 GB, free: 22.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=421): time 6.542e-06/1.138, allocations: 0 / 0.5313 GB, free: 22.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=421): time 0.0174/1.155, allocations: 9.724 MB / 0.5408 GB, free: 13.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/1.155, allocations: 125.1 kB / 0.541 GB, free: 12.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004082/1.159, allocations: 3.144 MB / 0.544 GB, free: 9.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004254/1.16, allocations: 97.7 kB / 0.5441 GB, free: 9.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001528/1.161, allocations: 3.679 MB / 0.5477 GB, free: 5.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009833/1.162, allocations: 1.438 MB / 0.5491 GB, free: 4.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/1.164, allocations: 1.136 MB / 0.5502 GB, free: 3.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/1.164, allocations: 309.1 kB / 0.5505 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003238/1.167, allocations: 2.904 MB / 0.5534 GB, free: 204 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005839/1.173, allocations: 4.98 MB / 0.5582 GB, free: 10.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01067/1.184, allocations: 8.404 MB / 0.5664 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.342e-05/1.184, allocations: 16 kB / 0.5664 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01566/1.199, allocations: 9.239 MB / 0.5755 GB, free: 7.602 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.23e-05/1.199, allocations: 40.03 kB / 0.5755 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000132/1.2, allocations: 64 kB / 0.5756 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003018/1.203, allocations: 1.126 MB / 0.5767 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00485/1.207, allocations: 1.299 MB / 0.5779 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/1.222, allocations: 10.72 MB / 0.5884 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006011/1.229, allocations: 0.7434 MB / 0.5891 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007511/1.229, allocations: 280 kB / 0.5894 GB, free: 9.047 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006611/1.236, allocations: 3.427 MB / 0.5927 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008458/1.237, allocations: 355.5 kB / 0.5931 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/1.248, allocations: 7.035 MB / 0.6 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008512/1.257, allocations: 5.882 MB / 0.6057 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.704e-05/1.257, allocations: 8 kB / 0.6057 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.946e-05/1.257, allocations: 23.92 kB / 0.6057 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2756/1.533, allocations: 15.54 MB / 0.6209 GB, free: 143.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.413e-05/1.533, allocations: 15.38 kB / 0.6209 GB, free: 143.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002938/1.536, allocations: 0.7967 MB / 0.6217 GB, free: 143.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002695/1.538, allocations: 1.031 MB / 0.6227 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004838/1.539, allocations: 110.4 kB / 0.6228 GB, free: 143.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/1.55, allocations: 10.47 MB / 0.633 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/1.55, allocations: 19.41 kB / 0.633 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/1.564, allocations: 10.93 MB / 0.6437 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001999/1.566, allocations: 1.007 MB / 0.6447 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004864/1.566, allocations: 94.33 kB / 0.6448 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/1.568, allocations: 281 kB / 0.6451 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000662/1.569, allocations: 343.9 kB / 0.6454 GB, free: 132.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/1.569, allocations: 142 kB / 0.6455 GB, free: 132.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002582/1.572, allocations: 2.123 MB / 0.6476 GB, free: 131.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.082e-06/1.572, allocations: 0 / 0.6476 GB, free: 131.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006801/1.579, allocations: 2.223 MB / 0.6498 GB, free: 130 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006671/1.579, allocations: 306.2 kB / 0.6501 GB, free: 129.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01948/1.599, allocations: 11.66 MB / 0.6614 GB, free: 119.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/1.599, allocations: 0 / 0.6614 GB, free: 119.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004976/1.604, allocations: 3.728 MB / 0.6651 GB, free: 115.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004184/1.608, allocations: 0.8011 MB / 0.6659 GB, free: 115.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02478/1.633, allocations: 19.96 MB / 0.6854 GB, free: 95.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004371/1.637, allocations: 5.941 MB / 0.6912 GB, free: 89.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004928/1.642, allocations: 2.154 MB / 0.6933 GB, free: 87.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008168/1.643, allocations: 319.4 kB / 0.6936 GB, free: 87.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.542e-06/1.643, allocations: 4 kB / 0.6936 GB, free: 87.29 MB / 446.1 MB Notification: Performance of Templates: time 0.08502/1.728, allocations: 61.7 MB / 0.7538 GB, free: 25.6 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)