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_3.2.2_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadModel(ModelicaTest): time 2.494/2.494, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.544e-05/3.548e-05, allocations: 4 kB / 304.9 MB, free: 5.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3711, allocations: 54.85 MB / 359.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.4987, allocations: 82.52 MB / 442.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.499, allocations: 63.97 kB / 442.4 MB, free: 14.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02057/0.5195, allocations: 4.706 MB / 447.1 MB, free: 9.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5196, allocations: 0 / 447.1 MB, free: 9.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.869e-05/0.5196, allocations: 8 kB / 447.1 MB, free: 9.656 MB / 378.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.0009104/0.5206, allocations: 0.5139 MB / 447.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.5206, allocations: 11.97 kB / 447.6 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.511e-05/0.5207, allocations: 35.56 kB / 447.6 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.5211, allocations: 247.1 kB / 447.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.5212, allocations: 16.56 kB / 447.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/0.5213, allocations: 28 kB / 447.9 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/0.5218, allocations: 256.8 kB / 448.2 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.5219, allocations: 7.906 kB / 448.2 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.5219, allocations: 11.95 kB / 448.2 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.522, allocations: 8.562 kB / 448.2 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003805/0.5223, allocations: 143.2 kB / 448.3 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/0.5246, allocations: 1.31 MB / 449.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.5251, allocations: 218.6 kB / 449.9 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.5253, allocations: 75.44 kB / 449.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.5254, allocations: 6.531 kB / 449.9 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.5254, allocations: 50.5 kB / 450 MB, free: 6.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 4.036e-06/0.5254, allocations: 0 / 450 MB, free: 6.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002685/0.5281, allocations: 1.39 MB / 451.4 MB, free: 4.879 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.96e-05/0.5283, allocations: 140.4 kB / 451.5 MB, free: 4.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.5285, allocations: 193.1 kB / 451.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.5286, allocations: 33.7 kB / 451.7 MB, free: 4.473 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.5288, allocations: 176.2 kB / 451.9 MB, free: 4.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.5289, allocations: 118.3 kB / 452 MB, free: 4.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.5289, allocations: 8 kB / 452 MB, free: 4.172 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.5291, allocations: 338.8 kB / 452.4 MB, free: 3.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.5293, allocations: 72.86 kB / 452.4 MB, free: 3.762 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.5297, allocations: 204.5 kB / 452.6 MB, free: 3.504 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.53, allocations: 107.3 kB / 452.7 MB, free: 3.402 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.832e-06/0.53, allocations: 0 / 452.7 MB, free: 3.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007986/0.5308, allocations: 325 kB / 453.1 MB, free: 3.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.5308, allocations: 9.719 kB / 453.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.5309, allocations: 4 kB / 453.1 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.5309, allocations: 9.031 kB / 453.1 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/0.5315, allocations: 112.2 kB / 453.2 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/0.5315, allocations: 15.89 kB / 453.2 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.5318, allocations: 31.97 kB / 453.2 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.5319, allocations: 16 kB / 453.2 MB, free: 2.887 MB / 378.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.0001409/0.532, allocations: 132.9 kB / 453.4 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.5322, allocations: 27.62 kB / 453.4 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.264e-05/0.5323, allocations: 37.83 kB / 453.4 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.729e-06/0.5323, allocations: 4 kB / 453.4 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.067e-06/0.5323, allocations: 0 / 453.4 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.5323, allocations: 3.953 kB / 453.4 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.5342, allocations: 0.9309 MB / 454.4 MB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.424e-06/0.5342, allocations: 4 kB / 454.4 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.5348, allocations: 87.94 kB / 454.5 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.5348, allocations: 4 kB / 454.5 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.5349, allocations: 8 kB / 454.5 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.983e-06/0.5349, allocations: 0 / 454.5 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.5349, allocations: 4 kB / 454.5 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.5359, allocations: 0.7188 MB / 455.2 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.5361, allocations: 100.8 kB / 455.3 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.5361, allocations: 16.05 kB / 455.3 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/0.5366, allocations: 23.98 kB / 455.3 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.5367, allocations: 19.97 kB / 455.4 MB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.5367, allocations: 12 kB / 455.4 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002017/0.5369, allocations: 157.4 kB / 455.5 MB, free: 468 kB / 378.7 MB Notification: Performance of sort global known variables: time 7.69e-07/0.5369, allocations: 0 / 455.5 MB, free: 468 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006909/0.5376, allocations: 68 kB / 455.6 MB, free: 400 kB / 378.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.0001674/0.5378, allocations: 111.2 kB / 455.7 MB, free: 280 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005485/0.5384, allocations: 204.4 kB / 455.9 MB, free: 76 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.248e-06/0.5384, allocations: 4.125 kB / 455.9 MB, free: 72 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.5387, allocations: 104 kB / 456 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.5393, allocations: 39.84 kB / 456 MB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.5409, allocations: 0.7122 MB / 456.8 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.5414, allocations: 0.7761 MB / 457.5 MB, free: 14.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.5416, allocations: 30.97 kB / 457.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.5417, allocations: 31.42 kB / 457.6 MB, free: 14.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.832e-06/0.5418, allocations: 0 / 457.6 MB, free: 14.3 MB / 394.7 MB Notification: Performance of Templates: time 0.007564/0.5493, allocations: 2.107 MB / 459.7 MB, free: 12.21 MB / 394.7 MB