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.001285/0.001285, 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.001409/0.001409, allocations: 190.3 kB / 16.25 MB, free: 6.617 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.333/1.333, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.001267/0.001267, allocations: 55.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2062, allocations: 46.63 MB / 324.8 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007218/0.2135, allocations: 7.152 MB / 332 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004141/0.2177, allocations: 2.2 MB / 334.2 MB, free: 10.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007021/0.2184, allocations: 45.12 kB / 334.2 MB, free: 10.46 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009176/0.2194, allocations: 373.5 kB / 334.6 MB, free: 10.19 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.2216, allocations: 0.799 MB / 335.4 MB, free: 9.508 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008162/0.2224, allocations: 335.5 kB / 335.7 MB, free: 9.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003239/0.2257, allocations: 3.128 MB / 338.9 MB, free: 6.039 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00276/0.2284, allocations: 2.853 MB / 341.7 MB, free: 3.125 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.2301, allocations: 1.414 MB / 343.1 MB, free: 1.707 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.2319, allocations: 1.728 MB / 344.9 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004169/0.2323, allocations: 360 kB / 345.2 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008274/0.2332, allocations: 483.8 kB / 345.7 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000641/0.2338, allocations: 0.8999 MB / 346.6 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.2354, allocations: 1.61 MB / 348.2 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004056/0.2394, allocations: 4.611 MB / 352.8 MB, free: 8.004 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2395, allocations: 0 / 352.8 MB, free: 8.004 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2395, allocations: 0 / 352.8 MB, free: 8.004 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.161e-05/0.2395, allocations: 0 / 352.8 MB, free: 8.004 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.007838/0.2474, allocations: 3.617 MB / 356.4 MB, free: 4.324 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.2474, allocations: 12.03 kB / 356.4 MB, free: 4.312 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003528/0.251, allocations: 0.6921 MB / 357.1 MB, free: 3.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/0.2538, allocations: 1.667 MB / 358.8 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.2539, allocations: 201.7 kB / 359 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/0.2543, allocations: 272 kB / 359.3 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005777/0.2601, allocations: 3.603 MB / 362.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.811e-05/0.2601, allocations: 0 / 362.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/0.2604, allocations: 108 kB / 363 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.862e-05/0.2605, allocations: 101.4 kB / 363.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004703/0.2652, allocations: 3.097 MB / 366.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01459/0.2798, allocations: 10.5 MB / 376.7 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004733/0.2845, allocations: 4.684 MB / 381.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.2858, allocations: 0.9525 MB / 382.3 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003535/0.2894, allocations: 2.46 MB / 384.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.2894, allocations: 47.38 kB / 384.8 MB, free: 6.711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.056e-06/0.2894, allocations: 0 / 384.8 MB, free: 6.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.005946/0.2954, allocations: 2.692 MB / 387.5 MB, free: 3.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.2955, allocations: 93.97 kB / 387.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.2971, allocations: 1.382 MB / 389 MB, free: 2.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.575e-05/0.2972, allocations: 41.7 kB / 389 MB, free: 2.418 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006575/0.2978, allocations: 1.164 MB / 390.2 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.2981, allocations: 358.8 kB / 390.5 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/0.2984, allocations: 218.8 kB / 390.7 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2985, allocations: 357.9 kB / 391.1 MB, free: 312 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008648/0.2994, allocations: 0.5764 MB / 391.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.3004, allocations: 0.8615 MB / 392.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.3023, allocations: 1.488 MB / 394 MB, free: 13.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.3023, allocations: 8 kB / 394 MB, free: 13.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002996/0.3053, allocations: 1.995 MB / 396 MB, free: 11.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3053, allocations: 8 kB / 396 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.3053, allocations: 8 kB / 396 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009215/0.3063, allocations: 413.2 kB / 396.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008004/0.3071, allocations: 219.6 kB / 396.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007055/0.3141, allocations: 6.649 MB / 403.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009968/0.3152, allocations: 146.6 kB / 403.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.886e-05/0.3153, allocations: 48 kB / 403.5 MB, free: 3.371 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.001525/0.3168, allocations: 0.8604 MB / 404.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.317, allocations: 138.3 kB / 404.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/0.3198, allocations: 1.683 MB / 406.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.3198, allocations: 8 kB / 406.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.3198, allocations: 8 kB / 406.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.3199, allocations: 3.984 kB / 406.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005961/0.3258, allocations: 4 MB / 410.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.3259, allocations: 0 / 410.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.3264, allocations: 135.8 kB / 410.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000884/0.3273, allocations: 397.4 kB / 410.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/0.3274, allocations: 35.97 kB / 410.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00687/0.3343, allocations: 6.643 MB / 417.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.3343, allocations: 7.969 kB / 417.4 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00389/0.3382, allocations: 2.508 MB / 419.9 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000404/0.3386, allocations: 243.2 kB / 420.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.3388, allocations: 35.98 kB / 420.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008027/0.3396, allocations: 87.91 kB / 420.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/0.3399, allocations: 100.6 kB / 420.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.005e-05/0.3399, allocations: 31.98 kB / 420.4 MB, free: 2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001536/0.3415, allocations: 0.9591 MB / 421.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3415, allocations: 0 / 421.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002121/0.3436, allocations: 0.6804 MB / 422 MB, free: 360 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.0003031/0.3439, allocations: 151 kB / 422.2 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003188/0.3471, allocations: 1.964 MB / 424.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3472, allocations: 5.125 kB / 424.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.3488, allocations: 1.14 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.001363/0.3502, allocations: 308.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.007347/0.3576, allocations: 5.736 MB / 431.3 MB, free: 6.938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/0.3592, allocations: 2.176 MB / 433.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001024/0.3602, allocations: 346.9 kB / 433.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.3605, allocations: 87.42 kB / 433.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3605, allocations: 4 kB / 433.9 MB, free: 4.289 MB / 366.1 MB Notification: Performance of Templates: time 0.1822/0.5427, allocations: 20.61 MB / 454.5 MB, free: 112.2 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (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)