Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadModel(Modelica): time 1.793/1.793, allocations: 194.9 MB / 208 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.703e-05, allocations: 0 / 255.4 MB, free: 2.715 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07844/0.07849, allocations: 44.5 MB / 299.9 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3742/0.4527, allocations: 73.05 MB / 372.9 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.453, allocations: 69.34 kB / 373 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01465/0.4677, allocations: 3.78 MB / 376.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.32e-06/0.4677, allocations: 0 / 376.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.4678, allocations: 4.844 kB / 376.8 MB, free: 21.98 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005922/0.4684, allocations: 470.6 kB / 377.2 MB, free: 21.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.4684, allocations: 10.22 kB / 377.3 MB, free: 21.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.921e-05/0.4685, allocations: 24.62 kB / 377.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.4688, allocations: 232.8 kB / 377.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.4688, allocations: 16.72 kB / 377.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.4689, allocations: 26.03 kB / 377.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.4693, allocations: 181 kB / 377.7 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.4693, allocations: 5.25 kB / 377.7 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.4694, allocations: 8.031 kB / 377.7 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.544e-06/0.4694, allocations: 5.875 kB / 377.7 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.4697, allocations: 124.8 kB / 377.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.4708, allocations: 0.6267 MB / 378.5 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.4712, allocations: 172.6 kB / 378.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.4714, allocations: 90.92 kB / 378.7 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.4715, allocations: 2.656 kB / 378.7 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.4715, allocations: 40.3 kB / 378.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 3.081e-06/0.4715, allocations: 3.219 kB / 378.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002051/0.4736, allocations: 0.9719 MB / 379.8 MB, free: 20.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.4736, allocations: 72.41 kB / 379.8 MB, free: 20.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.4738, allocations: 157.2 kB / 380 MB, free: 20.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.4739, allocations: 30.55 kB / 380 MB, free: 20.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.4739, allocations: 141.2 kB / 380.2 MB, free: 20.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.278e-05/0.474, allocations: 115.7 kB / 380.3 MB, free: 20 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/0.4741, allocations: 5.125 kB / 380.3 MB, free: 20 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.4741, allocations: 333.2 kB / 380.6 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.4743, allocations: 60.34 kB / 380.7 MB, free: 19.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.4745, allocations: 96.61 kB / 380.8 MB, free: 19.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.4747, allocations: 76.98 kB / 380.8 MB, free: 19.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.692e-06/0.4747, allocations: 0.9688 kB / 380.8 MB, free: 19.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006201/0.4754, allocations: 282.1 kB / 381.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4754, allocations: 8.234 kB / 381.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.685e-06/0.4754, allocations: 5.125 kB / 381.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.4756, allocations: 45.38 kB / 381.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.476, allocations: 56.06 kB / 381.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.4775, allocations: 1.559 MB / 382.8 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.4777, allocations: 10.72 kB / 382.8 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.4777, allocations: 10.84 kB / 382.8 MB, free: 18.22 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.955e-05/0.4778, allocations: 125.8 kB / 382.9 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.4779, allocations: 22.78 kB / 382.9 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.415e-05/0.478, allocations: 29.83 kB / 383 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.564e-06/0.478, allocations: 9.641 kB / 383 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.478, allocations: 224 / 383 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.426e-06/0.478, allocations: 3.422 kB / 383 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.4794, allocations: 0.766 MB / 383.7 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.683e-06/0.4794, allocations: 1.375 kB / 383.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003817/0.4798, allocations: 59.48 kB / 383.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001637/0.48, allocations: 38.25 kB / 383.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.48, allocations: 7.766 kB / 383.9 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.4811, allocations: 1.376 MB / 385.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.785e-06/0.4811, allocations: 1.5 kB / 385.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007903/0.4819, allocations: 0.4908 MB / 385.7 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.482, allocations: 97.94 kB / 385.8 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.4821, allocations: 9.094 kB / 385.8 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.4823, allocations: 8.5 kB / 385.8 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.4823, allocations: 22.38 kB / 385.9 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.4824, allocations: 8.969 kB / 385.9 MB, free: 16.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.4825, allocations: 137.1 kB / 386 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.4825, allocations: 0 / 386 MB, free: 15.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005432/0.4831, allocations: 71.59 kB / 386.1 MB, free: 15.96 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001403/0.4832, allocations: 108.9 kB / 386.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006699/0.4839, allocations: 319.3 kB / 386.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.871e-06/0.484, allocations: 1.906 kB / 386.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.4843, allocations: 223.9 kB / 386.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.4848, allocations: 37.14 kB / 386.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.486, allocations: 0.5988 MB / 387.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007902/0.4868, allocations: 0.7621 MB / 388.1 MB, free: 30.56 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.487, allocations: 22.53 kB / 388.1 MB, free: 30.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.239e-05/0.487, allocations: 21.22 kB / 388.1 MB, free: 30.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.916e-06/0.4871, allocations: 0 / 388.1 MB, free: 30.55 MB / 330.7 MB Notification: Performance of Templates: time 0.01001/0.4971, allocations: 2.398 MB / 390.5 MB, free: 30.36 MB / 330.7 MB