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.007497/0.007497, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001783/0.001783, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.505/1.505, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.001175/0.001175, allocations: 50.52 kB / 326.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1044, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01743/0.1219, allocations: 16.53 MB / 389.7 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.1349, allocations: 4.654 MB / 394.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004394/0.1393, allocations: 115.6 kB / 394.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01707/0.1565, allocations: 7.192 MB / 401.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008631/0.1652, allocations: 1.885 MB / 403.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005029/0.1702, allocations: 1.621 MB / 405.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01356/0.1838, allocations: 9.396 MB / 414.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03066/0.2145, allocations: 20.83 MB / 435.4 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008724/0.2233, allocations: 5.257 MB / 440.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01029/0.2336, allocations: 5.864 MB / 446.5 MB, free: 7.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004313/0.2379, allocations: 1.359 MB / 447.9 MB, free: 6.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005058/0.243, allocations: 1.64 MB / 449.5 MB, free: 4.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005412/0.2485, allocations: 2.794 MB / 452.3 MB, free: 1.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3008/0.5493, allocations: 5.354 MB / 457.7 MB, free: 30.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03574/0.5851, allocations: 18.19 MB / 475.9 MB, free: 27.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.5851, allocations: 0 / 475.9 MB, free: 27.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5852, allocations: 3.5 kB / 475.9 MB, free: 27.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0009665/0.5861, allocations: 0 / 475.9 MB, free: 27.85 MB / 382.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.05306/0.6392, allocations: 12.12 MB / 488 MB, free: 20.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.6393, allocations: 13.23 kB / 488 MB, free: 20.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03632/0.6756, allocations: 6.242 MB / 494.2 MB, free: 17.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/0.6916, allocations: 5.157 MB / 499.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008063/0.6925, allocations: 0.6732 MB / 0.4884 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005669/0.6981, allocations: 0.8815 MB / 0.4892 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.053/0.7512, allocations: 14.71 MB / 0.5036 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004255/0.7516, allocations: 7.906 kB / 0.5036 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004316/0.756, allocations: 374 kB / 0.5039 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005913/0.7566, allocations: 499.3 kB / 0.5044 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03395/0.7905, allocations: 13.52 MB / 0.5176 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09497/0.8855, allocations: 44.07 MB / 0.5607 GB, free: 6.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01473/0.9003, allocations: 11.65 MB / 0.572 GB, free: 9.328 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005382/0.9058, allocations: 3.161 MB / 0.5751 GB, free: 6.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004348/0.9063, allocations: 179 kB / 0.5753 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.156e-05/0.9063, allocations: 78.5 kB / 0.5754 GB, free: 5.895 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 6.071e-06/0.9064, allocations: 4 kB / 0.5754 GB, free: 5.891 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.02242/0.9288, allocations: 9.58 MB / 0.5847 GB, free: 12.31 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/0.9289, allocations: 125.1 kB / 0.5848 GB, free: 12.17 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007099/0.936, allocations: 3.156 MB / 0.5879 GB, free: 8.992 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008698/0.9369, allocations: 93.7 kB / 0.588 GB, free: 8.895 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003186/0.9401, allocations: 3.69 MB / 0.5916 GB, free: 5.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002307/0.9424, allocations: 1.397 MB / 0.593 GB, free: 3.797 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003617/0.9461, allocations: 1.124 MB / 0.5941 GB, free: 2.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.9462, allocations: 305.1 kB / 0.5944 GB, free: 2.359 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005024/0.9512, allocations: 2.84 MB / 0.5971 GB, free: 15.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00693/0.9582, allocations: 4.897 MB / 0.6019 GB, free: 9.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/0.9708, allocations: 8.252 MB / 0.61 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.882e-05/0.971, allocations: 24 kB / 0.61 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02129/0.9923, allocations: 9.109 MB / 0.6189 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.9924, allocations: 32 kB / 0.6189 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001883/0.9926, allocations: 68 kB / 0.619 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003791/0.9964, allocations: 1.151 MB / 0.6201 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005735/1.002, allocations: 1.285 MB / 0.6214 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3693/1.371, allocations: 10.8 MB / 0.6319 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006854/1.378, allocations: 0.74 MB / 0.6327 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00208/1.381, allocations: 275.6 kB / 0.6329 GB, free: 143.8 MB / 0.4981 GB 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.01185/1.392, allocations: 3.433 MB / 0.6363 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001824/1.394, allocations: 345.1 kB / 0.6366 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01655/1.411, allocations: 6.914 MB / 0.6434 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009991/1.421, allocations: 5.738 MB / 0.649 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-05/1.421, allocations: 14.69 kB / 0.649 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.081e-05/1.421, allocations: 26.81 kB / 0.649 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03954/1.461, allocations: 15.22 MB / 0.6639 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001087/1.461, allocations: 16 kB / 0.6639 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003696/1.464, allocations: 0.7895 MB / 0.6646 GB, free: 135 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003676/1.468, allocations: 1.053 MB / 0.6657 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001098/1.469, allocations: 110.8 kB / 0.6658 GB, free: 134.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01457/1.484, allocations: 10.56 MB / 0.6761 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.699e-05/1.484, allocations: 23.12 kB / 0.6761 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0198/1.504, allocations: 10.68 MB / 0.6865 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003463/1.507, allocations: 0.9912 MB / 0.6875 GB, free: 112.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001884/1.509, allocations: 95.98 kB / 0.6876 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003959/1.513, allocations: 279.8 kB / 0.6879 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001371/1.515, allocations: 338.2 kB / 0.6882 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007174/1.515, allocations: 147.2 kB / 0.6883 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005838/1.521, allocations: 2.125 MB / 0.6904 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.8e-07/1.521, allocations: 0 / 0.6904 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01083/1.532, allocations: 2.229 MB / 0.6926 GB, free: 107.4 MB / 0.4981 GB 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.001171/1.533, allocations: 301.5 kB / 0.6929 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01423/1.548, allocations: 7.451 MB / 0.7002 GB, free: 99.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.989e-05/1.548, allocations: 4.375 kB / 0.7002 GB, free: 99.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006915/1.555, allocations: 3.649 MB / 0.7037 GB, free: 96.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007499/1.562, allocations: 0.8036 MB / 0.7045 GB, free: 95.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04193/1.604, allocations: 15.96 MB / 0.7201 GB, free: 79.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.012/1.616, allocations: 5.934 MB / 0.7259 GB, free: 73.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00539/1.621, allocations: 2.158 MB / 0.728 GB, free: 71.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009759/1.622, allocations: 318.9 kB / 0.7283 GB, free: 70.96 MB / 0.4981 GB Notification: Performance of SimCode: time 1.583e-06/1.622, allocations: 0 / 0.7283 GB, free: 70.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.1011/1.724, allocations: 58.56 MB / 0.7855 GB, free: 12.51 MB / 0.4981 GB 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)