Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001293/0.001293, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001569/0.001569, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0005445/0.0005446, allocations: 14.81 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2563, allocations: 47.58 MB / 326.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006425/0.2628, allocations: 5.808 MB / 332.3 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00472/0.2675, allocations: 2.128 MB / 334.4 MB, free: 11.19 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008075/0.2684, allocations: 45.69 kB / 334.4 MB, free: 11.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007954/0.2692, allocations: 346.6 kB / 334.8 MB, free: 10.89 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.2713, allocations: 0.7022 MB / 335.5 MB, free: 10.34 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007137/0.272, allocations: 268.1 kB / 335.7 MB, free: 10.13 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00278/0.2748, allocations: 2.023 MB / 337.7 MB, free: 8.188 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.277, allocations: 1.981 MB / 339.7 MB, free: 6.176 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/0.2783, allocations: 0.9653 MB / 340.7 MB, free: 5.207 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.2798, allocations: 1.175 MB / 341.9 MB, free: 4.027 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.2801, allocations: 156 kB / 342 MB, free: 3.875 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006632/0.2807, allocations: 251.9 kB / 342.3 MB, free: 3.629 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005027/0.2812, allocations: 0.6113 MB / 342.9 MB, free: 3.016 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005068/0.2818, allocations: 0.551 MB / 343.4 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003565/0.2853, allocations: 3.709 MB / 347.1 MB, free: 14.74 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2853, allocations: 0 / 347.1 MB, free: 14.74 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.2854, allocations: 4 kB / 347.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.822e-05/0.2855, allocations: 0 / 347.1 MB, free: 14.73 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.007466/0.2929, allocations: 3.138 MB / 350.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.293, allocations: 12.03 kB / 350.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003651/0.2966, allocations: 0.6912 MB / 351 MB, free: 10.83 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/0.3, allocations: 1.628 MB / 352.6 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.3002, allocations: 201.3 kB / 352.8 MB, free: 8.941 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004075/0.3006, allocations: 267.8 kB / 353.1 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005861/0.3065, allocations: 3.583 MB / 356.7 MB, free: 5.043 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-05/0.3065, allocations: 0 / 356.7 MB, free: 5.043 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002474/0.3068, allocations: 108 kB / 356.8 MB, free: 4.938 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.3069, allocations: 101.3 kB / 356.9 MB, free: 4.836 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005185/0.3121, allocations: 3.101 MB / 360 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01677/0.3289, allocations: 10.56 MB / 370.5 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004927/0.3338, allocations: 4.673 MB / 375.2 MB, free: 1.488 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004043/0.3379, allocations: 2.499 MB / 377.7 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.3379, allocations: 51.52 kB / 377.7 MB, free: 14.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=108): time 2.816e-06/0.338, allocations: 4 kB / 377.7 MB, free: 14.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=108): time 0.006186/0.3442, allocations: 2.764 MB / 380.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.3442, allocations: 90.11 kB / 380.6 MB, free: 11.92 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.346, allocations: 1.354 MB / 381.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.521e-05/0.3461, allocations: 41.7 kB / 382 MB, free: 10.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007576/0.3468, allocations: 1.145 MB / 383.1 MB, free: 9.344 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002771/0.3471, allocations: 382.6 kB / 383.5 MB, free: 8.965 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.3472, allocations: 24 kB / 383.5 MB, free: 8.941 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3474, allocations: 357.9 kB / 383.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009278/0.3483, allocations: 0.5959 MB / 384.5 MB, free: 7.988 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.3494, allocations: 0.8544 MB / 385.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.3505, allocations: 0.742 MB / 386.1 MB, free: 6.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.3506, allocations: 4 kB / 386.1 MB, free: 6.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003253/0.3538, allocations: 2.023 MB / 388.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.3539, allocations: 8 kB / 388.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.3539, allocations: 11.98 kB / 388.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009819/0.3549, allocations: 402.9 kB / 388.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008755/0.3557, allocations: 231.7 kB / 388.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007151/0.3629, allocations: 6.231 MB / 395 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.364, allocations: 138.8 kB / 395.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.3641, allocations: 55.92 kB / 395.2 MB, free: 12.91 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (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.001669/0.3658, allocations: 0.8606 MB / 396 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.366, allocations: 138.3 kB / 396.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002967/0.369, allocations: 1.756 MB / 397.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.369, allocations: 12 kB / 397.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3691, allocations: 8 kB / 397.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.3691, allocations: 3.984 kB / 397.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006426/0.3755, allocations: 4.093 MB / 402 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.3755, allocations: 4 kB / 402 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000599/0.3761, allocations: 155.9 kB / 402.2 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008563/0.377, allocations: 389.5 kB / 402.6 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.482e-05/0.3771, allocations: 35.97 kB / 402.6 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006675/0.3838, allocations: 6.236 MB / 408.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3838, allocations: 0 / 408.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/0.3876, allocations: 2.692 MB / 411.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.388, allocations: 247.2 kB / 411.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.3882, allocations: 39.94 kB / 411.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007657/0.389, allocations: 103.9 kB / 411.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.3892, allocations: 92.73 kB / 412 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/0.3892, allocations: 31.98 kB / 412 MB, free: 11.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001218/0.3905, allocations: 0.9509 MB / 413 MB, free: 10.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3905, allocations: 0 / 413 MB, free: 10.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001784/0.3923, allocations: 0.6688 MB / 413.7 MB, free: 9.934 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (67): * Single equations (assignments): 65 * 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%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002868/0.3926, allocations: 155.1 kB / 413.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002852/0.3954, allocations: 1.855 MB / 415.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3954, allocations: 3.906 kB / 415.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.3972, allocations: 1.169 MB / 416.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.3983, allocations: 284.4 kB / 417.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008218/0.4065, allocations: 5.582 MB / 422.7 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002035/0.4086, allocations: 2.227 MB / 424.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001083/0.4097, allocations: 351 kB / 425.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.41, allocations: 83.42 kB / 425.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.41, allocations: 0 / 425.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Templates: time 0.03328/0.4433, allocations: 19.22 MB / 444.6 MB, free: 10.82 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) Environment - environmentSimulation: