Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001043/0.001043, allocations: 100.6 kB / 16.62 MB, free: 6.809 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.001027/0.001027, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.313/1.313, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.001159/0.001159, allocations: 47.92 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0901/0.09127, allocations: 46.63 MB / 326.2 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01713/0.1085, allocations: 16.25 MB / 342.4 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.1187, allocations: 4.6 MB / 347 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00412/0.1228, allocations: 107.7 kB / 347.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01577/0.1387, allocations: 6.807 MB / 353.9 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007018/0.1457, allocations: 1.688 MB / 355.6 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004866/0.1506, allocations: 1.508 MB / 357.1 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01298/0.1636, allocations: 9.373 MB / 366.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2925/0.4562, allocations: 24.28 MB / 390.8 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01109/0.4673, allocations: 5.288 MB / 396.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.011/0.4783, allocations: 5.954 MB / 402 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007062/0.4855, allocations: 1.358 MB / 403.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007669/0.4932, allocations: 1.648 MB / 405 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006323/0.4995, allocations: 2.805 MB / 407.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01182/0.5114, allocations: 5.355 MB / 413.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02249/0.5339, allocations: 18.11 MB / 431.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/0.534, allocations: 0 / 431.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.27e-06/0.534, allocations: 4 kB / 431.3 MB, free: 8.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007938/0.5348, allocations: 0 / 431.3 MB, free: 8.91 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.04347/0.5783, allocations: 12.21 MB / 443.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.5784, allocations: 15.89 kB / 443.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03637/0.6147, allocations: 6.178 MB / 449.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01552/0.6303, allocations: 5.166 MB / 454.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009113/0.6313, allocations: 0.6772 MB / 455.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005024/0.6363, allocations: 0.8853 MB / 456.4 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04955/0.6859, allocations: 14.74 MB / 471.2 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005952/0.6865, allocations: 7.906 kB / 471.2 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004985/0.6916, allocations: 374.3 kB / 471.5 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000753/0.6923, allocations: 0.4912 MB / 472 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03647/0.7288, allocations: 13.56 MB / 485.6 MB, free: 2.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1066/0.8355, allocations: 44.61 MB / 0.5178 GB, free: 5.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01646/0.852, allocations: 11.71 MB / 0.5292 GB, free: 9.121 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006008/0.8581, allocations: 3.232 MB / 0.5324 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007672/0.8589, allocations: 173.9 kB / 0.5325 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.603e-05/0.859, allocations: 78.56 kB / 0.5326 GB, free: 5.629 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 9.037e-06/0.859, allocations: 0 / 0.5326 GB, free: 5.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.4641/1.323, allocations: 9.714 MB / 0.5421 GB, free: 146.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/1.323, allocations: 124 kB / 0.5422 GB, free: 146.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008845/1.332, allocations: 3.151 MB / 0.5453 GB, free: 146 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001139/1.333, allocations: 92.58 kB / 0.5454 GB, free: 145.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003442/1.337, allocations: 3.684 MB / 0.549 GB, free: 143.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002492/1.339, allocations: 1.426 MB / 0.5504 GB, free: 142.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002022/1.341, allocations: 1.138 MB / 0.5515 GB, free: 141.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.275e-05/1.341, allocations: 310.5 kB / 0.5518 GB, free: 141.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004999/1.346, allocations: 2.911 MB / 0.5546 GB, free: 140.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006627/1.353, allocations: 4.987 MB / 0.5595 GB, free: 136.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/1.364, allocations: 8.405 MB / 0.5677 GB, free: 131.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.031e-05/1.364, allocations: 23.69 kB / 0.5677 GB, free: 131.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01575/1.38, allocations: 9.237 MB / 0.5767 GB, free: 127.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.637e-05/1.38, allocations: 32.03 kB / 0.5768 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002006/1.38, allocations: 66.41 kB / 0.5768 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003096/1.384, allocations: 1.129 MB / 0.5779 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004692/1.388, allocations: 1.289 MB / 0.5792 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/1.401, allocations: 10.72 MB / 0.5897 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005938/1.407, allocations: 0.7478 MB / 0.5904 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/1.409, allocations: 275.6 kB / 0.5906 GB, free: 119 MB / 446.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 (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.008228/1.417, allocations: 3.42 MB / 0.594 GB, free: 116.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/1.418, allocations: 355.6 kB / 0.5943 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.429, allocations: 7.042 MB / 0.6012 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007537/1.437, allocations: 5.87 MB / 0.6069 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.09e-05/1.437, allocations: 16 kB / 0.607 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.914e-05/1.437, allocations: 19.92 kB / 0.607 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02482/1.462, allocations: 15.55 MB / 0.6222 GB, free: 87.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/1.462, allocations: 16 kB / 0.6222 GB, free: 87.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002825/1.465, allocations: 0.784 MB / 0.6229 GB, free: 86.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00316/1.468, allocations: 1.053 MB / 0.624 GB, free: 85.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005125/1.468, allocations: 112 kB / 0.6241 GB, free: 85.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0128/1.481, allocations: 10.48 MB / 0.6343 GB, free: 74.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/1.481, allocations: 23.88 kB / 0.6343 GB, free: 74.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/1.497, allocations: 10.93 MB / 0.645 GB, free: 63.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002436/1.499, allocations: 0.9913 MB / 0.646 GB, free: 62.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007396/1.5, allocations: 102.8 kB / 0.6461 GB, free: 62.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/1.503, allocations: 275.8 kB / 0.6463 GB, free: 62.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008898/1.504, allocations: 351.1 kB / 0.6467 GB, free: 61.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002568/1.504, allocations: 144 kB / 0.6468 GB, free: 61.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003257/1.507, allocations: 2.125 MB / 0.6489 GB, free: 59.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.507, allocations: 0 / 0.6489 GB, free: 59.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007808/1.515, allocations: 2.225 MB / 0.6511 GB, free: 57.25 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 (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 Backend phase and start with SimCode phase: time 0.001126/1.516, allocations: 300.5 kB / 0.6513 GB, free: 56.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02142/1.538, allocations: 11.65 MB / 0.6627 GB, free: 45.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.882e-05/1.538, allocations: 4 kB / 0.6627 GB, free: 45.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006375/1.544, allocations: 3.721 MB / 0.6664 GB, free: 41.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004945/1.549, allocations: 0.8121 MB / 0.6671 GB, free: 40.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03608/1.585, allocations: 19.96 MB / 0.6866 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01001/1.595, allocations: 5.938 MB / 0.6924 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006757/1.602, allocations: 2.154 MB / 0.6945 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/1.604, allocations: 323.4 kB / 0.6948 GB, free: 12.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.243e-06/1.604, allocations: 0 / 0.6948 GB, free: 12.2 MB / 446.1 MB Notification: Performance of Templates: time 0.377/1.981, allocations: 61.7 MB / 0.7551 GB, free: 107.2 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1)