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.001211/0.001211, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.352/1.352, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.001171/0.001171, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1886, allocations: 46.64 MB / 325.3 MB, free: 1.973 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007631/0.1963, allocations: 7.191 MB / 332.5 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004395/0.2007, allocations: 2.236 MB / 334.7 MB, free: 10.42 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008287/0.2016, allocations: 44.5 kB / 334.8 MB, free: 10.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009468/0.2026, allocations: 446.6 kB / 335.2 MB, free: 10.06 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002187/0.2048, allocations: 0.8751 MB / 336.1 MB, free: 9.203 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008118/0.2056, allocations: 383.2 kB / 336.5 MB, free: 8.828 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003198/0.2088, allocations: 3.113 MB / 339.6 MB, free: 5.703 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002901/0.2117, allocations: 2.853 MB / 342.4 MB, free: 2.789 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.2134, allocations: 1.418 MB / 343.9 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/0.2155, allocations: 1.677 MB / 345.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005469/0.2161, allocations: 360 kB / 345.9 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.2172, allocations: 483.8 kB / 346.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007937/0.218, allocations: 0.8959 MB / 347.3 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001823/0.2198, allocations: 1.61 MB / 348.9 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004512/0.2243, allocations: 4.615 MB / 353.5 MB, free: 7.715 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.2244, allocations: 0 / 353.5 MB, free: 7.715 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2244, allocations: 0 / 353.5 MB, free: 7.715 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001442/0.2245, allocations: 3.938 kB / 353.5 MB, free: 7.711 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.008851/0.2334, allocations: 3.625 MB / 357.1 MB, free: 4.023 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2334, allocations: 8.031 kB / 357.1 MB, free: 4.016 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/0.2369, allocations: 0.6922 MB / 357.8 MB, free: 3.32 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.2394, allocations: 1.663 MB / 359.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.2396, allocations: 197.7 kB / 359.7 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003628/0.2399, allocations: 268 kB / 359.9 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005379/0.2453, allocations: 3.611 MB / 363.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.171e-05/0.2454, allocations: 0 / 363.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002405/0.2456, allocations: 112 kB / 363.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-05/0.2457, allocations: 101.4 kB / 363.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004741/0.2505, allocations: 3.097 MB / 366.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/0.265, allocations: 10.5 MB / 377.3 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004937/0.2699, allocations: 4.684 MB / 382 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.2713, allocations: 0.9444 MB / 383 MB, free: 9.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003662/0.275, allocations: 2.46 MB / 385.4 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.275, allocations: 51.38 kB / 385.5 MB, free: 6.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.364e-06/0.2751, allocations: 0 / 385.5 MB, free: 6.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006148/0.2812, allocations: 2.692 MB / 388.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.2813, allocations: 89.92 kB / 388.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.2832, allocations: 1.378 MB / 389.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.24e-05/0.2833, allocations: 45.7 kB / 389.7 MB, free: 2.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008709/0.2842, allocations: 1.168 MB / 390.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003199/0.2845, allocations: 362.8 kB / 391.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/0.2849, allocations: 214.8 kB / 391.4 MB, free: 372 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.285, allocations: 353.9 kB / 391.8 MB, free: 12 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009441/0.286, allocations: 0.5725 MB / 392.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.287, allocations: 0.8615 MB / 393.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.289, allocations: 1.488 MB / 394.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.2891, allocations: 0 / 394.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003233/0.2923, allocations: 2.003 MB / 396.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.2923, allocations: 8.219 kB / 396.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.2924, allocations: 20 kB / 396.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009534/0.2933, allocations: 409.2 kB / 397.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/0.2941, allocations: 223.6 kB / 397.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007142/0.3013, allocations: 6.635 MB / 404 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.3024, allocations: 150.6 kB / 404.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-05/0.3025, allocations: 51.98 kB / 404.2 MB, free: 3.078 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.001274/0.3038, allocations: 0.8604 MB / 405 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.304, allocations: 138.3 kB / 405.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/0.3068, allocations: 1.671 MB / 406.8 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.3069, allocations: 12 kB / 406.8 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.3069, allocations: 8 kB / 406.8 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.3069, allocations: 15.97 kB / 406.9 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005957/0.3129, allocations: 3.98 MB / 410.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.3129, allocations: 4 kB / 410.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005682/0.3135, allocations: 135.8 kB / 411 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009174/0.3144, allocations: 405.4 kB / 411.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.483e-05/0.3145, allocations: 35.97 kB / 411.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007149/0.3216, allocations: 6.645 MB / 418.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3217, allocations: 3.938 kB / 418.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003825/0.3255, allocations: 2.5 MB / 420.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003437/0.3258, allocations: 239.2 kB / 420.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.326, allocations: 31.98 kB / 420.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007715/0.3268, allocations: 95.91 kB / 420.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.327, allocations: 96.61 kB / 421 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.421e-05/0.3271, allocations: 39.98 kB / 421 MB, free: 1.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001285/0.3284, allocations: 0.963 MB / 422 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3284, allocations: 0 / 422 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001858/0.3303, allocations: 0.6727 MB / 422.7 MB, free: 72 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.0003073/0.3306, allocations: 155 kB / 422.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003408/0.334, allocations: 1.961 MB / 424.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.334, allocations: 8 kB / 424.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.3358, allocations: 1.133 MB / 425.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.3373, allocations: 320.2 kB / 426.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006852/0.3441, allocations: 4.619 MB / 430.9 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.3459, allocations: 2.176 MB / 433 MB, free: 5.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001024/0.3469, allocations: 343 kB / 433.4 MB, free: 5.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.3472, allocations: 87.42 kB / 433.5 MB, free: 5.121 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3472, allocations: 0 / 433.5 MB, free: 5.121 MB / 366.1 MB Notification: Performance of Templates: time 0.03556/0.3827, allocations: 20.77 MB / 454.2 MB, free: 328 kB / 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)