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.00584/0.00584, allocations: 100.5 kB / 15.73 MB, free: 6.043 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.00109/0.00109, allocations: 190 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.438/1.438, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.00118/0.00118, allocations: 54.02 kB / 326.6 MB, free: 14.5 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1158, allocations: 46.61 MB / 373.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01738/0.1332, allocations: 16.53 MB / 389.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.1455, allocations: 4.662 MB / 394.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00403/0.1496, allocations: 115.6 kB / 394.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01617/0.1659, allocations: 7.184 MB / 401.7 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008211/0.1741, allocations: 1.889 MB / 403.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00508/0.1792, allocations: 1.625 MB / 405.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01438/0.1936, allocations: 9.396 MB / 414.6 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04349/0.2371, allocations: 20.83 MB / 435.4 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01146/0.2487, allocations: 5.253 MB / 440.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/0.2604, allocations: 5.86 MB / 446.5 MB, free: 7.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005195/0.2657, allocations: 1.363 MB / 447.9 MB, free: 6.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00753/0.2733, allocations: 1.648 MB / 449.5 MB, free: 4.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006117/0.2794, allocations: 2.786 MB / 452.3 MB, free: 1.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3308/0.6103, allocations: 5.356 MB / 457.7 MB, free: 30.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03437/0.6447, allocations: 18.19 MB / 475.9 MB, free: 27.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.6448, allocations: 0.9688 kB / 475.9 MB, free: 27.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6448, allocations: 3.5 kB / 475.9 MB, free: 27.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001021/0.6458, allocations: 0 / 475.9 MB, free: 27.76 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.05392/0.6998, allocations: 12.13 MB / 488 MB, free: 20.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.6999, allocations: 11.98 kB / 488 MB, free: 20.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03469/0.7346, allocations: 6.243 MB / 494.3 MB, free: 17.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01574/0.7504, allocations: 5.153 MB / 499.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008061/0.7512, allocations: 0.6818 MB / 0.4884 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006199/0.7574, allocations: 0.8782 MB / 0.4892 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05075/0.8082, allocations: 14.7 MB / 0.5036 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003816/0.8086, allocations: 11.89 kB / 0.5036 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00417/0.8128, allocations: 372.9 kB / 0.5039 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005303/0.8133, allocations: 495.3 kB / 0.5044 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03481/0.8482, allocations: 13.52 MB / 0.5176 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08829/0.9365, allocations: 44.07 MB / 0.5607 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01391/0.9505, allocations: 11.65 MB / 0.572 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004915/0.9554, allocations: 3.166 MB / 0.5751 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003719/0.9558, allocations: 176 kB / 0.5753 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.031e-05/0.9559, allocations: 82.5 kB / 0.5754 GB, free: 5.816 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 7.083e-06/0.9559, allocations: 0 / 0.5754 GB, free: 5.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.02189/0.9778, allocations: 9.578 MB / 0.5847 GB, free: 12.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.645e-05/0.9779, allocations: 129.1 kB / 0.5849 GB, free: 12.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005717/0.9837, allocations: 3.156 MB / 0.5879 GB, free: 8.914 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008182/0.9845, allocations: 85.7 kB / 0.588 GB, free: 8.824 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003033/0.9875, allocations: 3.691 MB / 0.5916 GB, free: 5.109 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001893/0.9894, allocations: 1.402 MB / 0.593 GB, free: 3.723 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00181/0.9913, allocations: 1.128 MB / 0.5941 GB, free: 2.582 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.9914, allocations: 305.1 kB / 0.5944 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004265/0.9957, allocations: 2.832 MB / 0.5971 GB, free: 15.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00552/1.001, allocations: 4.903 MB / 0.6019 GB, free: 9.629 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/1.012, allocations: 8.249 MB / 0.61 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.19e-05/1.012, allocations: 24 kB / 0.61 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01602/1.028, allocations: 9.106 MB / 0.6189 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.675e-05/1.028, allocations: 32 kB / 0.6189 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001231/1.028, allocations: 71.98 kB / 0.619 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003261/1.031, allocations: 1.148 MB / 0.6201 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004544/1.036, allocations: 1.294 MB / 0.6214 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3333/1.369, allocations: 10.8 MB / 0.6319 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00676/1.376, allocations: 0.7435 MB / 0.6327 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/1.377, allocations: 280.8 kB / 0.6329 GB, free: 143.7 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.008695/1.386, allocations: 3.42 MB / 0.6363 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001591/1.388, allocations: 350.6 kB / 0.6366 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/1.4, allocations: 6.914 MB / 0.6434 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007824/1.407, allocations: 5.736 MB / 0.649 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-05/1.407, allocations: 11.66 kB / 0.649 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.104e-05/1.408, allocations: 24.05 kB / 0.649 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02523/1.433, allocations: 15.22 MB / 0.6639 GB, free: 135.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/1.433, allocations: 12 kB / 0.6639 GB, free: 135.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002979/1.436, allocations: 0.7959 MB / 0.6646 GB, free: 134.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003019/1.439, allocations: 1.05 MB / 0.6657 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000609/1.44, allocations: 107.6 kB / 0.6658 GB, free: 134 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01334/1.453, allocations: 10.57 MB / 0.6761 GB, free: 124.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/1.453, allocations: 22.75 kB / 0.6761 GB, free: 124.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/1.468, allocations: 10.69 MB / 0.6865 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002675/1.471, allocations: 0.9951 MB / 0.6875 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001197/1.472, allocations: 96 kB / 0.6876 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003113/1.475, allocations: 279.7 kB / 0.6879 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000758/1.476, allocations: 333.9 kB / 0.6882 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003245/1.477, allocations: 144 kB / 0.6883 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004707/1.481, allocations: 2.125 MB / 0.6904 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.481, allocations: 0 / 0.6904 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008614/1.49, allocations: 2.226 MB / 0.6926 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.0009343/1.491, allocations: 299.3 kB / 0.6929 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01244/1.503, allocations: 7.453 MB / 0.7001 GB, free: 99.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-05/1.503, allocations: 320 / 0.7001 GB, free: 99.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005856/1.509, allocations: 3.658 MB / 0.7037 GB, free: 96.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006289/1.516, allocations: 0.7992 MB / 0.7045 GB, free: 95.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0357/1.551, allocations: 15.97 MB / 0.7201 GB, free: 79.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01238/1.564, allocations: 5.93 MB / 0.7259 GB, free: 73.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006697/1.57, allocations: 2.158 MB / 0.728 GB, free: 71.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/1.572, allocations: 315.4 kB / 0.7283 GB, free: 70.71 MB / 0.4981 GB Notification: Performance of SimCode: time 1.482e-06/1.572, allocations: 0 / 0.7283 GB, free: 70.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.09299/1.665, allocations: 58.56 MB / 0.7855 GB, free: 12.27 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)