Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.004429/0.004429, allocations: 100.9 kB / 15.73 MB, free: 6.445 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.001061/0.001061, allocations: 193.9 kB / 16.68 MB, free: 6.355 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.483/1.483, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001651/0.001651, allocations: 54.77 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09704/0.0987, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009077/0.1078, allocations: 7.199 MB / 380.4 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005245/0.1131, allocations: 2.239 MB / 382.6 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.1146, allocations: 43.81 kB / 382.6 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.1161, allocations: 448.9 kB / 383.1 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.1193, allocations: 0.8741 MB / 384 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.1207, allocations: 375.4 kB / 384.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004278/0.125, allocations: 3.137 MB / 387.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00388/0.1289, allocations: 2.851 MB / 390.3 MB, free: 40 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.1309, allocations: 1.425 MB / 391.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002631/0.1336, allocations: 1.681 MB / 393.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008915/0.1345, allocations: 360 kB / 393.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.1359, allocations: 479.7 kB / 394.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.1371, allocations: 0.8998 MB / 395.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00271/0.1398, allocations: 1.606 MB / 396.7 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004782/0.1446, allocations: 4.662 MB / 401.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1446, allocations: 4 kB / 401.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1446, allocations: 0 / 401.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001138/0.1448, allocations: 0 / 401.4 MB, free: 4.906 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.008348/0.1531, allocations: 3.621 MB / 405 MB, free: 1.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1532, allocations: 8.031 kB / 405 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/0.1568, allocations: 0.6843 MB / 405.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/0.1602, allocations: 1.694 MB / 407.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.1603, allocations: 197.7 kB / 407.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003844/0.1607, allocations: 264 kB / 407.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00556/0.1663, allocations: 3.61 MB / 411.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-05/0.1663, allocations: 4 kB / 411.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/0.1666, allocations: 108 kB / 411.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.945e-05/0.1667, allocations: 101.4 kB / 411.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004699/0.1714, allocations: 3.097 MB / 414.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01638/0.1878, allocations: 10.36 MB / 425.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005198/0.193, allocations: 4.681 MB / 429.8 MB, free: 7.297 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/0.1944, allocations: 0.9521 MB / 430.8 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004146/0.1986, allocations: 2.44 MB / 433.2 MB, free: 3.812 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.1986, allocations: 51.42 kB / 433.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 2.885e-06/0.1986, allocations: 0 / 433.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.006142/0.2048, allocations: 2.699 MB / 436 MB, free: 1.004 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.2049, allocations: 85.98 kB / 436.1 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.2066, allocations: 1.382 MB / 437.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.579e-05/0.2066, allocations: 53.69 kB / 437.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006682/0.2073, allocations: 1.16 MB / 438.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.2076, allocations: 362.8 kB / 439 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003162/0.2079, allocations: 222.7 kB / 439.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.208, allocations: 349.9 kB / 439.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008758/0.2089, allocations: 0.5802 MB / 440.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.21, allocations: 0.8647 MB / 441 MB, free: 11.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.2119, allocations: 1.481 MB / 442.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.2119, allocations: 0 / 442.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003133/0.215, allocations: 2.003 MB / 444.5 MB, free: 8.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.2151, allocations: 12.28 kB / 444.5 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.2151, allocations: 8 kB / 444.5 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009169/0.216, allocations: 401.2 kB / 444.9 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008212/0.2168, allocations: 223.7 kB / 445.1 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007133/0.224, allocations: 6.639 MB / 451.8 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009874/0.225, allocations: 142.7 kB / 451.9 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.2252, allocations: 51.97 kB / 452 MB, free: 432 kB / 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.1966/0.4217, allocations: 0.8697 MB / 452.8 MB, free: 68.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000545/0.4223, allocations: 134.8 kB / 453 MB, free: 68.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003306/0.4256, allocations: 1.663 MB / 454.6 MB, free: 68.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.4256, allocations: 10.22 kB / 454.6 MB, free: 68.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.4257, allocations: 9.625 kB / 454.6 MB, free: 68.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.4257, allocations: 6.391 kB / 454.6 MB, free: 68.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006818/0.4325, allocations: 3.988 MB / 458.6 MB, free: 67.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.4325, allocations: 2.344 kB / 458.6 MB, free: 67.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.4331, allocations: 136.9 kB / 458.8 MB, free: 67.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00094/0.4341, allocations: 402.4 kB / 459.2 MB, free: 67.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.454e-05/0.4342, allocations: 34.67 kB / 459.2 MB, free: 67.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006399/0.4406, allocations: 6.636 MB / 465.8 MB, free: 63.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4406, allocations: 3.344 kB / 465.8 MB, free: 63.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003548/0.4442, allocations: 2.511 MB / 468.3 MB, free: 62.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/0.4446, allocations: 242.1 kB / 468.6 MB, free: 62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.4448, allocations: 38.73 kB / 468.6 MB, free: 61.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007406/0.4455, allocations: 91.64 kB / 468.7 MB, free: 61.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.4457, allocations: 93.2 kB / 468.8 MB, free: 61.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-05/0.4458, allocations: 29.8 kB / 468.8 MB, free: 61.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001271/0.4471, allocations: 0.9622 MB / 469.8 MB, free: 61.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.32e-07/0.4471, allocations: 0 / 469.8 MB, free: 61.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002148/0.4493, allocations: 0.6764 MB / 470.5 MB, free: 61.38 MB / 382.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.0003148/0.4496, allocations: 158.7 kB / 470.6 MB, free: 61.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002574/0.4522, allocations: 1.815 MB / 472.4 MB, free: 60.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.4522, allocations: 2.656 kB / 472.4 MB, free: 60.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001455/0.4536, allocations: 1.142 MB / 473.6 MB, free: 59.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.4551, allocations: 301.2 kB / 473.9 MB, free: 59.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005714/0.4608, allocations: 4.571 MB / 478.4 MB, free: 57.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.4621, allocations: 2.181 MB / 480.6 MB, free: 55.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008746/0.463, allocations: 347.6 kB / 481 MB, free: 55.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.4632, allocations: 83.42 kB / 481 MB, free: 55.14 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4632, allocations: 8 kB / 481.1 MB, free: 55.13 MB / 382.1 MB Notification: Performance of Templates: time 0.02917/0.4924, allocations: 21.37 MB / 0.4907 GB, free: 33.76 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)