Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001056/0.001056, allocations: 105.9 kB / 16.92 MB, free: 6.184 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.001085/0.001085, allocations: 191.4 kB / 17.85 MB, free: 5.289 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.318/1.318, allocations: 205.1 MB / 223.7 MB, free: 12.33 MB / 190.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.001136/0.001136, allocations: 51.92 kB / 280 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08357/0.08472, allocations: 46.64 MB / 326.6 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00787/0.09263, allocations: 7.194 MB / 333.8 MB, free: 13.22 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003803/0.09646, allocations: 2.235 MB / 336.1 MB, free: 10.97 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004916/0.097, allocations: 43.81 kB / 336.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008343/0.09784, allocations: 448.9 kB / 336.5 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.09976, allocations: 0.8703 MB / 337.4 MB, free: 9.613 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007124/0.1005, allocations: 371.3 kB / 337.8 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003055/0.1035, allocations: 3.121 MB / 340.9 MB, free: 6.113 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002738/0.1063, allocations: 2.859 MB / 343.8 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.1079, allocations: 1.406 MB / 345.2 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.1098, allocations: 1.689 MB / 346.8 MB, free: 88 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004687/0.1103, allocations: 360 kB / 347.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008722/0.1111, allocations: 483.8 kB / 347.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007138/0.1119, allocations: 0.8998 MB / 348.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001689/0.1136, allocations: 1.602 MB / 350.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004019/0.1176, allocations: 4.611 MB / 354.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1176, allocations: 3.984 kB / 354.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1176, allocations: 0 / 354.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.076e-05/0.1177, allocations: 0 / 354.8 MB, free: 8.121 MB / 302.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.008093/0.1258, allocations: 3.617 MB / 358.4 MB, free: 4.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.1259, allocations: 12.03 kB / 358.4 MB, free: 4.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003658/0.1295, allocations: 0.6921 MB / 359.1 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002718/0.1323, allocations: 1.671 MB / 360.8 MB, free: 2.004 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.1324, allocations: 201.7 kB / 361 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003814/0.1328, allocations: 260.1 kB / 361.2 MB, free: 1.551 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005792/0.1386, allocations: 3.611 MB / 364.8 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.326e-05/0.1387, allocations: 3.938 kB / 364.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/0.1389, allocations: 108 kB / 364.9 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.1391, allocations: 109.3 kB / 365.1 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004735/0.1438, allocations: 3.089 MB / 368.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1585/0.3023, allocations: 10.5 MB / 378.6 MB, free: 48.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004771/0.3071, allocations: 4.674 MB / 383.3 MB, free: 44.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.3085, allocations: 0.9505 MB / 384.3 MB, free: 44.65 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003889/0.3124, allocations: 2.455 MB / 386.7 MB, free: 43.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3125, allocations: 46.58 kB / 386.8 MB, free: 43.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.795e-06/0.3125, allocations: 0 / 386.8 MB, free: 43.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006135/0.3186, allocations: 2.693 MB / 389.5 MB, free: 42.74 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.3186, allocations: 92.42 kB / 389.6 MB, free: 42.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.3204, allocations: 1.382 MB / 390.9 MB, free: 42.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.3205, allocations: 47.27 kB / 391 MB, free: 42.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/0.321, allocations: 1.16 MB / 392.1 MB, free: 41.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.3212, allocations: 361.8 kB / 392.5 MB, free: 41.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000297/0.3215, allocations: 213.5 kB / 392.7 MB, free: 40.94 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.3216, allocations: 353.8 kB / 393.1 MB, free: 40.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008703/0.3225, allocations: 0.5823 MB / 393.6 MB, free: 40.42 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009453/0.3234, allocations: 0.868 MB / 394.5 MB, free: 39.9 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.3253, allocations: 1.477 MB / 396 MB, free: 39.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.3253, allocations: 10.56 kB / 396 MB, free: 39.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002927/0.3282, allocations: 1.999 MB / 398 MB, free: 38.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.3282, allocations: 8.344 kB / 398 MB, free: 38.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.3283, allocations: 8.438 kB / 398 MB, free: 38.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000842/0.3291, allocations: 405.1 kB / 398.4 MB, free: 38.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.3298, allocations: 223.2 kB / 398.6 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00548/0.3353, allocations: 6.651 MB / 405.3 MB, free: 33.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/0.3361, allocations: 144.7 kB / 405.4 MB, free: 33.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/0.3361, allocations: 52.05 kB / 405.5 MB, free: 33.09 MB / 318.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.0009392/0.3371, allocations: 0.8681 MB / 406.3 MB, free: 32.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.3373, allocations: 138.6 kB / 406.5 MB, free: 32.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.3395, allocations: 1.664 MB / 408.1 MB, free: 31.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3396, allocations: 15.25 kB / 408.1 MB, free: 31.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3396, allocations: 3.719 kB / 408.1 MB, free: 31.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.3396, allocations: 11.78 kB / 408.2 MB, free: 31.49 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004707/0.3443, allocations: 3.984 MB / 412.1 MB, free: 28.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3443, allocations: 2.062 kB / 412.1 MB, free: 28.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.3448, allocations: 144 kB / 412.3 MB, free: 28.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007466/0.3456, allocations: 393.3 kB / 412.7 MB, free: 27.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/0.3457, allocations: 43.91 kB / 412.7 MB, free: 27.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00524/0.3509, allocations: 6.64 MB / 419.4 MB, free: 20.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3509, allocations: 3.938 kB / 419.4 MB, free: 20.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.3538, allocations: 2.504 MB / 421.9 MB, free: 18.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.3541, allocations: 247.2 kB / 422.1 MB, free: 18.01 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.3543, allocations: 31.98 kB / 422.1 MB, free: 17.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007139/0.355, allocations: 87.91 kB / 422.2 MB, free: 17.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.3552, allocations: 104.6 kB / 422.3 MB, free: 17.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.486e-05/0.3552, allocations: 39.92 kB / 422.4 MB, free: 17.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009407/0.3562, allocations: 0.963 MB / 423.3 MB, free: 16.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.61e-07/0.3562, allocations: 0 / 423.3 MB, free: 16.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001449/0.3576, allocations: 0.6724 MB / 424 MB, free: 16.12 MB / 318.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.0002227/0.3579, allocations: 155.3 kB / 424.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002575/0.3604, allocations: 1.964 MB / 426.1 MB, free: 13.97 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3605, allocations: 4 kB / 426.1 MB, free: 13.97 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.3618, allocations: 1.137 MB / 427.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.3631, allocations: 311.3 kB / 427.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005259/0.3684, allocations: 4.63 MB / 432.2 MB, free: 7.824 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.3696, allocations: 2.18 MB / 434.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008906/0.3705, allocations: 343 kB / 434.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.3707, allocations: 87.42 kB / 434.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3708, allocations: 0 / 434.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of Templates: time 0.04176/0.4125, allocations: 20.76 MB / 455.5 MB, free: 436 kB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)