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_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadModel(Modelica): time 2.042/2.042, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.846e-05/1.857e-05, allocations: 0 / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2495, allocations: 44.51 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.3635, allocations: 73.75 MB / 367.9 MB, free: 8.238 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.3638, allocations: 75.91 kB / 367.9 MB, free: 8.164 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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.02076/0.3846, allocations: 5.112 MB / 373 MB, free: 3.047 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.309e-06/0.3846, allocations: 0 / 373 MB, free: 3.047 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.3847, allocations: 8 kB / 373.1 MB, free: 3.039 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.0008623/0.3855, allocations: 0.5414 MB / 373.6 MB, free: 2.441 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3856, allocations: 8.031 kB / 373.6 MB, free: 2.434 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.3858, allocations: 27.94 kB / 373.6 MB, free: 2.406 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.3862, allocations: 259.4 kB / 373.9 MB, free: 2.109 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.3863, allocations: 8 kB / 373.9 MB, free: 2.102 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.425e-05/0.3863, allocations: 20 kB / 373.9 MB, free: 2.082 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003365/0.3867, allocations: 104 kB / 374 MB, free: 1.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.387, allocations: 145.1 kB / 374.2 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.3871, allocations: 0 / 374.2 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.3871, allocations: 0 / 374.2 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.075e-06/0.3871, allocations: 4 kB / 374.2 MB, free: 1.828 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.3883, allocations: 0.5514 MB / 374.7 MB, free: 1.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.3886, allocations: 154.5 kB / 374.9 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.3888, allocations: 84.83 kB / 374.9 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.3889, allocations: 8 kB / 375 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.3891, allocations: 107.7 kB / 375.1 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 2.831e-06/0.3892, allocations: 0 / 375.1 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004771/0.3896, allocations: 173.3 kB / 375.2 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.3897, allocations: 55.41 kB / 375.3 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.39, allocations: 209.9 kB / 375.5 MB, free: 420 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.3901, allocations: 29.64 kB / 375.5 MB, free: 384 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.3902, allocations: 206.7 kB / 375.7 MB, free: 176 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.996e-05/0.3903, allocations: 71 kB / 375.8 MB, free: 104 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.3903, allocations: 0 / 375.8 MB, free: 104 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3905, allocations: 318.8 kB / 376.1 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.3907, allocations: 60.22 kB / 376.2 MB, free: 15.72 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.3909, allocations: 95.64 kB / 376.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.3911, allocations: 76.91 kB / 376.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.414e-06/0.3912, allocations: 0 / 376.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005305/0.3917, allocations: 216.3 kB / 376.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/0.3918, allocations: 41.69 kB / 376.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-06/0.3918, allocations: 3.938 kB / 376.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3918, allocations: 3.953 kB / 376.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.3921, allocations: 47.92 kB / 376.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.868e-06/0.3921, allocations: 0 / 376.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.3923, allocations: 31.83 kB / 376.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.3924, allocations: 12 kB / 376.7 MB, free: 15.18 MB / 330.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 0.000117/0.3925, allocations: 111 kB / 376.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.3925, allocations: 15.81 kB / 376.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/0.393, allocations: 191.1 kB / 377 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.223e-06/0.393, allocations: 0 / 377 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.075e-06/0.3931, allocations: 3.953 kB / 377 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.738e-06/0.3931, allocations: 8 kB / 377 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.3935, allocations: 262.1 kB / 377.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.044e-06/0.3935, allocations: 4 kB / 377.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.3938, allocations: 39.91 kB / 377.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.3938, allocations: 4 kB / 377.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.3938, allocations: 0 / 377.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.576e-06/0.3938, allocations: 0 / 377.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.338e-06/0.3939, allocations: 0 / 377.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006156/0.3945, allocations: 292.6 kB / 377.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.3947, allocations: 120.7 kB / 377.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.3947, allocations: 0 / 377.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.3949, allocations: 15.92 kB / 377.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.3949, allocations: 11.98 kB / 377.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.395, allocations: 4 kB / 377.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002083/0.3952, allocations: 164.6 kB / 377.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.3952, allocations: 0 / 377.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000408/0.3956, allocations: 67.94 kB / 378 MB, free: 13.81 MB / 330.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.001099/0.3967, allocations: 339.6 kB / 378.3 MB, free: 13.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004827/0.3972, allocations: 235.3 kB / 378.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.841e-06/0.3972, allocations: 0 / 378.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.3974, allocations: 67.94 kB / 378.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.3978, allocations: 32.88 kB / 378.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.3988, allocations: 450.6 kB / 379.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.3993, allocations: 0.7594 MB / 379.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-05/0.3994, allocations: 27.36 kB / 379.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of SimCode: time 1.544e-06/0.3994, allocations: 0 / 379.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of Templates: time 0.007202/0.4067, allocations: 3.075 MB / 382.9 MB, free: 8.809 MB / 330.7 MB