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_trunk_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadModel(ModelicaTest): time 2.355/2.355, allocations: 270.1 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.452e-05, allocations: 4 kB / 348.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 61.89 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4155/0.5273, allocations: 90.44 MB / 0.489 GB, free: 13.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.5275, allocations: 67.95 kB / 0.489 GB, free: 13.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02512/0.5527, allocations: 6.163 MB / 0.4951 GB, free: 7.484 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.451e-06/0.5527, allocations: 4 kB / 0.4951 GB, free: 7.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.031e-05/0.5528, allocations: 8 kB / 0.4951 GB, free: 7.473 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.000904/0.5537, allocations: 0.5182 MB / 0.4956 GB, free: 6.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5537, allocations: 8.031 kB / 0.4956 GB, free: 6.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.554, allocations: 51.61 kB / 0.4956 GB, free: 6.852 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.5544, allocations: 258.4 kB / 0.4959 GB, free: 6.559 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.5545, allocations: 20.78 kB / 0.4959 GB, free: 6.539 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.922e-05/0.5546, allocations: 39.94 kB / 0.4959 GB, free: 6.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.5552, allocations: 286.8 kB / 0.4962 GB, free: 6.195 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/0.5553, allocations: 7.906 kB / 0.4962 GB, free: 6.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.5553, allocations: 15.98 kB / 0.4962 GB, free: 6.172 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.5553, allocations: 8 kB / 0.4962 GB, free: 6.164 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.5558, allocations: 164.3 kB / 0.4964 GB, free: 6.004 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003154/0.5589, allocations: 1.337 MB / 0.4977 GB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.5595, allocations: 241.3 kB / 0.4979 GB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.5597, allocations: 72.3 kB / 0.498 GB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.5597, allocations: 0 / 0.498 GB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.5598, allocations: 46.53 kB / 0.498 GB, free: 4.141 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.917e-06/0.5598, allocations: 0 / 0.498 GB, free: 4.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005627/0.5604, allocations: 165.5 kB / 0.4982 GB, free: 3.973 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.5605, allocations: 166.1 kB / 0.4984 GB, free: 3.773 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.5608, allocations: 187 kB / 0.4985 GB, free: 3.578 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.5608, allocations: 25.7 kB / 0.4986 GB, free: 3.547 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.561, allocations: 191.8 kB / 0.4987 GB, free: 3.352 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.5611, allocations: 90.7 kB / 0.4988 GB, free: 3.262 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.5612, allocations: 12 kB / 0.4988 GB, free: 3.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.5613, allocations: 338.8 kB / 0.4992 GB, free: 2.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.5615, allocations: 60 kB / 0.4992 GB, free: 2.852 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.5618, allocations: 194.5 kB / 0.4994 GB, free: 2.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.5621, allocations: 99.84 kB / 0.4995 GB, free: 2.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.067e-06/0.5621, allocations: 4.219 kB / 0.4995 GB, free: 2.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007034/0.5628, allocations: 296.9 kB / 0.4998 GB, free: 2.199 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.5629, allocations: 12.47 kB / 0.4998 GB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.5629, allocations: 4 kB / 0.4998 GB, free: 2.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.5629, allocations: 12 kB / 0.4998 GB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/0.5633, allocations: 87.89 kB / 0.4999 GB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/0.5634, allocations: 11.94 kB / 0.4999 GB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.5637, allocations: 35.69 kB / 0.5 GB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.5637, allocations: 12 kB / 0.5 GB, free: 2.027 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.0001363/0.5639, allocations: 128.8 kB / 0.5001 GB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.564, allocations: 23.72 kB / 0.5001 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.5643, allocations: 95.14 kB / 0.5002 GB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.5643, allocations: 7.984 kB / 0.5002 GB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.295e-06/0.5643, allocations: 0 / 0.5002 GB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.24e-06/0.5644, allocations: 0 / 0.5002 GB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.5657, allocations: 313.3 kB / 0.5005 GB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.209e-06/0.5658, allocations: 256 / 0.5005 GB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008086/0.5666, allocations: 67.91 kB / 0.5006 GB, free: 1.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.797e-05/0.5667, allocations: 7.984 kB / 0.5006 GB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.034e-05/0.5667, allocations: 8 kB / 0.5006 GB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/0.5668, allocations: 4 kB / 0.5006 GB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.989e-06/0.5668, allocations: 0 / 0.5006 GB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008891/0.5677, allocations: 0.6777 MB / 0.5013 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.5678, allocations: 100.8 kB / 0.5013 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.5679, allocations: 8 kB / 0.5014 GB, free: 484 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.5683, allocations: 11.95 kB / 0.5014 GB, free: 472 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.5683, allocations: 11.98 kB / 0.5014 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.5684, allocations: 11.98 kB / 0.5014 GB, free: 448 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001901/0.5686, allocations: 145.6 kB / 0.5015 GB, free: 304 kB / 410.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.5686, allocations: 0 / 0.5015 GB, free: 304 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007427/0.5693, allocations: 87.75 kB / 0.5016 GB, free: 216 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.0001717/0.5695, allocations: 115.1 kB / 0.5017 GB, free: 88 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004615/0.57, allocations: 167.8 kB / 0.5019 GB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.023e-06/0.57, allocations: 3.938 kB / 0.5019 GB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.5702, allocations: 69.17 kB / 0.502 GB, free: 15.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007036/0.5709, allocations: 65.69 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.002084/0.573, allocations: 1.008 MB / 0.503 GB, free: 14.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.5735, allocations: 0.7758 MB / 0.5038 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000192/0.5738, allocations: 30.95 kB / 0.5038 GB, free: 13.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.5738, allocations: 23.44 kB / 0.5038 GB, free: 13.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/0.5739, allocations: 0 / 0.5038 GB, free: 13.89 MB / 426.7 MB Notification: Performance of Templates: time 0.008212/0.5821, allocations: 2.282 MB / 0.506 GB, free: 11.64 MB / 426.7 MB