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_cpp_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.235e-05/2.244e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2537, allocations: 44.5 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.3668, allocations: 72.39 MB / 366.5 MB, free: 9.582 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.367, allocations: 67.91 kB / 366.6 MB, free: 9.516 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01499/0.3821, allocations: 3.744 MB / 370.3 MB, free: 5.762 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.526e-06/0.3821, allocations: 0 / 370.3 MB, free: 5.762 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.3821, allocations: 8 kB / 370.3 MB, free: 5.754 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.0007167/0.3829, allocations: 462.3 kB / 370.8 MB, free: 5.258 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3829, allocations: 12.03 kB / 370.8 MB, free: 5.246 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.048e-05/0.383, allocations: 23.72 kB / 370.8 MB, free: 5.223 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.3834, allocations: 243.3 kB / 371 MB, free: 4.941 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.3834, allocations: 7.938 kB / 371 MB, free: 4.934 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.3835, allocations: 19.91 kB / 371.1 MB, free: 4.914 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003174/0.3838, allocations: 112.8 kB / 371.2 MB, free: 4.805 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.3842, allocations: 150.5 kB / 371.3 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.3842, allocations: 3.938 kB / 371.3 MB, free: 4.645 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.3843, allocations: 0 / 371.3 MB, free: 4.645 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.3843, allocations: 8 kB / 371.3 MB, free: 4.637 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.3855, allocations: 0.568 MB / 371.9 MB, free: 4.031 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.3858, allocations: 153.5 kB / 372.1 MB, free: 3.875 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.386, allocations: 85.69 kB / 372.1 MB, free: 3.789 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.3861, allocations: 15.97 kB / 372.2 MB, free: 3.773 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.3861, allocations: 30.56 kB / 372.2 MB, free: 3.734 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 3.202e-06/0.3861, allocations: 0 / 372.2 MB, free: 3.734 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002228/0.3884, allocations: 0.9133 MB / 373.1 MB, free: 2.723 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.3885, allocations: 55.41 kB / 373.2 MB, free: 2.656 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.3886, allocations: 138.5 kB / 373.3 MB, free: 2.516 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.3887, allocations: 25.92 kB / 373.3 MB, free: 2.484 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.3888, allocations: 206.8 kB / 373.5 MB, free: 2.281 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.389, allocations: 114.2 kB / 373.6 MB, free: 2.168 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.389, allocations: 0 / 373.6 MB, free: 2.168 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3892, allocations: 326.8 kB / 373.9 MB, free: 1.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.3893, allocations: 56 kB / 374 MB, free: 1.785 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.3895, allocations: 86.84 kB / 374.1 MB, free: 1.691 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.3897, allocations: 77.31 kB / 374.2 MB, free: 1.617 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.968e-06/0.3898, allocations: 4 kB / 374.2 MB, free: 1.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006075/0.3904, allocations: 239.6 kB / 374.4 MB, free: 1.371 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3904, allocations: 4 kB / 374.4 MB, free: 1.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3904, allocations: 0 / 374.4 MB, free: 1.367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/0.3907, allocations: 44.83 kB / 374.4 MB, free: 1.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.391, allocations: 55.91 kB / 374.5 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.3929, allocations: 1.507 MB / 376 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.3932, allocations: 12.08 kB / 376 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.3932, allocations: 12 kB / 376 MB, free: 15.62 MB / 330.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 0.0001345/0.3934, allocations: 112.7 kB / 376.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.209e-05/0.3934, allocations: 19.81 kB / 376.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.947e-05/0.3935, allocations: 19.41 kB / 376.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3935, allocations: 4 kB / 376.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.3936, allocations: 7.984 kB / 376.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.024e-06/0.3936, allocations: 4 kB / 376.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.395, allocations: 0.6965 MB / 376.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.376e-06/0.3951, allocations: 4 kB / 376.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.3954, allocations: 59.86 kB / 377 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001713/0.3956, allocations: 36.77 kB / 377 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.3957, allocations: 8 kB / 377 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.3972, allocations: 1.323 MB / 378.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.55e-06/0.3972, allocations: 0 / 378.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008817/0.3981, allocations: 468 kB / 378.8 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.82e-05/0.3982, allocations: 96.92 kB / 378.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.3983, allocations: 0 / 378.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3985, allocations: 15.98 kB / 378.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.3986, allocations: 23.91 kB / 378.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.3986, allocations: 8 kB / 378.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.3988, allocations: 112.4 kB / 379 MB, free: 12.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.3988, allocations: 7.938 kB / 379 MB, free: 12.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005374/0.3993, allocations: 52 kB / 379.1 MB, free: 12.3 MB / 330.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.0001792/0.3995, allocations: 111.1 kB / 379.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007093/0.4002, allocations: 305.5 kB / 379.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.081e-06/0.4003, allocations: 0 / 379.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004221/0.4007, allocations: 221.6 kB / 379.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.4011, allocations: 30.33 kB / 379.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.4025, allocations: 0.5881 MB / 380.3 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.4031, allocations: 0.7603 MB / 381.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.876e-05/0.4032, allocations: 23.42 kB / 381.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of SimCode: time 1.968e-06/0.4032, allocations: 4 kB / 381.1 MB, free: 10.19 MB / 330.7 MB Notification: Performance of Templates: time 0.007412/0.4106, allocations: 3.609 MB / 384.7 MB, free: 6.582 MB / 330.7 MB