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.001426/0.001426, allocations: 103.4 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.001656/0.001657, allocations: 196.8 kB / 16.26 MB, free: 6.621 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.476/1.476, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.002184/0.002184, allocations: 52.27 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2506, allocations: 46.63 MB / 324.9 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008008/0.2587, allocations: 7.148 MB / 332 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004174/0.2629, allocations: 2.205 MB / 334.2 MB, free: 10.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009762/0.2639, allocations: 41.5 kB / 334.2 MB, free: 10.46 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009152/0.2648, allocations: 368.6 kB / 334.6 MB, free: 10.2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.2668, allocations: 0.7943 MB / 335.4 MB, free: 9.508 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.2675, allocations: 339.5 kB / 335.7 MB, free: 9.176 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003129/0.2707, allocations: 3.136 MB / 338.9 MB, free: 6.027 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002841/0.2735, allocations: 2.853 MB / 341.7 MB, free: 3.113 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.2749, allocations: 1.41 MB / 343.1 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.2767, allocations: 1.724 MB / 344.9 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004973/0.2772, allocations: 360 kB / 345.2 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000816/0.2781, allocations: 491.7 kB / 345.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007042/0.2788, allocations: 0.8959 MB / 346.6 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001487/0.2803, allocations: 1.61 MB / 348.2 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004082/0.2844, allocations: 4.619 MB / 352.8 MB, free: 7.988 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2844, allocations: 0 / 352.8 MB, free: 7.988 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2844, allocations: 0 / 352.8 MB, free: 7.988 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.638e-05/0.2845, allocations: 0 / 352.8 MB, free: 7.988 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.007746/0.2922, allocations: 3.621 MB / 356.4 MB, free: 4.305 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2923, allocations: 8.031 kB / 356.4 MB, free: 4.297 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/0.2957, allocations: 0.6882 MB / 357.1 MB, free: 3.605 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/0.2985, allocations: 1.663 MB / 358.8 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.2987, allocations: 197.7 kB / 359 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003685/0.299, allocations: 280 kB / 359.3 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005621/0.3047, allocations: 3.607 MB / 362.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.696e-05/0.3047, allocations: 0 / 362.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002254/0.305, allocations: 108 kB / 363 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-05/0.3051, allocations: 101.4 kB / 363.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004498/0.3096, allocations: 3.097 MB / 366.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01349/0.3231, allocations: 10.5 MB / 376.7 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00457/0.3277, allocations: 4.68 MB / 381.3 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.329, allocations: 0.9525 MB / 382.3 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003267/0.3322, allocations: 2.456 MB / 384.8 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.3323, allocations: 47.44 kB / 384.8 MB, free: 6.703 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.415e-06/0.3323, allocations: 3.938 kB / 384.8 MB, free: 6.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.005764/0.3381, allocations: 2.696 MB / 387.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.3381, allocations: 85.98 kB / 387.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.3397, allocations: 1.378 MB / 389 MB, free: 2.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.3397, allocations: 45.7 kB / 389 MB, free: 2.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006535/0.3404, allocations: 1.164 MB / 390.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.3406, allocations: 370.8 kB / 390.5 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.3409, allocations: 218.8 kB / 390.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3411, allocations: 349.9 kB / 391.1 MB, free: 300 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008384/0.3419, allocations: 0.5725 MB / 391.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.3429, allocations: 0.8692 MB / 392.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.3448, allocations: 1.488 MB / 394 MB, free: 13.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3448, allocations: 0 / 394 MB, free: 13.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002926/0.3477, allocations: 1.995 MB / 396 MB, free: 11.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3478, allocations: 8.219 kB / 396 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.3478, allocations: 12 kB / 396 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008705/0.3487, allocations: 409.2 kB / 396.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000765/0.3494, allocations: 223.7 kB / 396.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006751/0.3562, allocations: 6.641 MB / 403.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007538/0.357, allocations: 142.6 kB / 403.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.762e-05/0.3571, allocations: 55.98 kB / 403.5 MB, free: 3.363 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.001196/0.3583, allocations: 0.8604 MB / 404.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.3585, allocations: 138.3 kB / 404.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/0.3612, allocations: 1.675 MB / 406.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.3612, allocations: 11.94 kB / 406.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3612, allocations: 8 kB / 406.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.3612, allocations: 7.984 kB / 406.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005494/0.3667, allocations: 3.992 MB / 410.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3667, allocations: 0 / 410.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.3673, allocations: 143.8 kB / 410.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008204/0.3681, allocations: 401.4 kB / 410.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-05/0.3682, allocations: 35.97 kB / 410.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006726/0.3749, allocations: 6.639 MB / 417.4 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3749, allocations: 0 / 417.4 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003435/0.3784, allocations: 2.512 MB / 419.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003042/0.3787, allocations: 239.2 kB / 420.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.3789, allocations: 35.98 kB / 420.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007033/0.3796, allocations: 91.89 kB / 420.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.3798, allocations: 104.6 kB / 420.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.268e-05/0.3799, allocations: 36 kB / 420.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001176/0.381, allocations: 0.963 MB / 421.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3811, allocations: 0 / 421.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001651/0.3827, allocations: 0.6727 MB / 422 MB, free: 352 kB / 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.0002754/0.383, allocations: 147 kB / 422.2 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003089/0.3861, allocations: 1.969 MB / 424.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3861, allocations: 4 kB / 424.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.3877, allocations: 1.137 MB / 425.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.389, allocations: 312.3 kB / 425.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006507/0.3956, allocations: 5.736 MB / 431.3 MB, free: 6.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/0.3972, allocations: 2.184 MB / 433.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008859/0.3981, allocations: 347 kB / 433.8 MB, free: 4.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.3983, allocations: 87.42 kB / 433.9 MB, free: 4.277 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3983, allocations: 0 / 433.9 MB, free: 4.277 MB / 366.1 MB Notification: Performance of Templates: time 0.1739/0.5722, allocations: 20.61 MB / 454.5 MB, free: 112.2 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)