Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.0009143/0.0009143, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009611/0.0009609, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004648/0.0004651, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2911, allocations: 47.57 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0144/0.3055, allocations: 14.23 MB / 340.7 MB, free: 5.238 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.3164, allocations: 4.274 MB / 345 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003506/0.3199, allocations: 107.6 kB / 345.1 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003675/0.3236, allocations: 0.839 MB / 345.9 MB, free: 4 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006689/0.3304, allocations: 1.579 MB / 347.5 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004001/0.3344, allocations: 1.282 MB / 348.8 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01877/0.3532, allocations: 12.12 MB / 360.9 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03762/0.3908, allocations: 17.37 MB / 378.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009298/0.4002, allocations: 3.969 MB / 382.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009809/0.41, allocations: 4.34 MB / 386.6 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002769/0.4128, allocations: 0.5625 MB / 387.2 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005557/0.4184, allocations: 0.8279 MB / 388 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003722/0.4222, allocations: 1.764 MB / 389.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004478/0.4267, allocations: 1.775 MB / 391.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02002/0.4467, allocations: 15.24 MB / 406.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.4468, allocations: 0 / 406.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.4468, allocations: 0 / 406.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006532/0.4474, allocations: 0 / 406.8 MB, free: 2.941 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: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.03259/0.4801, allocations: 10.37 MB / 417.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.4801, allocations: 8.031 kB / 417.1 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04632/0.5265, allocations: 6.216 MB / 423.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/0.5405, allocations: 5.126 MB / 428.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009727/0.5415, allocations: 0.6704 MB / 429.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004205/0.5458, allocations: 0.8788 MB / 430 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04776/0.5936, allocations: 14.68 MB / 444.7 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004848/0.5941, allocations: 7.906 kB / 444.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004014/0.5981, allocations: 380 kB / 445.1 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007186/0.5989, allocations: 0.4914 MB / 445.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4249/1.024, allocations: 13.47 MB / 459 MB, free: 94.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06982/1.094, allocations: 44.7 MB / 0.4919 GB, free: 64.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/1.104, allocations: 11.68 MB / 0.5033 GB, free: 52.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004358/1.108, allocations: 3.211 MB / 0.5065 GB, free: 48.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004765/1.109, allocations: 176 kB / 0.5066 GB, free: 48.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.452e-05/1.109, allocations: 78.56 kB / 0.5067 GB, free: 48.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=421): time 5.891e-06/1.109, allocations: 4 kB / 0.5067 GB, free: 48.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=421): time 0.02469/1.134, allocations: 11 MB / 0.5175 GB, free: 37.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/1.134, allocations: 129.1 kB / 0.5176 GB, free: 37.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005615/1.14, allocations: 3.124 MB / 0.5206 GB, free: 34.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005192/1.14, allocations: 93.64 kB / 0.5207 GB, free: 34.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001989/1.142, allocations: 3.686 MB / 0.5243 GB, free: 30.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001346/1.143, allocations: 1.427 MB / 0.5257 GB, free: 29.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006127/1.144, allocations: 116 kB / 0.5258 GB, free: 28.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004096/1.144, allocations: 0.5498 MB / 0.5264 GB, free: 28.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004226/1.149, allocations: 2.892 MB / 0.5292 GB, free: 25.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005343/1.154, allocations: 4.952 MB / 0.534 GB, free: 19.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00554/1.16, allocations: 4.009 MB / 0.5379 GB, free: 15.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.098e-05/1.16, allocations: 20 kB / 0.538 GB, free: 15.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01491/1.175, allocations: 9.181 MB / 0.5469 GB, free: 6.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.969e-05/1.175, allocations: 35.95 kB / 0.547 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/1.175, allocations: 68 kB / 0.547 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002895/1.178, allocations: 1.13 MB / 0.5481 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004405/1.182, allocations: 1.295 MB / 0.5494 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/1.197, allocations: 9.921 MB / 0.5591 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005231/1.202, allocations: 0.7396 MB / 0.5598 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/1.203, allocations: 284 kB / 0.5601 GB, free: 8.516 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008275/1.211, allocations: 3.423 MB / 0.5634 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/1.213, allocations: 347.7 kB / 0.5637 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01506/1.228, allocations: 7.031 MB / 0.5706 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01153/1.239, allocations: 5.839 MB / 0.5763 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001086/1.239, allocations: 12 kB / 0.5763 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.988e-05/1.24, allocations: 19.92 kB / 0.5763 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03969/1.279, allocations: 15.52 MB / 0.5915 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-05/1.279, allocations: 12 kB / 0.5915 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003601/1.283, allocations: 0.7919 MB / 0.5923 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003284/1.286, allocations: 1.028 MB / 0.5933 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001113/1.287, allocations: 108 kB / 0.5934 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/1.304, allocations: 9.658 MB / 0.6028 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.176e-05/1.304, allocations: 23.88 kB / 0.6028 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02418/1.328, allocations: 10.87 MB / 0.6135 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003531/1.332, allocations: 1.015 MB / 0.6145 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2575/1.589, allocations: 101 kB / 0.6145 GB, free: 145.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002962/1.592, allocations: 278.8 kB / 0.6148 GB, free: 145.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/1.593, allocations: 341.1 kB / 0.6151 GB, free: 145.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004395/1.594, allocations: 148.2 kB / 0.6153 GB, free: 145.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004097/1.598, allocations: 2.106 MB / 0.6173 GB, free: 145.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.598, allocations: 0 / 0.6173 GB, free: 145.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008864/1.607, allocations: 2.222 MB / 0.6195 GB, free: 145.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001211/1.608, allocations: 302.2 kB / 0.6198 GB, free: 145.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01193/1.62, allocations: 7.536 MB / 0.6272 GB, free: 143.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.19e-05/1.62, allocations: 3.688 kB / 0.6272 GB, free: 143.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005851/1.626, allocations: 3.711 MB / 0.6308 GB, free: 142 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004183/1.63, allocations: 0.7696 MB / 0.6315 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02835/1.658, allocations: 19.19 MB / 0.6503 GB, free: 128.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006547/1.665, allocations: 5.937 MB / 0.6561 GB, free: 124.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006163/1.671, allocations: 2.163 MB / 0.6582 GB, free: 122.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/1.672, allocations: 318.5 kB / 0.6585 GB, free: 122.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.803e-06/1.672, allocations: 0 / 0.6585 GB, free: 122.4 MB / 446.1 MB Notification: Performance of Templates: time 0.09395/1.766, allocations: 57.24 MB / 0.7144 GB, free: 66.78 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)