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.006977/0.006977, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001368/0.001368, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.382/1.382, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001341/0.001341, allocations: 51.92 kB / 326.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09353/0.09488, allocations: 46.61 MB / 373.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1836/0.2785, allocations: 7.193 MB / 380.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004941/0.2835, allocations: 2.236 MB / 382.6 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.2848, allocations: 49.59 kB / 382.6 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.286, allocations: 449.2 kB / 383.1 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.2885, allocations: 0.8857 MB / 384 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009896/0.2895, allocations: 385.8 kB / 384.3 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004133/0.2936, allocations: 3.138 MB / 387.5 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003398/0.2971, allocations: 2.854 MB / 390.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.2991, allocations: 1.423 MB / 391.8 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.3011, allocations: 1.686 MB / 393.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004744/0.3016, allocations: 360.2 kB / 393.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.3027, allocations: 481.2 kB / 394.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007404/0.3034, allocations: 0.9087 MB / 395.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001752/0.3052, allocations: 1.599 MB / 396.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004876/0.3101, allocations: 4.661 MB / 401.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3101, allocations: 3.984 kB / 401.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3101, allocations: 1.281 kB / 401.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001082/0.3102, allocations: 0 / 401.4 MB, free: 15.65 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.008839/0.3191, allocations: 3.623 MB / 405.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3191, allocations: 9.125 kB / 405.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003614/0.3227, allocations: 0.6897 MB / 405.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.3259, allocations: 1.684 MB / 407.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.3261, allocations: 201.2 kB / 407.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004333/0.3265, allocations: 265.3 kB / 407.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006388/0.3329, allocations: 3.614 MB / 411.5 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.311e-05/0.333, allocations: 4 kB / 411.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/0.3332, allocations: 108 kB / 411.6 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-05/0.3333, allocations: 105.4 kB / 411.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005119/0.3385, allocations: 3.093 MB / 414.8 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0161/0.3546, allocations: 10.35 MB / 425.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005292/0.3599, allocations: 4.686 MB / 429.9 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.3614, allocations: 0.9498 MB / 430.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004225/0.3657, allocations: 2.452 MB / 433.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.638e-05/0.3658, allocations: 55.38 kB / 433.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.207e-06/0.3658, allocations: 3.938 kB / 433.3 MB, free: 2.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.006216/0.372, allocations: 2.696 MB / 436 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.3721, allocations: 93.98 kB / 436.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.3742, allocations: 1.374 MB / 437.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.293e-05/0.3743, allocations: 45.7 kB / 437.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008185/0.3751, allocations: 1.16 MB / 438.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.3754, allocations: 366.7 kB / 439 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/0.3758, allocations: 214.8 kB / 439.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3759, allocations: 357.9 kB / 439.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009536/0.3769, allocations: 0.5803 MB / 440.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.378, allocations: 0.8608 MB / 441 MB, free: 10.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.3801, allocations: 1.488 MB / 442.5 MB, free: 8.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.3801, allocations: 4 kB / 442.5 MB, free: 8.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00343/0.3836, allocations: 1.995 MB / 444.5 MB, free: 6.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3836, allocations: 8 kB / 444.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.3836, allocations: 8 kB / 444.5 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.3846, allocations: 405.2 kB / 444.9 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/0.3855, allocations: 215.6 kB / 445.1 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008168/0.3936, allocations: 6.643 MB / 451.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.3948, allocations: 142.7 kB / 451.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.3949, allocations: 51.98 kB / 452 MB, free: 14.87 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.001827/0.3967, allocations: 0.8643 MB / 452.8 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004262/0.3972, allocations: 134.4 kB / 453 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.4004, allocations: 1.667 MB / 454.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.4005, allocations: 12 kB / 454.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.4005, allocations: 8 kB / 454.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.4005, allocations: 11.97 kB / 454.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007278/0.4078, allocations: 3.988 MB / 458.7 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.4078, allocations: 4 kB / 458.7 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/0.4084, allocations: 135.7 kB / 458.8 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000981/0.4094, allocations: 409.8 kB / 459.2 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.45e-05/0.4095, allocations: 39.97 kB / 459.2 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007712/0.4172, allocations: 6.628 MB / 465.9 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4172, allocations: 8 kB / 465.9 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004014/0.4212, allocations: 2.508 MB / 468.4 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/0.4218, allocations: 239.3 kB / 468.6 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003339/0.4221, allocations: 35.98 kB / 468.6 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008997/0.4231, allocations: 87.91 kB / 468.7 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/0.4233, allocations: 108.6 kB / 468.8 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.347e-05/0.4234, allocations: 28 kB / 468.9 MB, free: 13.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001597/0.425, allocations: 0.963 MB / 469.8 MB, free: 12.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.425, allocations: 0 / 469.8 MB, free: 12.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002158/0.4272, allocations: 0.6804 MB / 470.5 MB, free: 11.86 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.0003129/0.4275, allocations: 155 kB / 470.7 MB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003165/0.4307, allocations: 1.805 MB / 472.5 MB, free: 9.863 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.4307, allocations: 0 / 472.5 MB, free: 9.863 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.4326, allocations: 1.145 MB / 473.6 MB, free: 8.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.4343, allocations: 308.1 kB / 473.9 MB, free: 8.391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00898/0.4433, allocations: 4.579 MB / 478.5 MB, free: 3.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002978/0.4463, allocations: 2.176 MB / 480.7 MB, free: 1.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001211/0.4475, allocations: 350.9 kB / 481 MB, free: 1.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/0.4479, allocations: 87.42 kB / 481.1 MB, free: 1.102 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4479, allocations: 0 / 481.1 MB, free: 1.102 MB / 398.1 MB Notification: Performance of Templates: time 0.04086/0.4887, allocations: 21.07 MB / 0.4904 GB, free: 12 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)