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.1_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadModel(ModelicaTest): time 1.968/1.968, allocations: 209.3 MB / 221.5 MB, free: 1.852 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.335e-05, allocations: 4 kB / 273.1 MB, free: 244 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.09932, allocations: 48.7 MB / 321.8 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3402/0.4396, allocations: 76.15 MB / 397.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.4399, allocations: 59.97 kB / 398 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.021/0.4609, allocations: 4.712 MB / 402.7 MB, free: 8.781 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.031e-06/0.4609, allocations: 4 kB / 402.7 MB, free: 8.777 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.384e-05/0.461, allocations: 4 kB / 402.7 MB, free: 8.773 MB / 330.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.000905/0.4619, allocations: 0.5293 MB / 403.2 MB, free: 8.199 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4619, allocations: 9.125 kB / 403.2 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.012e-05/0.462, allocations: 31.62 kB / 403.3 MB, free: 8.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.4624, allocations: 254.5 kB / 403.5 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.4625, allocations: 16.56 kB / 403.5 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.825e-05/0.4626, allocations: 28 kB / 403.6 MB, free: 7.828 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.4631, allocations: 256.9 kB / 403.8 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.4631, allocations: 3.906 kB / 403.8 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.4632, allocations: 12 kB / 403.8 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.4632, allocations: 8 kB / 403.8 MB, free: 7.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.4636, allocations: 135.9 kB / 404 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.4659, allocations: 1.317 MB / 405.3 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.4664, allocations: 214.4 kB / 405.5 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.4666, allocations: 83.33 kB / 405.6 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.4666, allocations: 8.141 kB / 405.6 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.4667, allocations: 46.67 kB / 405.6 MB, free: 5.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 3.492e-06/0.4667, allocations: 4 kB / 405.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.002687/0.4694, allocations: 1.381 MB / 407 MB, free: 3.977 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.794e-05/0.4695, allocations: 136.5 kB / 407.1 MB, free: 3.812 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.4698, allocations: 201 kB / 407.3 MB, free: 3.613 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.4699, allocations: 29.7 kB / 407.4 MB, free: 3.578 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.47, allocations: 180.3 kB / 407.6 MB, free: 3.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.4702, allocations: 110.3 kB / 407.7 MB, free: 3.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.4702, allocations: 11.94 kB / 407.7 MB, free: 3.277 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.4704, allocations: 338.8 kB / 408 MB, free: 2.938 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.4706, allocations: 76.86 kB / 408.1 MB, free: 2.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.471, allocations: 209.5 kB / 408.3 MB, free: 2.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.4713, allocations: 104 kB / 408.4 MB, free: 2.496 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.97e-06/0.4713, allocations: 3.938 kB / 408.4 MB, free: 2.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008103/0.4721, allocations: 320.9 kB / 408.7 MB, free: 2.172 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.4721, allocations: 8 kB / 408.7 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.4722, allocations: 4 kB / 408.7 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.4722, allocations: 8 kB / 408.7 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.4728, allocations: 112.2 kB / 408.8 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.276e-05/0.4728, allocations: 16.05 kB / 408.8 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.4731, allocations: 31.98 kB / 408.9 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.4732, allocations: 16 kB / 408.9 MB, free: 1.98 MB / 330.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.0001443/0.4734, allocations: 132.8 kB / 409 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.4735, allocations: 27.62 kB / 409 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.918e-05/0.4736, allocations: 41.83 kB / 409.1 MB, free: 1.773 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.264e-06/0.4737, allocations: 4 kB / 409.1 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.409e-06/0.4737, allocations: 0 / 409.1 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.48e-06/0.4737, allocations: 3.984 kB / 409.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.4756, allocations: 0.927 MB / 410 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.593e-06/0.4756, allocations: 4 kB / 410 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005754/0.4762, allocations: 91.94 kB / 410.1 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.4762, allocations: 4 kB / 410.1 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.4763, allocations: 11.95 kB / 410.1 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.482e-06/0.4763, allocations: 0 / 410.1 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.117e-06/0.4763, allocations: 4 kB / 410.1 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.4774, allocations: 0.6989 MB / 410.8 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.4775, allocations: 120.8 kB / 411 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-05/0.4776, allocations: 8 kB / 411 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.478, allocations: 27.97 kB / 411 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.4781, allocations: 27.92 kB / 411 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.4782, allocations: 12 kB / 411 MB, free: 15.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000204/0.4784, allocations: 157.4 kB / 411.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.176e-06/0.4784, allocations: 0 / 411.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00069/0.4791, allocations: 75.94 kB / 411.3 MB, free: 15.47 MB / 346.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.0001752/0.4793, allocations: 111.7 kB / 411.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005764/0.4799, allocations: 212.1 kB / 411.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.017e-06/0.4799, allocations: 0 / 411.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.4802, allocations: 100.7 kB / 411.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.4807, allocations: 44.73 kB / 411.7 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.4824, allocations: 0.7151 MB / 412.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.4829, allocations: 0.7799 MB / 413.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002341/0.4832, allocations: 38.94 kB / 413.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.4833, allocations: 23.44 kB / 413.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of SimCode: time 3.994e-06/0.4833, allocations: 0 / 413.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of Templates: time 0.007626/0.4909, allocations: 2.103 MB / 415.4 MB, free: 11.27 MB / 346.7 MB