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.001105/0.001105, allocations: 110.4 kB / 17.06 MB, free: 6.023 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.001024/0.001024, allocations: 191 kB / 17.99 MB, free: 5.109 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.356/1.356, 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.001247/0.001247, allocations: 51.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09061/0.09187, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1967/0.2886, allocations: 7.193 MB / 381.7 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004097/0.2928, allocations: 2.241 MB / 383.9 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009099/0.2938, allocations: 44.78 kB / 384 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.2948, allocations: 437.6 kB / 384.4 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.2973, allocations: 0.8734 MB / 385.3 MB, free: 7.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009791/0.2983, allocations: 379.1 kB / 385.6 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004244/0.3025, allocations: 3.146 MB / 388.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003318/0.3059, allocations: 2.85 MB / 391.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/0.3085, allocations: 1.409 MB / 393 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002955/0.3115, allocations: 1.69 MB / 394.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007036/0.3122, allocations: 360.2 kB / 395.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.3136, allocations: 484.2 kB / 395.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008528/0.3145, allocations: 0.9021 MB / 396.5 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002174/0.3167, allocations: 1.611 MB / 398.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005457/0.3221, allocations: 4.653 MB / 402.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3222, allocations: 0 / 402.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3222, allocations: 0 / 402.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001215/0.3223, allocations: 1.219 kB / 402.7 MB, free: 15.68 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.01019/0.3325, allocations: 3.619 MB / 406.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3326, allocations: 9.875 kB / 406.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003865/0.3364, allocations: 0.6931 MB / 407 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003771/0.3402, allocations: 1.686 MB / 408.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.3404, allocations: 199.5 kB / 408.9 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005196/0.3409, allocations: 269.9 kB / 409.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006804/0.3477, allocations: 3.612 MB / 412.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.558e-05/0.3478, allocations: 0 / 412.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002802/0.3481, allocations: 111.9 kB / 412.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.3482, allocations: 105.4 kB / 413 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00534/0.3536, allocations: 3.093 MB / 416.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0186/0.3722, allocations: 10.35 MB / 426.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005078/0.3773, allocations: 4.689 MB / 431.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.3788, allocations: 0.9498 MB / 432.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004301/0.3831, allocations: 2.452 MB / 434.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.3831, allocations: 55.38 kB / 434.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.717e-06/0.3832, allocations: 0 / 434.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.00625/0.3894, allocations: 2.696 MB / 437.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.3895, allocations: 89.98 kB / 437.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.3914, allocations: 1.374 MB / 438.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.205e-05/0.3915, allocations: 45.7 kB / 438.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007127/0.3922, allocations: 1.164 MB / 440 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.3925, allocations: 362.8 kB / 440.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003179/0.3928, allocations: 214.8 kB / 440.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.393, allocations: 357.9 kB / 440.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009091/0.3939, allocations: 0.5764 MB / 441.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.3949, allocations: 0.8647 MB / 442.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/0.397, allocations: 1.488 MB / 443.8 MB, free: 8.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.397, allocations: 0 / 443.8 MB, free: 8.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003362/0.4004, allocations: 1.995 MB / 445.8 MB, free: 6.691 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.4004, allocations: 12 kB / 445.8 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.4004, allocations: 8 kB / 445.8 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.4014, allocations: 401.2 kB / 446.2 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008296/0.4023, allocations: 223.6 kB / 446.4 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007712/0.41, allocations: 6.646 MB / 453.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.4112, allocations: 134.8 kB / 453.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.4114, allocations: 59.98 kB / 453.3 MB, free: 14.93 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.001614/0.413, allocations: 0.8642 MB / 454.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.4133, allocations: 130.4 kB / 454.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/0.4163, allocations: 1.671 MB / 455.9 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.4163, allocations: 8 kB / 455.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.4164, allocations: 15.98 kB / 455.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.4164, allocations: 3.984 kB / 456 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006646/0.4231, allocations: 3.992 MB / 459.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.4231, allocations: 0 / 459.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006117/0.4237, allocations: 135.8 kB / 460.1 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.4248, allocations: 401.8 kB / 460.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.139e-05/0.4249, allocations: 35.97 kB / 460.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007671/0.4325, allocations: 6.644 MB / 467.1 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.4326, allocations: 15.98 kB / 467.2 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004207/0.4368, allocations: 2.504 MB / 469.7 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005924/0.4374, allocations: 239.3 kB / 469.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.4376, allocations: 39.92 kB / 469.9 MB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008034/0.4384, allocations: 91.89 kB / 470 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002912/0.4387, allocations: 96.67 kB / 470.1 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-05/0.4388, allocations: 32 kB / 470.2 MB, free: 13.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001425/0.4402, allocations: 0.963 MB / 471.1 MB, free: 12.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4402, allocations: 0 / 471.1 MB, free: 12.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001998/0.4422, allocations: 0.6804 MB / 471.8 MB, free: 11.91 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.000309/0.4426, allocations: 151 kB / 471.9 MB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003008/0.4456, allocations: 1.816 MB / 473.8 MB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.4456, allocations: 0 / 473.8 MB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001808/0.4474, allocations: 1.141 MB / 474.9 MB, free: 8.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.4491, allocations: 299.7 kB / 475.2 MB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006967/0.4561, allocations: 4.575 MB / 479.8 MB, free: 3.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/0.4578, allocations: 2.176 MB / 481.9 MB, free: 1.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001145/0.459, allocations: 346.9 kB / 482.3 MB, free: 1.254 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.4593, allocations: 87.42 kB / 482.4 MB, free: 1.168 MB / 398.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4593, allocations: 3.938 kB / 482.4 MB, free: 1.164 MB / 398.1 MB Notification: Performance of Templates: time 0.03451/0.4938, allocations: 21.07 MB / 0.4916 GB, free: 12.05 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)