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.006549/0.006549, allocations: 99.8 kB / 15.73 MB, free: 6.496 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.00136/0.00136, allocations: 199 kB / 16.68 MB, free: 6.375 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.438/1.438, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.001315/0.001315, allocations: 53.52 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1069, 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.01737/0.1243, allocations: 16.53 MB / 389.7 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.1359, allocations: 4.662 MB / 394.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004295/0.1402, allocations: 115.7 kB / 394.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01627/0.1566, allocations: 7.161 MB / 401.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008263/0.1649, allocations: 1.877 MB / 403.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005415/0.1703, allocations: 1.625 MB / 405.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01424/0.1846, allocations: 9.395 MB / 414.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04133/0.226, allocations: 20.83 MB / 435.4 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01017/0.2362, allocations: 5.233 MB / 440.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01159/0.2478, allocations: 5.868 MB / 446.5 MB, free: 7.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00547/0.2533, allocations: 1.359 MB / 447.8 MB, free: 6.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007174/0.2605, allocations: 1.644 MB / 449.5 MB, free: 4.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00614/0.2667, allocations: 2.79 MB / 452.3 MB, free: 1.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3231/0.5898, allocations: 5.353 MB / 457.6 MB, free: 30.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02821/0.6181, allocations: 18.19 MB / 475.8 MB, free: 27.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.6182, allocations: 0.75 kB / 475.8 MB, free: 27.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.6182, allocations: 0 / 475.8 MB, free: 27.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001098/0.6193, allocations: 5.062 kB / 475.8 MB, free: 27.86 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.05173/0.6711, allocations: 12.13 MB / 487.9 MB, free: 20.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.6711, allocations: 12.73 kB / 488 MB, free: 20.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03615/0.7073, allocations: 6.237 MB / 494.2 MB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01548/0.7228, allocations: 5.168 MB / 499.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007594/0.7236, allocations: 0.6705 MB / 0.4883 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005553/0.7292, allocations: 0.8775 MB / 0.4892 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04657/0.7758, allocations: 14.7 MB / 0.5035 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000354/0.7762, allocations: 7.906 kB / 0.5035 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003572/0.7798, allocations: 373.8 kB / 0.5039 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005168/0.7803, allocations: 0.4954 MB / 0.5044 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0325/0.8128, allocations: 13.52 MB / 0.5176 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1007/0.9136, allocations: 44.08 MB / 0.5606 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01423/0.9278, allocations: 11.63 MB / 0.572 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005155/0.933, allocations: 3.167 MB / 0.5751 GB, free: 6.086 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004974/0.9336, allocations: 178.7 kB / 0.5752 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.593e-05/0.9337, allocations: 86.44 kB / 0.5753 GB, free: 5.812 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 7.314e-06/0.9337, allocations: 3.984 kB / 0.5753 GB, free: 5.809 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.02401/0.9577, allocations: 9.577 MB / 0.5847 GB, free: 12.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.9579, allocations: 124.8 kB / 0.5848 GB, free: 12.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008547/0.9665, allocations: 3.16 MB / 0.5879 GB, free: 8.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006007/0.9671, allocations: 93.7 kB / 0.588 GB, free: 8.812 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003105/0.9702, allocations: 3.69 MB / 0.5916 GB, free: 5.098 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001794/0.972, allocations: 1.395 MB / 0.5929 GB, free: 3.715 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002292/0.9743, allocations: 1.12 MB / 0.594 GB, free: 2.582 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.9744, allocations: 309.1 kB / 0.5943 GB, free: 2.277 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004644/0.9791, allocations: 2.838 MB / 0.5971 GB, free: 15.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0057/0.9848, allocations: 4.896 MB / 0.6019 GB, free: 9.625 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.995, allocations: 8.253 MB / 0.6099 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.684e-05/0.995, allocations: 20 kB / 0.61 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01545/1.01, allocations: 9.105 MB / 0.6189 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/1.011, allocations: 35.98 kB / 0.6189 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.566e-05/1.011, allocations: 68 kB / 0.619 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003245/1.014, allocations: 1.144 MB / 0.6201 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004348/1.018, allocations: 1.295 MB / 0.6213 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3341/1.352, allocations: 10.8 MB / 0.6319 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005452/1.358, allocations: 0.7453 MB / 0.6326 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/1.359, allocations: 278 kB / 0.6329 GB, free: 143.6 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.007358/1.367, allocations: 3.422 MB / 0.6362 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.368, allocations: 342.7 kB / 0.6366 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.38, allocations: 6.919 MB / 0.6433 GB, free: 143.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007728/1.388, allocations: 5.731 MB / 0.6489 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.579e-05/1.388, allocations: 11.66 kB / 0.6489 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.68e-05/1.388, allocations: 27.09 kB / 0.6489 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02625/1.414, allocations: 15.22 MB / 0.6638 GB, free: 135.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/1.414, allocations: 15.56 kB / 0.6638 GB, free: 135.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002846/1.417, allocations: 0.7869 MB / 0.6646 GB, free: 134.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002912/1.42, allocations: 1.059 MB / 0.6656 GB, free: 134 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003187/1.42, allocations: 105.3 kB / 0.6657 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/1.433, allocations: 10.57 MB / 0.676 GB, free: 124.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/1.433, allocations: 23.03 kB / 0.6761 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01383/1.447, allocations: 10.68 MB / 0.6865 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002801/1.45, allocations: 0.9912 MB / 0.6875 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005121/1.45, allocations: 95.98 kB / 0.6876 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002112/1.452, allocations: 275.8 kB / 0.6878 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000689/1.453, allocations: 345.7 kB / 0.6882 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002505/1.453, allocations: 144 kB / 0.6883 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002951/1.456, allocations: 2.124 MB / 0.6904 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/1.456, allocations: 1.594 kB / 0.6904 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00744/1.464, allocations: 2.224 MB / 0.6925 GB, free: 107.1 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.0007258/1.464, allocations: 300.6 kB / 0.6928 GB, free: 106.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01101/1.475, allocations: 7.453 MB / 0.7001 GB, free: 99.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.613e-05/1.475, allocations: 0 / 0.7001 GB, free: 99.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006204/1.482, allocations: 3.654 MB / 0.7037 GB, free: 96.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004647/1.486, allocations: 0.7976 MB / 0.7045 GB, free: 95.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02763/1.514, allocations: 15.96 MB / 0.72 GB, free: 79.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004931/1.519, allocations: 5.934 MB / 0.7258 GB, free: 73.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004921/1.524, allocations: 2.154 MB / 0.7279 GB, free: 70.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008333/1.525, allocations: 319.4 kB / 0.7282 GB, free: 70.67 MB / 0.4981 GB Notification: Performance of SimCode: time 2.735e-06/1.525, allocations: 0 / 0.7282 GB, free: 70.67 MB / 0.4981 GB Notification: Performance of Templates: time 0.09601/1.621, allocations: 58.57 MB / 0.7854 GB, free: 12.22 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)