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.004813/0.004813, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001107/0.001107, allocations: 194.5 kB / 16.67 MB, free: 5.52 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.44/1.44, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001323/0.001323, allocations: 48.41 kB / 326.6 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.101, allocations: 46.62 MB / 373.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2338/0.3348, allocations: 16.53 MB / 389.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.3467, allocations: 4.658 MB / 394.4 MB, free: 332 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004428/0.3512, allocations: 114.6 kB / 394.5 MB, free: 308 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01769/0.369, allocations: 7.19 MB / 401.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00885/0.3778, allocations: 1.878 MB / 403.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005153/0.383, allocations: 1.622 MB / 405.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01542/0.3984, allocations: 9.4 MB / 414.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04824/0.4467, allocations: 20.83 MB / 435.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01149/0.4583, allocations: 5.253 MB / 440.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01225/0.4706, allocations: 5.868 MB / 446.5 MB, free: 6.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005787/0.4764, allocations: 1.359 MB / 447.9 MB, free: 4.805 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008027/0.4845, allocations: 1.648 MB / 449.5 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006218/0.4907, allocations: 2.786 MB / 452.3 MB, free: 376 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01347/0.5042, allocations: 5.358 MB / 457.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02573/0.53, allocations: 18.19 MB / 475.9 MB, free: 8.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.53, allocations: 0 / 475.9 MB, free: 8.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.53, allocations: 0 / 475.9 MB, free: 8.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006328/0.5307, allocations: 0 / 475.9 MB, free: 8.742 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.04153/0.5722, allocations: 12.13 MB / 488 MB, free: 12.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.5723, allocations: 11.89 kB / 488 MB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03679/0.6091, allocations: 6.245 MB / 494.2 MB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01524/0.6244, allocations: 5.168 MB / 499.4 MB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000895/0.6253, allocations: 0.6742 MB / 0.4884 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005232/0.6306, allocations: 0.8827 MB / 0.4892 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05266/0.6833, allocations: 14.71 MB / 0.5036 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000543/0.6839, allocations: 7.906 kB / 0.5036 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003993/0.6879, allocations: 372 kB / 0.5039 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005924/0.6885, allocations: 495.4 kB / 0.5044 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03418/0.7227, allocations: 13.52 MB / 0.5176 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.567/1.29, allocations: 44.06 MB / 0.5607 GB, free: 120.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01388/1.304, allocations: 11.64 MB / 0.572 GB, free: 114 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005415/1.309, allocations: 3.165 MB / 0.5751 GB, free: 113.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004097/1.31, allocations: 175.9 kB / 0.5753 GB, free: 113.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.152e-05/1.31, allocations: 79.78 kB / 0.5754 GB, free: 113.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 5.951e-06/1.31, allocations: 1.438 kB / 0.5754 GB, free: 113.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.02064/1.33, allocations: 9.593 MB / 0.5847 GB, free: 112.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/1.33, allocations: 121.1 kB / 0.5848 GB, free: 112.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004658/1.335, allocations: 3.16 MB / 0.5879 GB, free: 111.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006162/1.336, allocations: 92.83 kB / 0.588 GB, free: 111.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001865/1.338, allocations: 3.691 MB / 0.5916 GB, free: 108.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001171/1.339, allocations: 1.391 MB / 0.593 GB, free: 107.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001412/1.34, allocations: 1.127 MB / 0.5941 GB, free: 106.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/1.34, allocations: 309.1 kB / 0.5944 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003496/1.344, allocations: 2.834 MB / 0.5971 GB, free: 105.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004745/1.349, allocations: 4.9 MB / 0.6019 GB, free: 101.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008776/1.357, allocations: 8.257 MB / 0.61 GB, free: 96.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.887e-05/1.358, allocations: 18.66 kB / 0.61 GB, free: 96.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01458/1.372, allocations: 9.101 MB / 0.6189 GB, free: 91.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/1.372, allocations: 34.75 kB / 0.6189 GB, free: 91.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/1.372, allocations: 69.75 kB / 0.619 GB, free: 91.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003018/1.375, allocations: 1.155 MB / 0.6201 GB, free: 90.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004148/1.38, allocations: 1.295 MB / 0.6214 GB, free: 89.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/1.392, allocations: 10.81 MB / 0.6319 GB, free: 78.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004589/1.396, allocations: 0.7355 MB / 0.6327 GB, free: 77.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001239/1.397, allocations: 276 kB / 0.6329 GB, free: 77.22 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.006893/1.404, allocations: 3.435 MB / 0.6363 GB, free: 73.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/1.406, allocations: 343.7 kB / 0.6366 GB, free: 73.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/1.418, allocations: 6.901 MB / 0.6433 GB, free: 66.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008435/1.426, allocations: 5.741 MB / 0.649 GB, free: 60.75 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-05/1.426, allocations: 15.94 kB / 0.649 GB, free: 60.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.447e-05/1.426, allocations: 23.91 kB / 0.649 GB, free: 60.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02867/1.455, allocations: 15.22 MB / 0.6639 GB, free: 45.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/1.455, allocations: 15.62 kB / 0.6639 GB, free: 45.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003026/1.458, allocations: 0.7878 MB / 0.6646 GB, free: 44.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002896/1.461, allocations: 1.068 MB / 0.6657 GB, free: 43.47 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004202/1.461, allocations: 104 kB / 0.6658 GB, free: 43.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/1.473, allocations: 10.57 MB / 0.6761 GB, free: 32.54 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/1.473, allocations: 19.94 kB / 0.6761 GB, free: 32.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/1.487, allocations: 10.69 MB / 0.6866 GB, free: 21.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.489, allocations: 0.9874 MB / 0.6875 GB, free: 20.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005658/1.49, allocations: 96.06 kB / 0.6876 GB, free: 20.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/1.492, allocations: 280.5 kB / 0.6879 GB, free: 20.22 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008047/1.493, allocations: 339.2 kB / 0.6882 GB, free: 19.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002655/1.493, allocations: 144 kB / 0.6883 GB, free: 19.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003107/1.496, allocations: 2.121 MB / 0.6904 GB, free: 17.62 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.496, allocations: 0 / 0.6904 GB, free: 17.62 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007346/1.504, allocations: 2.232 MB / 0.6926 GB, free: 15.38 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.000866/1.505, allocations: 296.4 kB / 0.6929 GB, free: 15.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01169/1.516, allocations: 7.446 MB / 0.7002 GB, free: 7.633 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.198e-05/1.516, allocations: 0 / 0.7002 GB, free: 7.633 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007998/1.524, allocations: 3.655 MB / 0.7037 GB, free: 3.961 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00737/1.532, allocations: 0.7936 MB / 0.7045 GB, free: 3.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03432/1.566, allocations: 15.97 MB / 0.7201 GB, free: 3.023 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00879/1.575, allocations: 5.93 MB / 0.7259 GB, free: 13.05 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.00575/1.581, allocations: 2.158 MB / 0.728 GB, free: 10.89 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.582, allocations: 315.4 kB / 0.7283 GB, free: 10.58 MB / 0.4982 GB Notification: Performance of SimCode: time 2.995e-06/1.582, allocations: 0 / 0.7283 GB, free: 10.58 MB / 0.4982 GB Notification: Performance of Templates: time 0.4022/1.984, allocations: 58.55 MB / 0.7855 GB, free: 136.1 MB / 0.4982 GB 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)