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 1.966/1.966, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.847e-05/2.863e-05, allocations: 2.219 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07856/0.07861, allocations: 44.5 MB / 299.9 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3257/0.4043, allocations: 74.43 MB / 374.3 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.4046, allocations: 72.64 kB / 374.4 MB, free: 22.14 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.0201/0.4247, allocations: 5.149 MB / 379.5 MB, free: 21.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.42e-06/0.4248, allocations: 0 / 379.5 MB, free: 21.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.129e-05/0.4248, allocations: 4.906 kB / 379.5 MB, free: 21.53 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.0007122/0.4255, allocations: 0.5315 MB / 380 MB, free: 21.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4256, allocations: 13.09 kB / 380.1 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.4258, allocations: 37.11 kB / 380.1 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.4262, allocations: 253.6 kB / 380.3 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.4262, allocations: 14.91 kB / 380.4 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.992e-05/0.4263, allocations: 21.56 kB / 380.4 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.4267, allocations: 154.5 kB / 380.5 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.4267, allocations: 1.094 kB / 380.5 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.4267, allocations: 6.922 kB / 380.5 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.4268, allocations: 5.25 kB / 380.5 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.4271, allocations: 118.6 kB / 380.7 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.4282, allocations: 0.5969 MB / 381.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.4286, allocations: 156.6 kB / 381.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.4288, allocations: 86.23 kB / 381.5 MB, free: 20.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.4289, allocations: 6.125 kB / 381.5 MB, free: 20.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.4291, allocations: 125 kB / 381.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 3.331e-06/0.4291, allocations: 0 / 381.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004787/0.4296, allocations: 187.9 kB / 381.8 MB, free: 20.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.4297, allocations: 53.62 kB / 381.9 MB, free: 20.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.43, allocations: 223.4 kB / 382.1 MB, free: 20.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.43, allocations: 31.95 kB / 382.1 MB, free: 20.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.4301, allocations: 197.8 kB / 382.3 MB, free: 19.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.4302, allocations: 72.08 kB / 382.4 MB, free: 19.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.4302, allocations: 4.938 kB / 382.4 MB, free: 19.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.615e-05/0.4303, allocations: 319.8 kB / 382.7 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.4305, allocations: 65.95 kB / 382.7 MB, free: 19.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.4307, allocations: 103.4 kB / 382.8 MB, free: 19.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.4309, allocations: 118.4 kB / 383 MB, free: 19.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.194e-06/0.4309, allocations: 0 / 383 MB, free: 19.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005188/0.4314, allocations: 261.2 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.4315, allocations: 48.31 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.432e-06/0.4315, allocations: 1.438 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.4315, allocations: 1.594 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.4318, allocations: 47.92 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.4319, allocations: 1.594 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.4321, allocations: 29.36 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.4321, allocations: 14.83 kB / 383.4 MB, free: 19.39 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 7.843e-05/0.4322, allocations: 115.6 kB / 383.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.4323, allocations: 25.19 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.4328, allocations: 220.1 kB / 383.7 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.89e-06/0.4328, allocations: 2.812 kB / 383.7 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.332e-06/0.4328, allocations: 1.531 kB / 383.7 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.375e-06/0.4328, allocations: 0 / 383.7 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.4331, allocations: 297.2 kB / 384 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.782e-06/0.4332, allocations: 4 kB / 384 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.4334, allocations: 40.06 kB / 384 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.174e-06/0.4335, allocations: 1.312 kB / 384.1 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.4335, allocations: 10.61 kB / 384.1 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.614e-06/0.4335, allocations: 5.266 kB / 384.1 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.738e-06/0.4335, allocations: 3.984 kB / 384.1 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005929/0.4341, allocations: 295 kB / 384.4 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.4343, allocations: 125.9 kB / 384.5 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.4343, allocations: 5.219 kB / 384.5 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.4345, allocations: 9.047 kB / 384.5 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.4345, allocations: 20.97 kB / 384.5 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.4346, allocations: 8.375 kB / 384.5 MB, free: 18.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002063/0.4348, allocations: 182.5 kB / 384.7 MB, free: 18.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.24e-07/0.4348, allocations: 0 / 384.7 MB, free: 18.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004408/0.4353, allocations: 79.34 kB / 384.8 MB, free: 18.7 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.001219/0.4365, allocations: 364 kB / 385.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004731/0.437, allocations: 241.3 kB / 385.4 MB, free: 18.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.437, allocations: 192 / 385.4 MB, free: 18.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.4372, allocations: 83.14 kB / 385.5 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.4376, allocations: 33.78 kB / 385.5 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.4386, allocations: 465.1 kB / 385.9 MB, free: 18.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.4388, allocations: 0.7553 MB / 386.7 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.722e-05/0.439, allocations: 21.19 kB / 386.7 MB, free: 17.43 MB / 314.7 MB Notification: Performance of SimCode: time 1.815e-06/0.439, allocations: 4 kB / 386.7 MB, free: 17.42 MB / 314.7 MB Notification: Performance of Templates: time 0.006464/0.4455, allocations: 3.154 MB / 389.9 MB, free: 17.11 MB / 314.7 MB