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.001581/0.001581, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 195.5 kB / 16.53 MB, free: 6.668 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.364/1.364, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.001167/0.001167, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1851, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007848/0.1929, allocations: 7.195 MB / 332.5 MB, free: 12.15 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004318/0.1973, allocations: 2.232 MB / 334.7 MB, free: 10.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008239/0.1982, allocations: 44.5 kB / 334.8 MB, free: 10.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.1992, allocations: 446.7 kB / 335.2 MB, free: 9.945 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002362/0.2016, allocations: 0.8787 MB / 336.1 MB, free: 9.094 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008093/0.2024, allocations: 371.3 kB / 336.5 MB, free: 8.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003166/0.2056, allocations: 3.12 MB / 339.6 MB, free: 5.598 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002704/0.2083, allocations: 2.86 MB / 342.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.2098, allocations: 1.402 MB / 343.8 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.2116, allocations: 1.689 MB / 345.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004703/0.2121, allocations: 360 kB / 345.9 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008689/0.213, allocations: 479.9 kB / 346.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006986/0.2137, allocations: 0.8959 MB / 347.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.2155, allocations: 1.614 MB / 348.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003811/0.2193, allocations: 4.611 MB / 353.5 MB, free: 7.609 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2193, allocations: 0 / 353.5 MB, free: 7.609 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2193, allocations: 4 kB / 353.5 MB, free: 7.605 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.808e-05/0.2194, allocations: 0 / 353.5 MB, free: 7.605 MB / 286.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.007031/0.2264, allocations: 3.613 MB / 357.1 MB, free: 3.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2265, allocations: 12.03 kB / 357.1 MB, free: 3.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003469/0.2299, allocations: 0.6921 MB / 357.8 MB, free: 3.223 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.2324, allocations: 1.671 MB / 359.5 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.2326, allocations: 197.7 kB / 359.7 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003462/0.2329, allocations: 268 kB / 359.9 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005192/0.2381, allocations: 3.611 MB / 363.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.316e-05/0.2382, allocations: 0 / 363.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.2384, allocations: 111.9 kB / 363.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.732e-05/0.2385, allocations: 105.4 kB / 363.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004618/0.2431, allocations: 3.089 MB / 366.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01531/0.2585, allocations: 10.5 MB / 377.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00529/0.2638, allocations: 4.677 MB / 382 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.2653, allocations: 0.9522 MB / 383 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003958/0.2693, allocations: 2.46 MB / 385.4 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.2693, allocations: 47.44 kB / 385.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.015e-06/0.2694, allocations: 0 / 385.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006188/0.2756, allocations: 2.696 MB / 388.2 MB, free: 3.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.2756, allocations: 89.98 kB / 388.3 MB, free: 3.457 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.2775, allocations: 1.378 MB / 389.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.034e-05/0.2776, allocations: 41.7 kB / 389.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007159/0.2783, allocations: 1.168 MB / 390.8 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.2786, allocations: 358.8 kB / 391.2 MB, free: 492 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003189/0.2789, allocations: 218.8 kB / 391.4 MB, free: 264 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2791, allocations: 353.9 kB / 391.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009037/0.28, allocations: 0.5725 MB / 392.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.281, allocations: 0.8615 MB / 393.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/0.283, allocations: 1.492 MB / 394.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.2831, allocations: 4 kB / 394.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003307/0.2864, allocations: 1.995 MB / 396.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.2864, allocations: 12 kB / 396.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.2864, allocations: 8 kB / 396.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009421/0.2874, allocations: 405.2 kB / 397.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/0.2882, allocations: 231.6 kB / 397.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007077/0.2953, allocations: 6.643 MB / 404 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000864/0.2962, allocations: 146.6 kB / 404.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.869e-05/0.2963, allocations: 47.98 kB / 404.2 MB, free: 2.977 MB / 334.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.001217/0.2975, allocations: 0.8565 MB / 405 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/0.2978, allocations: 142.4 kB / 405.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/0.3006, allocations: 1.671 MB / 406.8 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.3006, allocations: 12 kB / 406.8 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.3006, allocations: 7.984 kB / 406.8 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.3006, allocations: 7.984 kB / 406.8 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005954/0.3066, allocations: 3.984 MB / 410.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.3066, allocations: 4 kB / 410.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005701/0.3072, allocations: 135.8 kB / 411 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009018/0.3081, allocations: 401.4 kB / 411.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.3082, allocations: 35.97 kB / 411.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006999/0.3152, allocations: 6.657 MB / 418.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3152, allocations: 4 kB / 418.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003976/0.3192, allocations: 2.5 MB / 420.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004898/0.3197, allocations: 239.2 kB / 420.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/0.3201, allocations: 35.92 kB / 420.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008853/0.3209, allocations: 95.89 kB / 420.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/0.3212, allocations: 96.67 kB / 421 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.3213, allocations: 28 kB / 421 MB, free: 1.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001643/0.3229, allocations: 0.9708 MB / 422 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3229, allocations: 0 / 422 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002442/0.3254, allocations: 0.6688 MB / 422.7 MB, free: 15.96 MB / 366.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.0003883/0.3258, allocations: 163 kB / 422.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003617/0.3294, allocations: 1.965 MB / 424.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.3294, allocations: 4.188 kB / 424.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.3312, allocations: 1.137 MB / 425.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.3329, allocations: 312.2 kB / 426.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007291/0.3402, allocations: 4.619 MB / 430.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00193/0.3422, allocations: 2.18 MB / 433 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001066/0.3432, allocations: 343 kB / 433.4 MB, free: 5.098 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.3435, allocations: 91.36 kB / 433.5 MB, free: 5.008 MB / 366.1 MB Notification: Performance of SimCode: time 1.041e-06/0.3435, allocations: 0 / 433.5 MB, free: 5.008 MB / 366.1 MB Notification: Performance of Templates: time 0.0346/0.3781, allocations: 20.76 MB / 454.2 MB, free: 216 kB / 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)