Running command: translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadModel(ModelicaTest): time 2.372/2.372, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.479e-05/3.501e-05, allocations: 3.938 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3191, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.4572, allocations: 89.52 MB / 471.7 MB, free: 2.984 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.4574, allocations: 63.97 kB / 471.8 MB, free: 2.922 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02551/0.483, allocations: 6.08 MB / 477.9 MB, free: 12.83 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.719e-06/0.483, allocations: 0 / 477.9 MB, free: 12.83 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.639e-05/0.4831, allocations: 8 kB / 477.9 MB, free: 12.82 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009177/0.484, allocations: 0.5104 MB / 478.4 MB, free: 12.27 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.484, allocations: 8.031 kB / 478.4 MB, free: 12.26 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.4843, allocations: 51.83 kB / 478.4 MB, free: 12.21 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.4847, allocations: 263.7 kB / 478.7 MB, free: 11.91 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.4848, allocations: 24.72 kB / 478.7 MB, free: 11.89 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.471e-05/0.4849, allocations: 32 kB / 478.7 MB, free: 11.86 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.4855, allocations: 295.6 kB / 479 MB, free: 11.54 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.4856, allocations: 3.906 kB / 479 MB, free: 11.54 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.4856, allocations: 16 kB / 479.1 MB, free: 11.52 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.4856, allocations: 8 kB / 479.1 MB, free: 11.52 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.4861, allocations: 156.3 kB / 479.2 MB, free: 11.36 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/0.4888, allocations: 1.341 MB / 480.6 MB, free: 9.918 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.4894, allocations: 237.3 kB / 480.8 MB, free: 9.641 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.4895, allocations: 76.3 kB / 480.9 MB, free: 9.551 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.4896, allocations: 4 kB / 480.9 MB, free: 9.547 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.4896, allocations: 47.03 kB / 480.9 MB, free: 9.492 MB / 410.8 MB Notification: Performance of pre-optimization done (n=22): time 3.757e-06/0.4896, allocations: 0 / 480.9 MB, free: 9.492 MB / 410.8 MB Notification: Performance of matching and sorting (n=22): time 0.0005705/0.4902, allocations: 177.5 kB / 481.1 MB, free: 9.312 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.4903, allocations: 162.2 kB / 481.2 MB, free: 9.117 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.4906, allocations: 183.1 kB / 481.4 MB, free: 8.926 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.4907, allocations: 25.7 kB / 481.4 MB, free: 8.895 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.4908, allocations: 191.8 kB / 481.6 MB, free: 8.703 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.4909, allocations: 94.66 kB / 481.7 MB, free: 8.609 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/0.491, allocations: 8 kB / 481.7 MB, free: 8.602 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.4912, allocations: 334.8 kB / 482.1 MB, free: 8.266 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.4914, allocations: 60 kB / 482.1 MB, free: 8.207 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.4917, allocations: 198.5 kB / 482.3 MB, free: 7.949 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.4919, allocations: 107.8 kB / 482.4 MB, free: 7.844 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.465e-06/0.4919, allocations: 0 / 482.4 MB, free: 7.844 MB / 410.8 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006827/0.4926, allocations: 301.4 kB / 482.7 MB, free: 7.543 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.4927, allocations: 8 kB / 482.7 MB, free: 7.535 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4927, allocations: 4 kB / 482.7 MB, free: 7.531 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.4927, allocations: 8 kB / 482.7 MB, free: 7.523 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.4932, allocations: 83.89 kB / 482.8 MB, free: 7.441 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.193e-05/0.4932, allocations: 15.89 kB / 482.8 MB, free: 7.426 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.4935, allocations: 31.69 kB / 482.9 MB, free: 7.395 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.4935, allocations: 16 kB / 482.9 MB, free: 7.379 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * 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.0001338/0.4937, allocations: 131.7 kB / 483 MB, free: 7.246 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.4939, allocations: 23.72 kB / 483 MB, free: 7.223 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.4941, allocations: 99.06 kB / 483.1 MB, free: 7.117 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.753e-06/0.4941, allocations: 0 / 483.1 MB, free: 7.117 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.4941, allocations: 4 kB / 483.1 MB, free: 7.113 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.11e-06/0.4942, allocations: 3.953 kB / 483.1 MB, free: 7.109 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008618/0.495, allocations: 313.3 kB / 483.4 MB, free: 6.754 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.715e-06/0.495, allocations: 0 / 483.4 MB, free: 6.754 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000499/0.4956, allocations: 71.89 kB / 483.5 MB, free: 6.684 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.889e-06/0.4956, allocations: 0 / 483.5 MB, free: 6.684 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.4956, allocations: 12 kB / 483.5 MB, free: 6.672 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/0.4956, allocations: 4.25 kB / 483.5 MB, free: 6.668 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.852e-06/0.4957, allocations: 4 kB / 483.5 MB, free: 6.664 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008102/0.4965, allocations: 0.6747 MB / 484.2 MB, free: 5.945 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.4966, allocations: 96.86 kB / 484.3 MB, free: 5.832 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.4967, allocations: 11.94 kB / 484.3 MB, free: 5.82 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.4971, allocations: 8 kB / 484.3 MB, free: 5.812 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.4971, allocations: 19.97 kB / 484.3 MB, free: 5.793 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.4972, allocations: 4 kB / 484.3 MB, free: 5.789 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001852/0.4974, allocations: 149.6 kB / 484.5 MB, free: 5.645 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.95e-07/0.4974, allocations: 0 / 484.5 MB, free: 5.645 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0007592/0.4981, allocations: 87.75 kB / 484.6 MB, free: 5.559 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001614/0.4983, allocations: 111.2 kB / 484.7 MB, free: 5.438 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000437/0.4988, allocations: 168.5 kB / 484.8 MB, free: 5.273 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.4988, allocations: 320 / 484.8 MB, free: 5.273 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.4989, allocations: 71.88 kB / 484.9 MB, free: 5.203 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007061/0.4997, allocations: 60.8 kB / 485 MB, free: 5.141 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.5017, allocations: 1.016 MB / 486 MB, free: 4.094 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.5023, allocations: 0.7758 MB / 486.8 MB, free: 3.289 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.5025, allocations: 26.97 kB / 486.8 MB, free: 3.262 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/0.5026, allocations: 27.42 kB / 486.8 MB, free: 3.234 MB / 410.8 MB Notification: Performance of SimCode: time 1.79e-06/0.5026, allocations: 0 / 486.8 MB, free: 3.234 MB / 410.8 MB Notification: Performance of Templates: time 0.007971/0.5106, allocations: 2.284 MB / 489.1 MB, free: 0.9727 MB / 410.8 MB