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|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadModel(ModelicaTest): time 2.276/2.276, allocations: 270 MB / 283.6 MB, free: 3.035 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.269e-05, allocations: 9.969 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1129, allocations: 61.89 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4317/0.5446, allocations: 90.42 MB / 0.4889 GB, free: 13.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.5449, allocations: 67.97 kB / 0.489 GB, free: 13.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02556/0.5705, allocations: 6.177 MB / 0.495 GB, free: 7.473 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.723e-06/0.5705, allocations: 0 / 0.495 GB, free: 7.473 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.708e-05/0.5706, allocations: 12 kB / 0.4951 GB, free: 7.461 MB / 410.7 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.000927/0.5715, allocations: 0.5182 MB / 0.4956 GB, free: 6.898 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.5716, allocations: 8.031 kB / 0.4956 GB, free: 6.891 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/0.5718, allocations: 47.61 kB / 0.4956 GB, free: 6.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.5722, allocations: 258.4 kB / 0.4959 GB, free: 6.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.5723, allocations: 24.78 kB / 0.4959 GB, free: 6.527 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.5724, allocations: 35.95 kB / 0.4959 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.573, allocations: 286.8 kB / 0.4962 GB, free: 6.188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.5731, allocations: 3.906 kB / 0.4962 GB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.5731, allocations: 12 kB / 0.4962 GB, free: 6.172 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.5732, allocations: 8 kB / 0.4962 GB, free: 6.164 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.5736, allocations: 168.3 kB / 0.4964 GB, free: 6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/0.5764, allocations: 1.341 MB / 0.4977 GB, free: 4.555 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.577, allocations: 237.3 kB / 0.4979 GB, free: 4.277 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.5772, allocations: 72.3 kB / 0.498 GB, free: 4.191 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.5772, allocations: 4.047 kB / 0.498 GB, free: 4.188 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.5773, allocations: 50.48 kB / 0.498 GB, free: 4.129 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.708e-06/0.5773, allocations: 0 / 0.498 GB, free: 4.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005668/0.5779, allocations: 161.4 kB / 0.4982 GB, free: 3.965 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.578, allocations: 166.2 kB / 0.4983 GB, free: 3.766 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.5783, allocations: 187 kB / 0.4985 GB, free: 3.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.5783, allocations: 29.7 kB / 0.4986 GB, free: 3.535 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.5785, allocations: 191.8 kB / 0.4987 GB, free: 3.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.5786, allocations: 90.86 kB / 0.4988 GB, free: 3.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/0.5786, allocations: 4 kB / 0.4988 GB, free: 3.246 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.5788, allocations: 342.8 kB / 0.4992 GB, free: 2.902 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.579, allocations: 60 kB / 0.4992 GB, free: 2.844 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.5793, allocations: 198.5 kB / 0.4994 GB, free: 2.586 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.5796, allocations: 95.83 kB / 0.4995 GB, free: 2.492 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.823e-06/0.5796, allocations: 8.156 kB / 0.4995 GB, free: 2.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007055/0.5803, allocations: 289 kB / 0.4998 GB, free: 2.195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.5803, allocations: 7.938 kB / 0.4998 GB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.5804, allocations: 11.94 kB / 0.4998 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.5804, allocations: 4.531 kB / 0.4998 GB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.5809, allocations: 95.89 kB / 0.4999 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.5809, allocations: 7.938 kB / 0.4999 GB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.5812, allocations: 31.69 kB / 0.4999 GB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.5812, allocations: 20 kB / 0.4999 GB, free: 2.02 MB / 410.7 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.000136/0.5814, allocations: 128.8 kB / 0.5001 GB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.5816, allocations: 27.7 kB / 0.5001 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.5818, allocations: 83.14 kB / 0.5002 GB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.5818, allocations: 8.25 kB / 0.5002 GB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.654e-06/0.5819, allocations: 4 kB / 0.5002 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.008e-06/0.5819, allocations: 4 kB / 0.5002 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008864/0.5828, allocations: 313.3 kB / 0.5005 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.5828, allocations: 3.984 kB / 0.5005 GB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.5833, allocations: 63.97 kB / 0.5006 GB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.565e-06/0.5833, allocations: 7.938 kB / 0.5006 GB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.5833, allocations: 8 kB / 0.5006 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.791e-06/0.5833, allocations: 0 / 0.5006 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.587e-06/0.5834, allocations: 4 kB / 0.5006 GB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008162/0.5842, allocations: 0.6637 MB / 0.5012 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.5843, allocations: 104.8 kB / 0.5013 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.5844, allocations: 8 kB / 0.5013 GB, free: 484 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.5848, allocations: 11.95 kB / 0.5013 GB, free: 472 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.5848, allocations: 19.91 kB / 0.5014 GB, free: 452 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.5849, allocations: 8 kB / 0.5014 GB, free: 444 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.5851, allocations: 141.9 kB / 0.5015 GB, free: 304 kB / 410.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.5851, allocations: 0 / 0.5015 GB, free: 304 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007531/0.5858, allocations: 83.75 kB / 0.5016 GB, free: 220 kB / 410.7 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.0001861/0.586, allocations: 111.1 kB / 0.5017 GB, free: 96 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004846/0.5865, allocations: 182 kB / 0.5019 GB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.367e-06/0.5866, allocations: 7.938 kB / 0.5019 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.5867, allocations: 72.92 kB / 0.5019 GB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.5875, allocations: 53.56 kB / 0.502 GB, free: 15.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.5896, allocations: 1.016 MB / 0.503 GB, free: 14.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005549/0.5902, allocations: 0.7758 MB / 0.5037 GB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.5904, allocations: 30.97 kB / 0.5038 GB, free: 13.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.807e-05/0.5905, allocations: 23.44 kB / 0.5038 GB, free: 13.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.55e-06/0.5905, allocations: 0 / 0.5038 GB, free: 13.89 MB / 426.7 MB Notification: Performance of Templates: time 0.008567/0.5991, allocations: 2.285 MB / 0.506 GB, free: 11.63 MB / 426.7 MB