Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadModel(ModelicaTest): time 2.454/2.454, allocations: 270 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.128e-05, allocations: 3.984 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 61.88 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4224/0.5358, allocations: 88.65 MB / 498.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.536, allocations: 59.97 kB / 499 MB, free: 15.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02182/0.5579, allocations: 4.94 MB / 0.4921 GB, free: 10.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.079e-06/0.5579, allocations: 0 / 0.4921 GB, free: 10.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.5579, allocations: 8 kB / 0.4921 GB, free: 10.48 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008996/0.5589, allocations: 0.5099 MB / 0.4926 GB, free: 9.922 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.5589, allocations: 16.02 kB / 0.4926 GB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.559, allocations: 31.62 kB / 0.4926 GB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.5594, allocations: 250.5 kB / 0.4929 GB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.5595, allocations: 24.52 kB / 0.4929 GB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.513e-05/0.5596, allocations: 31.89 kB / 0.4929 GB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005351/0.5601, allocations: 248.9 kB / 0.4932 GB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.5602, allocations: 11.84 kB / 0.4932 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.5602, allocations: 12 kB / 0.4932 GB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.5602, allocations: 4 kB / 0.4932 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.5606, allocations: 135.9 kB / 0.4933 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.5629, allocations: 1.302 MB / 0.4946 GB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.5634, allocations: 222.4 kB / 0.4948 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.5636, allocations: 83.56 kB / 0.4949 GB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.5637, allocations: 4 kB / 0.4949 GB, free: 7.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.5637, allocations: 42.5 kB / 0.4949 GB, free: 7.297 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 3.692e-06/0.5637, allocations: 1.094 kB / 0.4949 GB, free: 7.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.002665/0.5664, allocations: 1.392 MB / 0.4963 GB, free: 5.695 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.5665, allocations: 140.5 kB / 0.4964 GB, free: 5.527 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.5668, allocations: 189 kB / 0.4966 GB, free: 5.336 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.5669, allocations: 29.7 kB / 0.4966 GB, free: 5.301 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.5671, allocations: 184.4 kB / 0.4968 GB, free: 5.117 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.5672, allocations: 118.3 kB / 0.4969 GB, free: 5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.5672, allocations: 11.94 kB / 0.4969 GB, free: 4.988 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.5674, allocations: 334.8 kB / 0.4973 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.5677, allocations: 68.88 kB / 0.4973 GB, free: 4.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.568, allocations: 205 kB / 0.4975 GB, free: 4.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.5683, allocations: 109 kB / 0.4976 GB, free: 4.215 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.921e-06/0.5683, allocations: 4 kB / 0.4976 GB, free: 4.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008063/0.5691, allocations: 332.7 kB / 0.4979 GB, free: 3.879 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.5692, allocations: 4 kB / 0.4979 GB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.5692, allocations: 8 kB / 0.498 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.5692, allocations: 4 kB / 0.498 GB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/0.5698, allocations: 116.2 kB / 0.4981 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.5698, allocations: 4.125 kB / 0.4981 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.5701, allocations: 35.98 kB / 0.4981 GB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.5702, allocations: 19.98 kB / 0.4981 GB, free: 3.691 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001406/0.5704, allocations: 132.8 kB / 0.4983 GB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.5705, allocations: 31.67 kB / 0.4983 GB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.373e-05/0.5706, allocations: 37.77 kB / 0.4983 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.109e-06/0.5706, allocations: 4 kB / 0.4983 GB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.544e-06/0.5707, allocations: 4 kB / 0.4983 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.636e-06/0.5707, allocations: 240 / 0.4983 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.5725, allocations: 0.9308 MB / 0.4992 GB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.383e-06/0.5725, allocations: 0 / 0.4992 GB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005527/0.5731, allocations: 87.95 kB / 0.4993 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.62e-05/0.5731, allocations: 11.97 kB / 0.4993 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.5732, allocations: 8 kB / 0.4993 GB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.5732, allocations: 4 kB / 0.4993 GB, free: 2.367 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.5732, allocations: 3.938 kB / 0.4993 GB, free: 2.363 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.5743, allocations: 0.6949 MB / 0.5 GB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.5744, allocations: 100.8 kB / 0.5001 GB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.5745, allocations: 12 kB / 0.5001 GB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.5749, allocations: 27.92 kB / 0.5002 GB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/0.575, allocations: 31.89 kB / 0.5002 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.5751, allocations: 11.95 kB / 0.5002 GB, free: 1.414 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002046/0.5753, allocations: 157.4 kB / 0.5004 GB, free: 1.262 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.5753, allocations: 0 / 0.5004 GB, free: 1.262 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006983/0.576, allocations: 68.25 kB / 0.5004 GB, free: 1.195 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0001691/0.5762, allocations: 115 kB / 0.5005 GB, free: 1.074 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005749/0.5768, allocations: 208.5 kB / 0.5007 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.029e-06/0.5768, allocations: 0 / 0.5007 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.5771, allocations: 103.9 kB / 0.5008 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/0.5776, allocations: 34.92 kB / 0.5009 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.5793, allocations: 0.7196 MB / 0.5016 GB, free: 15.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.5798, allocations: 0.7761 MB / 0.5023 GB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002292/0.5801, allocations: 34.95 kB / 0.5024 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.5802, allocations: 27.42 kB / 0.5024 GB, free: 15.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.691e-06/0.5802, allocations: 0 / 0.5024 GB, free: 15.11 MB / 426.7 MB Notification: Performance of Templates: time 0.008036/0.5882, allocations: 2.103 MB / 0.5044 GB, free: 13.02 MB / 426.7 MB