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.001094/0.001094, allocations: 92.08 kB / 16.31 MB, free: 5.676 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.001255/0.001255, allocations: 180 kB / 17.21 MB, free: 5.594 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.504/1.504, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.0005073/0.0005075, allocations: 8 kB / 280.2 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1088, allocations: 47.58 MB / 327.7 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01621/0.125, allocations: 14.24 MB / 342 MB, free: 5.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.1361, allocations: 4.254 MB / 346.2 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003591/0.1397, allocations: 111.6 kB / 346.3 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00423/0.144, allocations: 0.8351 MB / 347.2 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00775/0.1518, allocations: 1.591 MB / 348.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005138/0.1569, allocations: 1.267 MB / 350 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01859/0.1755, allocations: 12.13 MB / 362.2 MB, free: 1.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0405/0.2161, allocations: 17.36 MB / 379.5 MB, free: 56 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2506/0.4668, allocations: 3.963 MB / 383.5 MB, free: 22.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01188/0.4787, allocations: 4.341 MB / 387.8 MB, free: 22.65 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00443/0.4832, allocations: 0.5648 MB / 388.4 MB, free: 22.65 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007955/0.4912, allocations: 0.8308 MB / 389.2 MB, free: 22.65 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005297/0.4965, allocations: 1.767 MB / 391 MB, free: 22.65 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00581/0.5023, allocations: 1.767 MB / 392.8 MB, free: 22.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01811/0.5205, allocations: 15.24 MB / 408 MB, free: 16.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5205, allocations: 0 / 408 MB, free: 16.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.5205, allocations: 0 / 408 MB, free: 16.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006447/0.5212, allocations: 3.188 kB / 408 MB, free: 16.02 MB / 318.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.03147/0.5526, allocations: 10.37 MB / 418.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.5527, allocations: 16.02 kB / 418.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03316/0.5859, allocations: 6.213 MB / 424.6 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01205/0.5979, allocations: 5.12 MB / 429.7 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008391/0.5988, allocations: 0.6739 MB / 430.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003985/0.6028, allocations: 0.8733 MB / 431.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04707/0.6499, allocations: 14.67 MB / 445.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005745/0.6505, allocations: 7.906 kB / 445.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004836/0.6554, allocations: 378.5 kB / 446.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007221/0.6561, allocations: 499.3 kB / 446.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03443/0.6906, allocations: 13.48 MB / 460.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09744/0.7881, allocations: 44.7 MB / 0.4931 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01719/0.8053, allocations: 11.68 MB / 0.5045 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006579/0.812, allocations: 3.21 MB / 0.5077 GB, free: 8.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006854/0.8127, allocations: 185.7 kB / 0.5079 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.8128, allocations: 84.77 kB / 0.5079 GB, free: 8.227 MB / 414.1 MB Notification: Performance of pre-optimization done (n=421): time 8.296e-06/0.8128, allocations: 0 / 0.5079 GB, free: 8.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=421): time 0.02988/0.8427, allocations: 10.99 MB / 0.5187 GB, free: 13.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.895e-05/0.8428, allocations: 129.1 kB / 0.5188 GB, free: 13.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007512/0.8504, allocations: 3.132 MB / 0.5219 GB, free: 9.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008815/0.8513, allocations: 89.7 kB / 0.5219 GB, free: 9.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003536/0.8548, allocations: 3.686 MB / 0.5255 GB, free: 6.129 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002569/0.8574, allocations: 1.423 MB / 0.5269 GB, free: 4.719 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/0.8585, allocations: 116 kB / 0.527 GB, free: 4.605 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000701/0.8592, allocations: 0.5483 MB / 0.5276 GB, free: 4.051 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005636/0.8648, allocations: 2.888 MB / 0.5304 GB, free: 1.156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2522/1.117, allocations: 4.951 MB / 0.5352 GB, free: 129.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006605/1.124, allocations: 4.005 MB / 0.5391 GB, free: 129.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/1.124, allocations: 23.28 kB / 0.5392 GB, free: 129.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01932/1.143, allocations: 9.183 MB / 0.5481 GB, free: 126.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/1.143, allocations: 33.78 kB / 0.5482 GB, free: 126.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002043/1.144, allocations: 67.66 kB / 0.5482 GB, free: 126.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003149/1.147, allocations: 1.131 MB / 0.5493 GB, free: 126.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005152/1.152, allocations: 1.291 MB / 0.5506 GB, free: 126.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/1.164, allocations: 9.921 MB / 0.5603 GB, free: 120.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005313/1.17, allocations: 0.7358 MB / 0.561 GB, free: 120.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/1.171, allocations: 278 kB / 0.5613 GB, free: 120.5 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007594/1.178, allocations: 3.425 MB / 0.5646 GB, free: 118.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009755/1.179, allocations: 356.5 kB / 0.565 GB, free: 118.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/1.192, allocations: 7.035 MB / 0.5718 GB, free: 115.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008241/1.2, allocations: 5.832 MB / 0.5775 GB, free: 110.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.843e-05/1.2, allocations: 16 kB / 0.5775 GB, free: 110.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.791e-05/1.2, allocations: 26.83 kB / 0.5776 GB, free: 110.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02781/1.228, allocations: 15.51 MB / 0.5927 GB, free: 96.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.621e-05/1.228, allocations: 16.22 kB / 0.5927 GB, free: 96.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002617/1.23, allocations: 0.7879 MB / 0.5935 GB, free: 95.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002781/1.233, allocations: 1.04 MB / 0.5945 GB, free: 94.67 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003825/1.234, allocations: 104 kB / 0.5946 GB, free: 94.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/1.244, allocations: 9.666 MB / 0.604 GB, free: 84.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/1.244, allocations: 19.94 kB / 0.6041 GB, free: 84.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/1.258, allocations: 10.87 MB / 0.6147 GB, free: 73.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002292/1.26, allocations: 1.009 MB / 0.6157 GB, free: 72.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005209/1.26, allocations: 103.9 kB / 0.6158 GB, free: 72.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/1.262, allocations: 277.1 kB / 0.616 GB, free: 72.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005617/1.263, allocations: 343.3 kB / 0.6164 GB, free: 71.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002348/1.263, allocations: 152 kB / 0.6165 GB, free: 71.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002937/1.266, allocations: 2.097 MB / 0.6185 GB, free: 69.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.266, allocations: 0 / 0.6185 GB, free: 69.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00628/1.272, allocations: 2.228 MB / 0.6207 GB, free: 67.3 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006612/1.273, allocations: 303 kB / 0.621 GB, free: 67.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01207/1.285, allocations: 7.54 MB / 0.6284 GB, free: 59.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.537e-05/1.285, allocations: 0 / 0.6284 GB, free: 59.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005637/1.291, allocations: 3.72 MB / 0.632 GB, free: 55.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005631/1.297, allocations: 0.7728 MB / 0.6328 GB, free: 54.94 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03405/1.331, allocations: 19.2 MB / 0.6515 GB, free: 35.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00603/1.337, allocations: 5.938 MB / 0.6573 GB, free: 29.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005457/1.342, allocations: 2.154 MB / 0.6594 GB, free: 27.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009477/1.343, allocations: 319.4 kB / 0.6597 GB, free: 27.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/1.343, allocations: 1.422 kB / 0.6597 GB, free: 27.1 MB / 430.1 MB Notification: Performance of Templates: time 0.2962/1.639, allocations: 57.22 MB / 0.7156 GB, free: 137.9 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)