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.0007572/0.0007572, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005009/0.005009, allocations: 174.7 kB / 16.27 MB, free: 6.613 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.374/1.374, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.0004488/0.0004486, allocations: 8.375 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2181, allocations: 47.59 MB / 327 MB, free: 1.754 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006707/0.2249, allocations: 6.641 MB / 333.7 MB, free: 12.49 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004817/0.2298, allocations: 2.181 MB / 335.9 MB, free: 10.7 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006437/0.2304, allocations: 45.44 kB / 335.9 MB, free: 10.69 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008019/0.2312, allocations: 375 kB / 336.3 MB, free: 10.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.2332, allocations: 0.8049 MB / 337.1 MB, free: 9.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.2339, allocations: 331.5 kB / 337.4 MB, free: 9.246 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003752/0.2377, allocations: 3.444 MB / 340.8 MB, free: 5.789 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/0.2405, allocations: 2.366 MB / 343.2 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.242, allocations: 1.023 MB / 344.2 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.2437, allocations: 1.392 MB / 345.6 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002305/0.2439, allocations: 156 kB / 345.8 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006741/0.2446, allocations: 279.8 kB / 346 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005547/0.2452, allocations: 0.646 MB / 346.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.2466, allocations: 1.342 MB / 348 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003554/0.2501, allocations: 4.356 MB / 352.4 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2501, allocations: 4 kB / 352.4 MB, free: 10.13 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2502, allocations: 0 / 352.4 MB, free: 10.13 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.307e-05/0.2502, allocations: 0 / 352.4 MB, free: 10.13 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.006861/0.2571, allocations: 3.114 MB / 355.5 MB, free: 6.957 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2571, allocations: 8.031 kB / 355.5 MB, free: 6.949 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/0.2607, allocations: 0.6922 MB / 356.2 MB, free: 6.254 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002686/0.2634, allocations: 1.671 MB / 357.9 MB, free: 4.523 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.2636, allocations: 193.7 kB / 358.1 MB, free: 4.332 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000408/0.264, allocations: 276 kB / 358.3 MB, free: 4.062 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005999/0.27, allocations: 3.622 MB / 362 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.847e-05/0.2701, allocations: 4 kB / 362 MB, free: 392 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.2704, allocations: 104 kB / 362.1 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.612e-05/0.2705, allocations: 105.4 kB / 362.2 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005139/0.2756, allocations: 3.121 MB / 365.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01554/0.2912, allocations: 10.56 MB / 375.8 MB, free: 2.141 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005202/0.2964, allocations: 4.696 MB / 380.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.2978, allocations: 0.9603 MB / 381.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003497/0.3013, allocations: 2.472 MB / 384 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3014, allocations: 51.38 kB / 384 MB, free: 9.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.916e-06/0.3014, allocations: 0 / 384 MB, free: 9.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.00627/0.3077, allocations: 2.758 MB / 386.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.3077, allocations: 93.92 kB / 386.9 MB, free: 6.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.3094, allocations: 1.374 MB / 388.3 MB, free: 4.902 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.166e-05/0.3095, allocations: 45.7 kB / 388.3 MB, free: 4.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007036/0.3102, allocations: 1.168 MB / 389.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.3105, allocations: 362.8 kB / 389.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.3106, allocations: 97.66 kB / 389.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3108, allocations: 357.9 kB / 390.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009162/0.3117, allocations: 0.592 MB / 390.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.3128, allocations: 0.8693 MB / 391.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.3148, allocations: 1.512 MB / 393.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3148, allocations: 0 / 393.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003077/0.3179, allocations: 2.027 MB / 395.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3179, allocations: 8 kB / 395.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.318, allocations: 8 kB / 395.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009063/0.3189, allocations: 405.2 kB / 395.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007916/0.3197, allocations: 223.6 kB / 395.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006552/0.3262, allocations: 6.094 MB / 402 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008389/0.3271, allocations: 154.8 kB / 402.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.827e-05/0.3272, allocations: 47.98 kB / 402.2 MB, free: 6.406 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.001275/0.3285, allocations: 0.8603 MB / 403 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.3287, allocations: 138.3 kB / 403.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/0.3315, allocations: 1.702 MB / 404.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.3315, allocations: 8 kB / 404.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.3316, allocations: 8 kB / 404.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.3316, allocations: 7.969 kB / 404.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005896/0.3375, allocations: 4.012 MB / 408.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.3375, allocations: 11.94 kB / 408.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005697/0.3381, allocations: 144 kB / 409.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000897/0.339, allocations: 389.4 kB / 409.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-05/0.3391, allocations: 39.97 kB / 409.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00658/0.3457, allocations: 6.096 MB / 415.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3457, allocations: 0 / 415.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003794/0.3495, allocations: 2.551 MB / 418.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.3499, allocations: 243.2 kB / 418.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.35, allocations: 35.98 kB / 418.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007954/0.3508, allocations: 99.91 kB / 418.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.3511, allocations: 104.6 kB / 418.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.788e-05/0.3511, allocations: 31.98 kB / 418.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001239/0.3524, allocations: 0.9668 MB / 419.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3524, allocations: 0 / 419.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001666/0.3541, allocations: 0.6727 MB / 420.3 MB, free: 3.84 MB / 350.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.0002546/0.3543, allocations: 151 kB / 420.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002842/0.3572, allocations: 1.828 MB / 422.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3572, allocations: 0 / 422.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.3589, allocations: 1.153 MB / 423.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/0.3606, allocations: 288.5 kB / 423.7 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006965/0.3676, allocations: 5.834 MB / 429.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/0.3692, allocations: 2.184 MB / 431.7 MB, free: 8.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009256/0.3702, allocations: 343 kB / 432 MB, free: 7.914 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.3704, allocations: 83.42 kB / 432.1 MB, free: 7.832 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3704, allocations: 0 / 432.1 MB, free: 7.832 MB / 366.1 MB Notification: Performance of Templates: time 0.03094/0.4013, allocations: 19.58 MB / 451.7 MB, free: 4.219 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)