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.004528/0.004528, 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.001065/0.001065, allocations: 196.2 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.343/1.343, 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.001103/0.001103, allocations: 44.41 kB / 326.6 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1102, allocations: 46.62 MB / 373.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2377/0.3479, allocations: 16.54 MB / 389.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.36, allocations: 4.658 MB / 394.4 MB, free: 332 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005194/0.3652, allocations: 116.2 kB / 394.5 MB, free: 308 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0174/0.3827, allocations: 7.191 MB / 401.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.3933, allocations: 1.873 MB / 403.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005853/0.3992, allocations: 1.628 MB / 405.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01544/0.4146, allocations: 9.395 MB / 414.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03835/0.453, allocations: 20.84 MB / 435.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0115/0.4646, allocations: 5.253 MB / 440.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01101/0.4756, allocations: 5.86 MB / 446.5 MB, free: 6.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004796/0.4805, allocations: 1.359 MB / 447.9 MB, free: 4.805 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00751/0.488, allocations: 1.648 MB / 449.5 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005875/0.494, allocations: 2.79 MB / 452.3 MB, free: 368 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01316/0.5071, allocations: 5.354 MB / 457.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02994/0.5371, allocations: 18.2 MB / 475.9 MB, free: 8.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.5372, allocations: 3.938 kB / 475.9 MB, free: 8.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5372, allocations: 0 / 475.9 MB, free: 8.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007941/0.538, allocations: 0 / 475.9 MB, free: 8.73 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.04666/0.5847, allocations: 12.12 MB / 488 MB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.021e-05/0.5848, allocations: 11.89 kB / 488 MB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03761/0.6224, allocations: 6.241 MB / 494.2 MB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01372/0.6362, allocations: 5.168 MB / 499.4 MB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008774/0.6371, allocations: 0.6743 MB / 0.4884 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005076/0.6422, allocations: 0.8749 MB / 0.4892 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04604/0.6883, allocations: 14.71 MB / 0.5036 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002429/0.6886, allocations: 11.89 kB / 0.5036 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001435/0.69, allocations: 375.9 kB / 0.504 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004987/0.6905, allocations: 499.3 kB / 0.5044 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02982/0.7203, allocations: 13.52 MB / 0.5176 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.581/1.301, allocations: 44.06 MB / 0.5607 GB, free: 120.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01399/1.315, allocations: 11.64 MB / 0.572 GB, free: 114 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006927/1.322, allocations: 3.163 MB / 0.5751 GB, free: 113.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005231/1.323, allocations: 175 kB / 0.5753 GB, free: 113.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.877e-05/1.323, allocations: 79.22 kB / 0.5754 GB, free: 113.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 8.455e-06/1.323, allocations: 1.031 kB / 0.5754 GB, free: 113.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.02317/1.346, allocations: 9.596 MB / 0.5847 GB, free: 112.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.346, allocations: 120.4 kB / 0.5848 GB, free: 112.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005215/1.352, allocations: 3.157 MB / 0.5879 GB, free: 111.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007398/1.352, allocations: 92.83 kB / 0.588 GB, free: 111.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002721/1.355, allocations: 3.692 MB / 0.5916 GB, free: 108.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00159/1.357, allocations: 1.391 MB / 0.593 GB, free: 107.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001733/1.359, allocations: 1.125 MB / 0.5941 GB, free: 106.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.19e-05/1.359, allocations: 309.1 kB / 0.5944 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00388/1.363, allocations: 2.837 MB / 0.5971 GB, free: 105.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004283/1.367, allocations: 4.903 MB / 0.6019 GB, free: 101.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008072/1.375, allocations: 8.255 MB / 0.61 GB, free: 96.46 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-05/1.375, allocations: 21.94 kB / 0.61 GB, free: 96.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01545/1.39, allocations: 9.104 MB / 0.6189 GB, free: 91.69 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.845e-05/1.391, allocations: 38.59 kB / 0.6189 GB, free: 91.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001506/1.391, allocations: 67.44 kB / 0.619 GB, free: 91.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003314/1.394, allocations: 1.148 MB / 0.6201 GB, free: 90.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004784/1.399, allocations: 1.291 MB / 0.6214 GB, free: 89.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/1.412, allocations: 10.81 MB / 0.6319 GB, free: 78.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005427/1.417, allocations: 0.7395 MB / 0.6327 GB, free: 77.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009703/1.418, allocations: 281.3 kB / 0.6329 GB, free: 77.23 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.00651/1.425, allocations: 3.431 MB / 0.6363 GB, free: 73.79 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009788/1.426, allocations: 343.7 kB / 0.6366 GB, free: 73.45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/1.437, allocations: 6.901 MB / 0.6433 GB, free: 66.52 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007806/1.444, allocations: 5.737 MB / 0.649 GB, free: 60.77 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.094e-05/1.444, allocations: 19.88 kB / 0.649 GB, free: 60.75 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.08e-05/1.444, allocations: 19.92 kB / 0.649 GB, free: 60.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02752/1.472, allocations: 15.22 MB / 0.6639 GB, free: 45.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/1.472, allocations: 15.61 kB / 0.6639 GB, free: 45.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00271/1.475, allocations: 0.7917 MB / 0.6646 GB, free: 44.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002827/1.478, allocations: 1.064 MB / 0.6657 GB, free: 43.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002764/1.478, allocations: 107.8 kB / 0.6658 GB, free: 43.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/1.49, allocations: 10.57 MB / 0.6761 GB, free: 32.55 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/1.49, allocations: 19.94 kB / 0.6761 GB, free: 32.53 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/1.503, allocations: 10.69 MB / 0.6866 GB, free: 21.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/1.505, allocations: 0.9835 MB / 0.6875 GB, free: 20.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00049/1.506, allocations: 100 kB / 0.6876 GB, free: 20.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/1.508, allocations: 275.7 kB / 0.6879 GB, free: 20.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007009/1.509, allocations: 343.2 kB / 0.6882 GB, free: 19.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002368/1.509, allocations: 140 kB / 0.6883 GB, free: 19.76 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002722/1.512, allocations: 2.125 MB / 0.6904 GB, free: 17.63 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.512, allocations: 0 / 0.6904 GB, free: 17.63 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006473/1.518, allocations: 2.229 MB / 0.6926 GB, free: 15.4 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.000622/1.519, allocations: 288.1 kB / 0.6929 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01046/1.529, allocations: 7.454 MB / 0.7001 GB, free: 7.648 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.979e-05/1.529, allocations: 4 kB / 0.7002 GB, free: 7.645 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005262/1.535, allocations: 3.651 MB / 0.7037 GB, free: 3.977 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004227/1.539, allocations: 0.7928 MB / 0.7045 GB, free: 3.195 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03038/1.569, allocations: 15.97 MB / 0.7201 GB, free: 3.035 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006978/1.576, allocations: 5.93 MB / 0.7259 GB, free: 13.06 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.006/1.582, allocations: 2.158 MB / 0.728 GB, free: 10.9 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000912/1.583, allocations: 315.4 kB / 0.7283 GB, free: 10.59 MB / 0.4982 GB Notification: Performance of SimCode: time 1.012e-06/1.583, allocations: 1.094 kB / 0.7283 GB, free: 10.59 MB / 0.4982 GB Notification: Performance of Templates: time 0.3757/1.959, allocations: 58.56 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)