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.007118/0.007117, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001336/0.001337, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.424/1.424, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.001218/0.001218, allocations: 58.16 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09533/0.09655, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008025/0.1046, allocations: 7.191 MB / 380.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004505/0.1092, allocations: 2.247 MB / 382.6 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007584/0.11, allocations: 43.81 kB / 382.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009296/0.1109, allocations: 441 kB / 383.1 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.1131, allocations: 0.8741 MB / 384 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007958/0.1139, allocations: 375.3 kB / 384.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003221/0.1172, allocations: 3.145 MB / 387.5 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002898/0.1201, allocations: 2.851 MB / 390.3 MB, free: 24 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.1219, allocations: 1.414 MB / 391.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.1241, allocations: 1.681 MB / 393.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004851/0.1246, allocations: 360 kB / 393.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009689/0.1256, allocations: 479.8 kB / 394.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007403/0.1264, allocations: 0.9077 MB / 395.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001813/0.1282, allocations: 1.61 MB / 396.8 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00443/0.1326, allocations: 4.65 MB / 401.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1327, allocations: 0 / 401.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1327, allocations: 0 / 401.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.135e-05/0.1328, 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.008925/0.1417, allocations: 3.621 MB / 405 MB, free: 1.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1418, allocations: 8.031 kB / 405 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003626/0.1454, allocations: 0.6922 MB / 405.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/0.1488, allocations: 1.69 MB / 407.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.149, allocations: 201.7 kB / 407.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004451/0.1494, allocations: 268 kB / 407.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005949/0.1554, allocations: 3.607 MB / 411.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.536e-05/0.1554, allocations: 3.938 kB / 411.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/0.1557, allocations: 112 kB / 411.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.1558, allocations: 101.4 kB / 411.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005205/0.1611, allocations: 3.089 MB / 414.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01834/0.1794, allocations: 10.36 MB / 425.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005071/0.1845, allocations: 4.673 MB / 429.8 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.186, allocations: 0.9521 MB / 430.8 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004063/0.19, allocations: 2.452 MB / 433.2 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.1901, allocations: 47.44 kB / 433.3 MB, free: 3.742 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.006e-06/0.1901, allocations: 4 kB / 433.3 MB, free: 3.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.006226/0.1963, allocations: 2.696 MB / 436 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.1964, allocations: 89.98 kB / 436.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.1983, allocations: 1.386 MB / 437.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.189e-05/0.1984, allocations: 41.7 kB / 437.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007334/0.1991, allocations: 1.168 MB / 438.6 MB, free: 14.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.1994, allocations: 358.8 kB / 439 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003219/0.1997, allocations: 218.8 kB / 439.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1999, allocations: 353.9 kB / 439.6 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009069/0.2008, allocations: 0.5764 MB / 440.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.2019, allocations: 0.8608 MB / 441 MB, free: 11.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.2039, allocations: 1.488 MB / 442.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.2039, allocations: 4 kB / 442.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003266/0.2072, allocations: 1.991 MB / 444.5 MB, free: 8.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.2072, allocations: 12 kB / 444.5 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.2073, allocations: 8 kB / 444.5 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009949/0.2083, allocations: 409.2 kB / 444.9 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000828/0.2091, allocations: 223.6 kB / 445.1 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007498/0.2166, allocations: 6.643 MB / 451.8 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.2178, allocations: 142.7 kB / 451.9 MB, free: 472 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.362e-05/0.2179, allocations: 51.98 kB / 451.9 MB, free: 420 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.2005/0.4184, allocations: 0.8632 MB / 452.8 MB, free: 68.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000447/0.4188, allocations: 134.7 kB / 452.9 MB, free: 68.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003442/0.4223, allocations: 1.665 MB / 454.6 MB, free: 68.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.4223, allocations: 11.75 kB / 454.6 MB, free: 68.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.4223, allocations: 9.875 kB / 454.6 MB, free: 68.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.4224, allocations: 6.047 kB / 454.6 MB, free: 68.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006534/0.4289, allocations: 3.986 MB / 458.6 MB, free: 67.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.4289, allocations: 2.406 kB / 458.6 MB, free: 67.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/0.4295, allocations: 136.4 kB / 458.8 MB, free: 67.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009911/0.4305, allocations: 406.5 kB / 459.2 MB, free: 67.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.922e-05/0.4306, allocations: 35.12 kB / 459.2 MB, free: 67.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006519/0.4371, allocations: 6.625 MB / 465.8 MB, free: 63.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4372, allocations: 2.25 kB / 465.8 MB, free: 63.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003471/0.4407, allocations: 2.509 MB / 468.3 MB, free: 62.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000398/0.4411, allocations: 246.4 kB / 468.6 MB, free: 61.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.4412, allocations: 36.25 kB / 468.6 MB, free: 61.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007434/0.442, allocations: 90.95 kB / 468.7 MB, free: 61.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.4422, allocations: 98.92 kB / 468.8 MB, free: 61.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.538e-05/0.4423, allocations: 33.38 kB / 468.8 MB, free: 61.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001189/0.4435, allocations: 0.9621 MB / 469.8 MB, free: 61.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4435, allocations: 1.203 kB / 469.8 MB, free: 61.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001835/0.4453, allocations: 0.678 MB / 470.5 MB, free: 61.3 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.0002517/0.4456, allocations: 151.6 kB / 470.6 MB, free: 61.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002497/0.4481, allocations: 1.816 MB / 472.4 MB, free: 60.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4481, allocations: 0 / 472.4 MB, free: 60.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.4495, allocations: 1.136 MB / 473.6 MB, free: 59.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.4509, allocations: 310.6 kB / 473.9 MB, free: 59.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005466/0.4563, allocations: 4.581 MB / 478.4 MB, free: 57.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.4576, allocations: 2.179 MB / 480.6 MB, free: 55.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007306/0.4583, allocations: 345.6 kB / 481 MB, free: 55.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.4585, allocations: 87.42 kB / 481 MB, free: 55.08 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4585, allocations: 0 / 481 MB, free: 55.08 MB / 382.1 MB Notification: Performance of Templates: time 0.02813/0.4866, allocations: 21.08 MB / 0.4904 GB, free: 34 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)