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.0008519/0.000852, allocations: 89.11 kB / 16.65 MB, free: 6.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.0008251/0.0008253, allocations: 183.7 kB / 17.56 MB, free: 6.203 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.419/1.419, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0004931/0.0004931, allocations: 12.28 kB / 280.8 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1136, allocations: 47.58 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0156/0.1292, allocations: 15.38 MB / 343.7 MB, free: 4.289 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.1404, allocations: 4.592 MB / 348.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003661/0.1441, allocations: 103.7 kB / 348.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004554/0.1487, allocations: 1.163 MB / 349.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007743/0.1565, allocations: 1.688 MB / 351.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005074/0.1615, allocations: 1.52 MB / 352.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01482/0.1764, allocations: 9.481 MB / 362.3 MB, free: 1.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2684/0.4449, allocations: 20.99 MB / 383.2 MB, free: 16.94 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007886/0.4528, allocations: 3.75 MB / 387 MB, free: 16.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01242/0.4653, allocations: 4.542 MB / 391.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0039/0.4692, allocations: 0.5614 MB / 392.1 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006256/0.4755, allocations: 0.8483 MB / 393 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004043/0.4796, allocations: 1.791 MB / 394.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01043/0.49, allocations: 4.272 MB / 399 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01869/0.5088, allocations: 17.1 MB / 416.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5088, allocations: 0 / 416.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.5088, allocations: 0 / 416.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006055/0.5094, allocations: 0 / 416.1 MB, free: 5.91 MB / 318.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.03196/0.5414, allocations: 10.28 MB / 426.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.5415, allocations: 12.03 kB / 426.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03603/0.5775, allocations: 6.212 MB / 432.6 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01398/0.5916, allocations: 5.183 MB / 437.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007832/0.5924, allocations: 0.6722 MB / 438.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00482/0.5972, allocations: 0.8777 MB / 439.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04243/0.6396, allocations: 14.74 MB / 454.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004193/0.6401, allocations: 15.91 kB / 454.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003837/0.644, allocations: 374.9 kB / 454.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006189/0.6446, allocations: 499.3 kB / 455 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03416/0.6788, allocations: 13.56 MB / 468.5 MB, free: 5.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09824/0.7771, allocations: 44.73 MB / 0.5012 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01495/0.792, allocations: 11.69 MB / 0.5126 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005572/0.7977, allocations: 3.222 MB / 0.5158 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005135/0.7982, allocations: 181.8 kB / 0.516 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.974e-05/0.7983, allocations: 86.11 kB / 0.516 GB, free: 8.012 MB / 430.1 MB Notification: Performance of pre-optimization done (n=421): time 7.705e-06/0.7983, allocations: 0 / 0.516 GB, free: 8.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=421): time 0.02399/0.8223, allocations: 9.756 MB / 0.5256 GB, free: 14.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.8225, allocations: 121.1 kB / 0.5257 GB, free: 14.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008114/0.8306, allocations: 3.156 MB / 0.5288 GB, free: 10.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007765/0.8314, allocations: 93.7 kB / 0.5289 GB, free: 10.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003001/0.8344, allocations: 3.681 MB / 0.5325 GB, free: 7.133 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002063/0.8365, allocations: 1.434 MB / 0.5339 GB, free: 5.711 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001439/0.838, allocations: 470.8 kB / 0.5343 GB, free: 5.242 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.8381, allocations: 301.1 kB / 0.5346 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005425/0.8435, allocations: 2.911 MB / 0.5374 GB, free: 2.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.255/1.099, allocations: 4.974 MB / 0.5423 GB, free: 142.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01251/1.111, allocations: 8.412 MB / 0.5505 GB, free: 139.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001313/1.111, allocations: 18.41 kB / 0.5505 GB, free: 139.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01713/1.128, allocations: 9.235 MB / 0.5595 GB, free: 136.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.754e-05/1.129, allocations: 39.56 kB / 0.5596 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001515/1.129, allocations: 63.81 kB / 0.5596 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/1.132, allocations: 1.116 MB / 0.5607 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004712/1.137, allocations: 1.29 MB / 0.562 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/1.149, allocations: 9.921 MB / 0.5717 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00466/1.154, allocations: 0.7437 MB / 0.5724 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005696/1.154, allocations: 277.2 kB / 0.5727 GB, free: 130 MB / 446.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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.005529/1.16, allocations: 3.437 MB / 0.576 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007408/1.161, allocations: 343.8 kB / 0.5763 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/1.171, allocations: 7.049 MB / 0.5832 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007993/1.179, allocations: 5.868 MB / 0.589 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.756e-05/1.179, allocations: 12 kB / 0.589 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.501e-05/1.179, allocations: 28.7 kB / 0.589 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02554/1.205, allocations: 15.55 MB / 0.6042 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-05/1.205, allocations: 12 kB / 0.6042 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002823/1.207, allocations: 0.7878 MB / 0.605 GB, free: 107.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002725/1.21, allocations: 1.036 MB / 0.606 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002797/1.21, allocations: 116 kB / 0.6061 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/1.222, allocations: 9.675 MB / 0.6155 GB, free: 96.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/1.222, allocations: 24.47 kB / 0.6156 GB, free: 96.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/1.237, allocations: 10.92 MB / 0.6262 GB, free: 85.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/1.239, allocations: 1.007 MB / 0.6272 GB, free: 84.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008243/1.24, allocations: 100 kB / 0.6273 GB, free: 84.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002557/1.242, allocations: 275.7 kB / 0.6276 GB, free: 83.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007188/1.243, allocations: 351.2 kB / 0.6279 GB, free: 83.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003158/1.243, allocations: 144 kB / 0.628 GB, free: 83.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003743/1.247, allocations: 2.121 MB / 0.6301 GB, free: 81.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.247, allocations: 0 / 0.6301 GB, free: 81.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006494/1.254, allocations: 2.231 MB / 0.6323 GB, free: 78.92 MB / 446.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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 Backend phase and start with SimCode phase: time 0.0007079/1.254, allocations: 297.4 kB / 0.6326 GB, free: 78.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01131/1.266, allocations: 7.577 MB / 0.64 GB, free: 71.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/1.266, allocations: 5.094 kB / 0.64 GB, free: 71.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005194/1.271, allocations: 3.723 MB / 0.6436 GB, free: 67.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008611/1.28, allocations: 0.782 MB / 0.6444 GB, free: 66.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03/1.31, allocations: 20.01 MB / 0.6639 GB, free: 46.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007592/1.317, allocations: 5.938 MB / 0.6697 GB, free: 40.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0054/1.323, allocations: 2.154 MB / 0.6718 GB, free: 38.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009635/1.324, allocations: 320.4 kB / 0.6721 GB, free: 37.86 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/1.324, allocations: 0 / 0.6721 GB, free: 37.86 MB / 446.1 MB Notification: Performance of Templates: time 0.3229/1.647, allocations: 58.47 MB / 0.7292 GB, free: 126.3 MB / 446.1 MB 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)