Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.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.001072/0.001072, allocations: 113 kB / 17.07 MB, free: 5.973 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.001074/0.001074, allocations: 200 kB / 18 MB, free: 5.059 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.378/1.378, allocations: 205.1 MB / 223.9 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.001192/0.001192, allocations: 43.94 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1081, allocations: 46.62 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2765/0.3846, allocations: 16.54 MB / 391 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.3981, allocations: 4.655 MB / 395.7 MB, free: 288 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005665/0.4038, allocations: 112.9 kB / 395.8 MB, free: 268 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0189/0.4228, allocations: 7.169 MB / 403 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.433, allocations: 1.862 MB / 404.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007289/0.4403, allocations: 1.628 MB / 406.5 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0182/0.4586, allocations: 9.4 MB / 415.9 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04543/0.5041, allocations: 20.83 MB / 436.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01294/0.5171, allocations: 5.245 MB / 441.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01381/0.531, allocations: 5.856 MB / 447.8 MB, free: 6.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006334/0.5374, allocations: 1.359 MB / 449.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009668/0.5471, allocations: 1.644 MB / 450.8 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007561/0.5547, allocations: 2.794 MB / 453.6 MB, free: 384 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01495/0.5698, allocations: 5.358 MB / 458.9 MB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02875/0.5986, allocations: 18.18 MB / 477.1 MB, free: 8.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.5986, allocations: 4 kB / 477.1 MB, free: 8.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.5987, allocations: 0 / 477.1 MB, free: 8.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007244/0.5994, allocations: 0 / 477.1 MB, free: 8.762 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04566/0.6451, allocations: 12.13 MB / 489.3 MB, free: 12.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.803e-05/0.6452, allocations: 11.89 kB / 489.3 MB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03677/0.6819, allocations: 6.241 MB / 495.5 MB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01415/0.6961, allocations: 5.172 MB / 0.489 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008262/0.697, allocations: 0.6743 MB / 0.4896 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005191/0.7022, allocations: 0.8749 MB / 0.4905 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0437/0.7459, allocations: 14.71 MB / 0.5048 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004846/0.7465, allocations: 3.906 kB / 0.5048 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004126/0.7506, allocations: 376 kB / 0.5052 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007665/0.7514, allocations: 499.3 kB / 0.5057 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03437/0.7858, allocations: 13.53 MB / 0.5189 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.603/1.389, allocations: 44.05 MB / 0.5619 GB, free: 120.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01454/1.403, allocations: 11.65 MB / 0.5733 GB, free: 114.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006101/1.41, allocations: 3.164 MB / 0.5764 GB, free: 114 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004467/1.41, allocations: 175.1 kB / 0.5765 GB, free: 113.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.134e-05/1.41, allocations: 79.5 kB / 0.5766 GB, free: 113.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 6.643e-06/1.41, allocations: 0 / 0.5766 GB, free: 113.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.0228/1.433, allocations: 9.599 MB / 0.586 GB, free: 112.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/1.433, allocations: 120.2 kB / 0.5861 GB, free: 112.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004696/1.438, allocations: 3.157 MB / 0.5892 GB, free: 111.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007637/1.439, allocations: 89.3 kB / 0.5893 GB, free: 111.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00206/1.441, allocations: 3.697 MB / 0.5929 GB, free: 108.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001505/1.442, allocations: 1.388 MB / 0.5942 GB, free: 107.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00155/1.444, allocations: 1.126 MB / 0.5953 GB, free: 106.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.368e-05/1.444, allocations: 312.9 kB / 0.5956 GB, free: 106.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003647/1.448, allocations: 2.833 MB / 0.5984 GB, free: 105.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004647/1.452, allocations: 4.903 MB / 0.6032 GB, free: 101.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009/1.461, allocations: 8.258 MB / 0.6112 GB, free: 96.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001012/1.461, allocations: 20.06 kB / 0.6113 GB, free: 96.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01629/1.478, allocations: 9.098 MB / 0.6201 GB, free: 91.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.658e-05/1.478, allocations: 32.75 kB / 0.6202 GB, free: 91.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/1.478, allocations: 69.77 kB / 0.6202 GB, free: 91.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003161/1.481, allocations: 1.158 MB / 0.6214 GB, free: 90.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004937/1.486, allocations: 1.291 MB / 0.6226 GB, free: 89.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/1.499, allocations: 10.81 MB / 0.6332 GB, free: 78.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006223/1.505, allocations: 0.7395 MB / 0.6339 GB, free: 77.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001355/1.506, allocations: 276 kB / 0.6342 GB, free: 77.26 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006469/1.513, allocations: 3.427 MB / 0.6375 GB, free: 73.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008916/1.514, allocations: 347.7 kB / 0.6379 GB, free: 73.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/1.524, allocations: 6.905 MB / 0.6446 GB, free: 66.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007424/1.532, allocations: 5.745 MB / 0.6502 GB, free: 60.79 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.789e-05/1.532, allocations: 12 kB / 0.6502 GB, free: 60.77 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.582e-05/1.532, allocations: 19.92 kB / 0.6502 GB, free: 60.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02812/1.56, allocations: 15.22 MB / 0.6651 GB, free: 45.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/1.56, allocations: 15.98 kB / 0.6651 GB, free: 45.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003002/1.563, allocations: 0.7918 MB / 0.6659 GB, free: 44.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00303/1.566, allocations: 1.056 MB / 0.6669 GB, free: 43.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006966/1.567, allocations: 111.5 kB / 0.667 GB, free: 43.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/1.579, allocations: 10.56 MB / 0.6773 GB, free: 32.59 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/1.579, allocations: 23.88 kB / 0.6774 GB, free: 32.56 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.593, allocations: 10.69 MB / 0.6878 GB, free: 21.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002709/1.596, allocations: 0.9835 MB / 0.6888 GB, free: 20.63 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007733/1.596, allocations: 96.05 kB / 0.6889 GB, free: 20.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002394/1.599, allocations: 275.7 kB / 0.6891 GB, free: 20.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000676/1.6, allocations: 347.2 kB / 0.6894 GB, free: 19.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002561/1.6, allocations: 140 kB / 0.6896 GB, free: 19.79 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003064/1.603, allocations: 2.121 MB / 0.6917 GB, free: 17.67 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.603, allocations: 0 / 0.6917 GB, free: 17.67 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008666/1.612, allocations: 2.232 MB / 0.6938 GB, free: 15.43 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001105/1.613, allocations: 296.7 kB / 0.6941 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01227/1.625, allocations: 7.45 MB / 0.7014 GB, free: 7.672 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.162e-05/1.625, allocations: 4 kB / 0.7014 GB, free: 7.668 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006588/1.632, allocations: 3.653 MB / 0.705 GB, free: 4.004 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004644/1.636, allocations: 0.8 MB / 0.7057 GB, free: 3.219 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02978/1.666, allocations: 15.95 MB / 0.7213 GB, free: 3.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007711/1.674, allocations: 5.93 MB / 0.7271 GB, free: 13.1 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.005559/1.679, allocations: 2.158 MB / 0.7292 GB, free: 10.93 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.681, allocations: 319.4 kB / 0.7295 GB, free: 10.62 MB / 0.4982 GB Notification: Performance of SimCode: time 1.542e-06/1.681, allocations: 0 / 0.7295 GB, free: 10.62 MB / 0.4982 GB Notification: Performance of Templates: time 0.3641/2.045, allocations: 58.56 MB / 0.7867 GB, free: 136.1 MB / 0.4982 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)