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.001465/0.001465, allocations: 111.5 kB / 17.06 MB, free: 6.09 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.001711/0.001711, allocations: 200 kB / 18 MB, free: 5.168 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.365/1.365, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001195/0.001195, allocations: 48.34 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08268/0.08389, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1921/0.276, allocations: 7.201 MB / 381.7 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003562/0.2796, allocations: 2.23 MB / 383.9 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004902/0.2802, allocations: 45.47 kB / 384 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007961/0.281, allocations: 444.3 kB / 384.4 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.2829, allocations: 0.8753 MB / 385.3 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.2837, allocations: 368.7 kB / 385.6 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003262/0.2869, allocations: 3.142 MB / 388.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003078/0.29, allocations: 2.862 MB / 391.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001817/0.2919, allocations: 1.419 MB / 393 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.2937, allocations: 1.687 MB / 394.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005151/0.2942, allocations: 362.4 kB / 395.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009416/0.2951, allocations: 478.6 kB / 395.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006788/0.2958, allocations: 0.9014 MB / 396.5 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.2973, allocations: 1.611 MB / 398.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004706/0.302, allocations: 4.653 MB / 402.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.302, allocations: 0 / 402.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.302, allocations: 0 / 402.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.969e-05/0.3022, allocations: 1.031 kB / 402.7 MB, free: 15.67 MB / 334.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.008192/0.3104, allocations: 3.627 MB / 406.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3104, allocations: 9.125 kB / 406.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003513/0.3139, allocations: 0.6906 MB / 407 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0031/0.317, allocations: 1.68 MB / 408.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.3172, allocations: 200.8 kB / 408.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003548/0.3175, allocations: 266 kB / 409.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005601/0.3231, allocations: 3.619 MB / 412.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.765e-05/0.3232, allocations: 0 / 412.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/0.3235, allocations: 112 kB / 412.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.794e-05/0.3236, allocations: 101.4 kB / 413 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00477/0.3283, allocations: 3.101 MB / 416.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01584/0.3442, allocations: 10.35 MB / 426.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00516/0.3494, allocations: 4.681 MB / 431.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.3508, allocations: 0.9537 MB / 432.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004581/0.3554, allocations: 2.448 MB / 434.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.3555, allocations: 55.38 kB / 434.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.446e-06/0.3555, allocations: 0 / 434.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.006335/0.3619, allocations: 2.699 MB / 437.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.3619, allocations: 89.98 kB / 437.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.364, allocations: 1.374 MB / 438.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.677e-05/0.3641, allocations: 41.7 kB / 438.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007293/0.3648, allocations: 1.168 MB / 440 MB, free: 12.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.3651, allocations: 354.8 kB / 440.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/0.3654, allocations: 218.8 kB / 440.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.3655, allocations: 357.9 kB / 440.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008803/0.3664, allocations: 0.5803 MB / 441.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.3675, allocations: 0.8647 MB / 442.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.3695, allocations: 1.481 MB / 443.8 MB, free: 8.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.3695, allocations: 4 kB / 443.8 MB, free: 8.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003317/0.3728, allocations: 2.003 MB / 445.8 MB, free: 6.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.3728, allocations: 8 kB / 445.8 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.3729, allocations: 8 kB / 445.8 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.3739, allocations: 405.2 kB / 446.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008345/0.3747, allocations: 215.7 kB / 446.4 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007164/0.3819, allocations: 6.646 MB / 453.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.3832, allocations: 142.8 kB / 453.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.323e-05/0.3833, allocations: 51.94 kB / 453.3 MB, free: 14.91 MB / 382.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.001532/0.3848, allocations: 0.872 MB / 454.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.3852, allocations: 134.4 kB / 454.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/0.388, allocations: 1.663 MB / 455.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.388, allocations: 12 kB / 455.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3881, allocations: 8 kB / 456 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.3881, allocations: 3.984 kB / 456 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006695/0.3948, allocations: 3.992 MB / 460 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3948, allocations: 0 / 460 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/0.3954, allocations: 135.8 kB / 460.1 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009641/0.3964, allocations: 409.8 kB / 460.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.058e-05/0.3965, allocations: 39.98 kB / 460.5 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007054/0.4035, allocations: 6.639 MB / 467.2 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.4035, allocations: 4.031 kB / 467.2 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003953/0.4075, allocations: 2.512 MB / 469.7 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007599/0.4083, allocations: 239.3 kB / 469.9 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.4085, allocations: 31.98 kB / 469.9 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008134/0.4093, allocations: 87.91 kB / 470 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/0.4096, allocations: 100.7 kB / 470.1 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.036e-05/0.4096, allocations: 31.98 kB / 470.2 MB, free: 13.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001396/0.411, allocations: 0.9668 MB / 471.1 MB, free: 12.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4111, allocations: 0 / 471.1 MB, free: 12.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001982/0.413, allocations: 0.6765 MB / 471.8 MB, free: 11.89 MB / 398.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.00039/0.4134, allocations: 151.1 kB / 472 MB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003213/0.4167, allocations: 1.816 MB / 473.8 MB, free: 9.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.4167, allocations: 0 / 473.8 MB, free: 9.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.4184, allocations: 1.142 MB / 474.9 MB, free: 8.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.42, allocations: 304.2 kB / 475.2 MB, free: 8.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00841/0.4284, allocations: 4.575 MB / 479.8 MB, free: 3.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001956/0.4304, allocations: 2.18 MB / 482 MB, free: 1.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009987/0.4314, allocations: 343 kB / 482.3 MB, free: 1.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.4317, allocations: 83.42 kB / 482.4 MB, free: 1.148 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4317, allocations: 0 / 482.4 MB, free: 1.148 MB / 398.1 MB Notification: Performance of Templates: time 0.03758/0.4693, allocations: 21.36 MB / 0.4919 GB, free: 11.75 MB / 430.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)