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.008676/0.008676, allocations: 106.3 kB / 15.74 MB, free: 6.008 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.001836/0.001836, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.433/1.433, allocations: 205.1 MB / 222.5 MB, free: 12.2 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.001201/0.001201, allocations: 47.92 kB / 326.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08826/0.08947, allocations: 46.62 MB / 373.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1914/0.2809, allocations: 7.184 MB / 380.4 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004455/0.2854, allocations: 2.246 MB / 382.6 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.2867, allocations: 44.56 kB / 382.6 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.2881, allocations: 449.8 kB / 383.1 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002489/0.2906, allocations: 0.8847 MB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008766/0.2915, allocations: 380.7 kB / 384.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003211/0.2947, allocations: 3.143 MB / 387.5 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003229/0.2979, allocations: 2.857 MB / 390.3 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.2998, allocations: 1.419 MB / 391.8 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/0.3018, allocations: 1.691 MB / 393.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005139/0.3023, allocations: 357.2 kB / 393.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009938/0.3034, allocations: 482.5 kB / 394.3 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00073/0.3041, allocations: 0.904 MB / 395.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.3057, allocations: 1.603 MB / 396.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004629/0.3103, allocations: 4.655 MB / 401.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3104, allocations: 0 / 401.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3104, allocations: 0 / 401.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001091/0.3105, allocations: 0 / 401.4 MB, free: 15.64 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.009766/0.3203, allocations: 3.624 MB / 405.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3203, allocations: 13.39 kB / 405.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00391/0.3242, allocations: 0.6939 MB / 405.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003763/0.328, allocations: 1.685 MB / 407.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.3282, allocations: 205.7 kB / 407.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005828/0.3288, allocations: 268.8 kB / 407.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006472/0.3353, allocations: 3.609 MB / 411.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.619e-05/0.3353, allocations: 0 / 411.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002742/0.3356, allocations: 104 kB / 411.6 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.444e-05/0.3357, allocations: 105.3 kB / 411.7 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005267/0.341, allocations: 3.093 MB / 414.8 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01543/0.3565, allocations: 10.36 MB / 425.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005385/0.3619, allocations: 4.674 MB / 429.8 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.3634, allocations: 0.9615 MB / 430.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004658/0.3681, allocations: 2.452 MB / 433.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.3682, allocations: 43.44 kB / 433.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.855e-06/0.3682, allocations: 0 / 433.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.006568/0.3747, allocations: 2.699 MB / 436 MB, free: 15.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.3748, allocations: 89.98 kB / 436.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.377, allocations: 1.374 MB / 437.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.3772, allocations: 45.7 kB / 437.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009084/0.3781, allocations: 1.164 MB / 438.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.3784, allocations: 354.8 kB / 439 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/0.3787, allocations: 222.8 kB / 439.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3789, allocations: 361.9 kB / 439.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009387/0.3798, allocations: 0.5764 MB / 440.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.381, allocations: 0.8608 MB / 441 MB, free: 10.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/0.383, allocations: 1.481 MB / 442.5 MB, free: 8.629 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.383, allocations: 4 kB / 442.5 MB, free: 8.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003735/0.3868, allocations: 1.999 MB / 444.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.3868, allocations: 8 kB / 444.5 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.3868, allocations: 8 kB / 444.5 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.3878, allocations: 405.2 kB / 444.9 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009275/0.3888, allocations: 223.6 kB / 445.1 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008214/0.397, allocations: 6.646 MB / 451.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.3983, allocations: 146.7 kB / 451.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/0.3984, allocations: 47.94 kB / 452 MB, free: 14.86 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.001712/0.4001, allocations: 0.8604 MB / 452.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003348/0.4004, allocations: 134.4 kB / 453 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002933/0.4034, allocations: 1.671 MB / 454.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.4034, allocations: 12 kB / 454.7 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.4034, allocations: 4 kB / 454.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.4034, allocations: 7.984 kB / 454.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006356/0.4098, allocations: 3.992 MB / 458.7 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.4098, allocations: 4.188 kB / 458.7 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.4104, allocations: 139.8 kB / 458.8 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009008/0.4113, allocations: 405.6 kB / 459.2 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-05/0.4114, allocations: 35.98 kB / 459.2 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007333/0.4188, allocations: 6.637 MB / 465.9 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4188, allocations: 3.938 kB / 465.9 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/0.4228, allocations: 2.516 MB / 468.4 MB, free: 14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004551/0.4233, allocations: 235.3 kB / 468.6 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.4235, allocations: 31.98 kB / 468.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008336/0.4243, allocations: 91.91 kB / 468.7 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.4246, allocations: 100.6 kB / 468.8 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-05/0.4246, allocations: 31.98 kB / 468.9 MB, free: 13.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001427/0.4261, allocations: 0.963 MB / 469.8 MB, free: 12.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4261, allocations: 0 / 469.8 MB, free: 12.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002027/0.4281, allocations: 0.6765 MB / 470.5 MB, free: 11.85 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.0003091/0.4284, allocations: 159 kB / 470.7 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003144/0.4316, allocations: 1.808 MB / 472.5 MB, free: 9.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4316, allocations: 1.188 kB / 472.5 MB, free: 9.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001813/0.4334, allocations: 1.14 MB / 473.6 MB, free: 8.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.435, allocations: 316.5 kB / 473.9 MB, free: 8.367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007227/0.4423, allocations: 4.567 MB / 478.5 MB, free: 3.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/0.444, allocations: 2.184 MB / 480.7 MB, free: 1.516 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009935/0.445, allocations: 347 kB / 481 MB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.4453, allocations: 83.42 kB / 481.1 MB, free: 1.09 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4453, allocations: 0 / 481.1 MB, free: 1.09 MB / 398.1 MB Notification: Performance of Templates: time 0.03677/0.482, allocations: 21.07 MB / 0.4904 GB, free: 11.98 MB / 430.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)