Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0008131/0.0008169, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009095/0.0009096, allocations: 168.7 kB / 15.95 MB, free: 204 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.4/1.4, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004563/0.0004563, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2287, allocations: 47.6 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01433/0.2431, allocations: 14.23 MB / 340.7 MB, free: 5.219 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009281/0.2525, allocations: 4.266 MB / 345 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.2547, allocations: 103.7 kB / 345.1 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002409/0.2572, allocations: 0.8429 MB / 345.9 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004909/0.2621, allocations: 1.579 MB / 347.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.2654, allocations: 1.275 MB / 348.8 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0152/0.2806, allocations: 12.13 MB / 360.9 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03348/0.3141, allocations: 17.37 MB / 378.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006275/0.3204, allocations: 3.965 MB / 382.2 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00692/0.3273, allocations: 4.343 MB / 386.6 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001717/0.3291, allocations: 0.5625 MB / 387.2 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003171/0.3323, allocations: 0.8279 MB / 388 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001901/0.3342, allocations: 1.76 MB / 389.7 MB, free: 4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002562/0.3368, allocations: 1.771 MB / 391.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01698/0.3537, allocations: 15.24 MB / 406.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3538, allocations: 0 / 406.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3538, allocations: 0 / 406.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006371/0.3544, allocations: 0 / 406.8 MB, free: 2.938 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.0274/0.3819, allocations: 10.37 MB / 417.1 MB, free: 8.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/0.3819, allocations: 11.97 kB / 417.1 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03378/0.4157, allocations: 6.216 MB / 423.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/0.4278, allocations: 5.115 MB / 428.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007499/0.4286, allocations: 0.682 MB / 429.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003309/0.4319, allocations: 0.8749 MB / 430 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02962/0.4615, allocations: 14.67 MB / 444.7 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001723/0.4617, allocations: 11.91 kB / 444.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009853/0.4627, allocations: 372 kB / 445.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004496/0.4632, allocations: 0.4914 MB / 445.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3525/0.8157, allocations: 13.49 MB / 459 MB, free: 94.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06511/0.8808, allocations: 44.69 MB / 0.4919 GB, free: 64.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009761/0.8906, allocations: 11.67 MB / 0.5033 GB, free: 52.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003836/0.8945, allocations: 3.218 MB / 0.5065 GB, free: 48.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003118/0.8948, allocations: 175.7 kB / 0.5066 GB, free: 48.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.8949, allocations: 86.5 kB / 0.5067 GB, free: 48.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=421): time 7.524e-06/0.8949, allocations: 0 / 0.5067 GB, free: 48.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=421): time 0.0217/0.9166, allocations: 11 MB / 0.5175 GB, free: 37.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.9167, allocations: 121.1 kB / 0.5176 GB, free: 37.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00481/0.9215, allocations: 3.128 MB / 0.5206 GB, free: 34.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006163/0.9222, allocations: 93.7 kB / 0.5207 GB, free: 34.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001743/0.9239, allocations: 3.679 MB / 0.5243 GB, free: 30.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001372/0.9253, allocations: 1.434 MB / 0.5257 GB, free: 28.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006074/0.9259, allocations: 116 kB / 0.5258 GB, free: 28.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003122/0.9262, allocations: 0.5498 MB / 0.5264 GB, free: 28.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004203/0.9304, allocations: 2.888 MB / 0.5292 GB, free: 25.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005106/0.9356, allocations: 4.952 MB / 0.534 GB, free: 19.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005305/0.9409, allocations: 4.013 MB / 0.5379 GB, free: 15.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-05/0.941, allocations: 20 kB / 0.538 GB, free: 15.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01493/0.9559, allocations: 9.181 MB / 0.5469 GB, free: 6.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.589e-05/0.956, allocations: 35.95 kB / 0.547 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001311/0.9562, allocations: 68 kB / 0.547 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002814/0.959, allocations: 1.13 MB / 0.5481 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004051/0.963, allocations: 1.291 MB / 0.5494 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/0.9761, allocations: 9.922 MB / 0.5591 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005155/0.9813, allocations: 0.7433 MB / 0.5598 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/0.9827, allocations: 275.9 kB / 0.5601 GB, free: 8.496 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.006901/0.9896, allocations: 3.431 MB / 0.5634 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/0.9907, allocations: 347.7 kB / 0.5637 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/1.004, allocations: 7.023 MB / 0.5706 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009362/1.013, allocations: 5.847 MB / 0.5763 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-05/1.013, allocations: 12 kB / 0.5763 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.606e-05/1.013, allocations: 23.91 kB / 0.5764 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02892/1.042, allocations: 15.5 MB / 0.5915 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.163e-05/1.042, allocations: 12 kB / 0.5915 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003093/1.045, allocations: 0.8035 MB / 0.5923 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/1.048, allocations: 1.028 MB / 0.5933 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004659/1.049, allocations: 108 kB / 0.5934 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/1.062, allocations: 9.661 MB / 0.6028 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.818e-05/1.062, allocations: 15.94 kB / 0.6028 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01861/1.081, allocations: 10.88 MB / 0.6135 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2021/1.283, allocations: 1.012 MB / 0.6145 GB, free: 145.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00156/1.285, allocations: 94.3 kB / 0.6145 GB, free: 145.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003337/1.288, allocations: 279.3 kB / 0.6148 GB, free: 145.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001409/1.29, allocations: 348.4 kB / 0.6151 GB, free: 145.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004374/1.29, allocations: 140.4 kB / 0.6153 GB, free: 145.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003564/1.294, allocations: 2.101 MB / 0.6173 GB, free: 145.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.034e-06/1.294, allocations: 1.281 kB / 0.6173 GB, free: 145.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007153/1.301, allocations: 2.232 MB / 0.6195 GB, free: 145.1 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.0006869/1.301, allocations: 292.8 kB / 0.6198 GB, free: 145 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01042/1.312, allocations: 7.549 MB / 0.6272 GB, free: 143.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/1.312, allocations: 3.875 kB / 0.6272 GB, free: 143.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00573/1.318, allocations: 3.704 MB / 0.6308 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004138/1.322, allocations: 0.775 MB / 0.6315 GB, free: 141.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0265/1.348, allocations: 19.18 MB / 0.6503 GB, free: 128.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005661/1.354, allocations: 5.942 MB / 0.6561 GB, free: 124 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005291/1.359, allocations: 2.164 MB / 0.6582 GB, free: 122.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009589/1.36, allocations: 322.7 kB / 0.6585 GB, free: 122.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.302e-06/1.36, allocations: 0 / 0.6585 GB, free: 122.2 MB / 446.1 MB Notification: Performance of Templates: time 0.08609/1.446, allocations: 57.24 MB / 0.7144 GB, free: 66.65 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)