Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 194.9 MB / 208 MB, free: 3.227 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.683e-05/2.727e-05, allocations: 0 / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 44.51 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3673/0.4775, allocations: 74.43 MB / 374.3 MB, free: 22.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4778, allocations: 71.88 kB / 374.4 MB, free: 22.51 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$lossTable.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$lossTable.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$lossTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01997/0.4978, allocations: 5.153 MB / 379.5 MB, free: 21.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.827e-06/0.4978, allocations: 0 / 379.5 MB, free: 21.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.138e-05/0.4978, allocations: 7.781 kB / 379.5 MB, free: 21.89 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007121/0.4986, allocations: 0.5413 MB / 380.1 MB, free: 21.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4986, allocations: 8.844 kB / 380.1 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.4988, allocations: 28.42 kB / 380.1 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.4992, allocations: 260 kB / 380.4 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.4992, allocations: 11.25 kB / 380.4 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.4993, allocations: 23.41 kB / 380.4 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.4997, allocations: 155.5 kB / 380.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.4997, allocations: 3.984 kB / 380.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.4997, allocations: 8.188 kB / 380.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.4998, allocations: 4.375 kB / 380.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.5001, allocations: 115.3 kB / 380.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.5012, allocations: 0.5958 MB / 381.3 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.5016, allocations: 154.1 kB / 381.4 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.5018, allocations: 96.88 kB / 381.5 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.5018, allocations: 1.5 kB / 381.5 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.502, allocations: 120 kB / 381.6 MB, free: 20.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 4.127e-06/0.5021, allocations: 9.609 kB / 381.7 MB, free: 20.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004554/0.5025, allocations: 185.1 kB / 381.8 MB, free: 20.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.5026, allocations: 53.25 kB / 381.9 MB, free: 20.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.5029, allocations: 222.1 kB / 382.1 MB, free: 20.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.5029, allocations: 31.64 kB / 382.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.503, allocations: 139.9 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.5031, allocations: 69.72 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/0.5031, allocations: 8.938 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.839e-05/0.5032, allocations: 335.4 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.5034, allocations: 63.88 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.5036, allocations: 98.92 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.5038, allocations: 122.7 kB / 383 MB, free: 19.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.254e-06/0.5038, allocations: 0 / 383 MB, free: 19.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005451/0.5044, allocations: 272.8 kB / 383.2 MB, free: 19.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.5044, allocations: 43.25 kB / 383.3 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.312e-06/0.5045, allocations: 1.5 kB / 383.3 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.5045, allocations: 1.719 kB / 383.3 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.5048, allocations: 48.12 kB / 383.3 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.195e-06/0.5048, allocations: 5.469 kB / 383.3 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.505, allocations: 28.97 kB / 383.3 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.5051, allocations: 11.66 kB / 383.4 MB, free: 19.8 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.092e-05/0.5052, allocations: 114.9 kB / 383.5 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.5052, allocations: 22.67 kB / 383.5 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.5057, allocations: 214.8 kB / 383.7 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.841e-06/0.5058, allocations: 2.125 kB / 383.7 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.913e-06/0.5058, allocations: 0 / 383.7 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.51e-06/0.5058, allocations: 1.828 kB / 383.7 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.5062, allocations: 303.3 kB / 384 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.643e-06/0.5062, allocations: 1.641 kB / 384 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.5065, allocations: 38.5 kB / 384 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.518e-06/0.5065, allocations: 1.219 kB / 384 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.5065, allocations: 9.75 kB / 384.1 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.134e-06/0.5065, allocations: 3.953 kB / 384.1 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.26e-06/0.5065, allocations: 1.312 kB / 384.1 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006307/0.5072, allocations: 299 kB / 384.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.5073, allocations: 123 kB / 384.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.5074, allocations: 10.97 kB / 384.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.5076, allocations: 14.25 kB / 384.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.5076, allocations: 14.17 kB / 384.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.5077, allocations: 6.125 kB / 384.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002166/0.5079, allocations: 185.7 kB / 384.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.5079, allocations: 0 / 384.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004447/0.5084, allocations: 77.5 kB / 384.8 MB, free: 19.13 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001208/0.5096, allocations: 364.8 kB / 385.1 MB, free: 18.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004993/0.5101, allocations: 243.8 kB / 385.4 MB, free: 18.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5101, allocations: 1.375 kB / 385.4 MB, free: 18.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.5103, allocations: 78.91 kB / 385.4 MB, free: 18.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.5107, allocations: 32.91 kB / 385.5 MB, free: 18.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009682/0.5117, allocations: 440.6 kB / 385.9 MB, free: 18.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.5119, allocations: 0.7557 MB / 386.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.5121, allocations: 21.77 kB / 386.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.033e-05/0.5122, allocations: 23.67 kB / 386.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of SimCode: time 1.551e-06/0.5122, allocations: 0 / 386.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of Templates: time 0.008263/0.5205, allocations: 2.682 MB / 389.4 MB, free: 17.59 MB / 314.7 MB