Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.055e-05/2.073e-05, allocations: 0 / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.251, allocations: 44.5 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.3643, allocations: 72.07 MB / 366.2 MB, free: 9.926 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.3645, allocations: 71.97 kB / 366.2 MB, free: 9.855 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01524/0.3798, allocations: 3.641 MB / 369.9 MB, free: 6.199 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.319e-06/0.3798, allocations: 0 / 369.9 MB, free: 6.199 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.3799, allocations: 4 kB / 369.9 MB, free: 6.195 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008032/0.3807, allocations: 482.2 kB / 370.4 MB, free: 5.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.3808, allocations: 8.031 kB / 370.4 MB, free: 5.672 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.574e-05/0.3808, allocations: 23.72 kB / 370.4 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.3812, allocations: 227.3 kB / 370.6 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3812, allocations: 8 kB / 370.6 MB, free: 5.375 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.3813, allocations: 16 kB / 370.6 MB, free: 5.359 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003413/0.3817, allocations: 108.9 kB / 370.7 MB, free: 5.254 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.3821, allocations: 172.5 kB / 370.9 MB, free: 5.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.3821, allocations: 7.906 kB / 370.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.3821, allocations: 0 / 370.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.3822, allocations: 4 kB / 370.9 MB, free: 5.059 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.3838, allocations: 0.7467 MB / 371.7 MB, free: 4.262 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.3843, allocations: 177.1 kB / 371.8 MB, free: 4.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.3846, allocations: 93.94 kB / 371.9 MB, free: 3.973 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.3846, allocations: 0 / 371.9 MB, free: 3.973 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.3846, allocations: 42.5 kB / 372 MB, free: 3.922 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 2.609e-06/0.3847, allocations: 0 / 372 MB, free: 3.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001639/0.3863, allocations: 0.7095 MB / 372.7 MB, free: 3.121 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.3864, allocations: 85.48 kB / 372.8 MB, free: 3.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.3866, allocations: 137.5 kB / 372.9 MB, free: 2.879 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.3867, allocations: 29.7 kB / 372.9 MB, free: 2.844 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.3868, allocations: 198.8 kB / 373.1 MB, free: 2.648 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.3869, allocations: 102.4 kB / 373.2 MB, free: 2.547 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.3869, allocations: 0 / 373.2 MB, free: 2.547 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3871, allocations: 326.8 kB / 373.5 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.3873, allocations: 48 kB / 373.6 MB, free: 2.172 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.3875, allocations: 92.25 kB / 373.7 MB, free: 2.066 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.3877, allocations: 63.97 kB / 373.7 MB, free: 2.004 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.133e-06/0.3877, allocations: 0 / 373.7 MB, free: 2.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004806/0.3882, allocations: 197.5 kB / 373.9 MB, free: 1.805 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.3882, allocations: 7.953 kB / 373.9 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.113e-06/0.3882, allocations: 0 / 373.9 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.3883, allocations: 4 kB / 373.9 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.3887, allocations: 59.91 kB / 374 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.3887, allocations: 4 kB / 374 MB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.3889, allocations: 7.984 kB / 374 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.3889, allocations: 16.09 kB / 374 MB, free: 1.707 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 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 prepare postOptimizeDAE: time 0.0001232/0.3891, allocations: 112.7 kB / 374.1 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-05/0.3892, allocations: 23.66 kB / 374.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.484e-05/0.3893, allocations: 29.91 kB / 374.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.109e-06/0.3893, allocations: 4 kB / 374.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.129e-06/0.3893, allocations: 0 / 374.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.474e-06/0.3893, allocations: 0 / 374.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.3905, allocations: 0.5175 MB / 374.7 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.3905, allocations: 0 / 374.7 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.3909, allocations: 59.97 kB / 374.8 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/0.3909, allocations: 0 / 374.8 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.391, allocations: 7.938 kB / 374.8 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.901e-06/0.391, allocations: 4.094 kB / 374.8 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.339e-06/0.391, allocations: 8 kB / 374.8 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007789/0.3918, allocations: 494.6 kB / 375.3 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3919, allocations: 100.9 kB / 375.4 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.392, allocations: 0 / 375.4 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.3923, allocations: 15.98 kB / 375.4 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.3924, allocations: 19.91 kB / 375.4 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.3924, allocations: 12 kB / 375.4 MB, free: 196 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.3925, allocations: 111.2 kB / 375.5 MB, free: 84 kB / 314.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.3925, allocations: 4 kB / 375.5 MB, free: 80 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005184/0.3931, allocations: 40 kB / 375.6 MB, free: 40 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0002001/0.3933, allocations: 107.2 kB / 375.7 MB, free: 15.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004025/0.3937, allocations: 146.8 kB / 375.8 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.122e-06/0.3937, allocations: 0 / 375.8 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.3939, allocations: 80.17 kB / 375.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.3944, allocations: 24.05 kB / 375.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.3957, allocations: 0.5532 MB / 376.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.3962, allocations: 0.7518 MB / 377.2 MB, free: 14.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.556e-05/0.3963, allocations: 23.42 kB / 377.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.767e-06/0.3964, allocations: 0 / 377.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of Templates: time 0.005627/0.402, allocations: 2.449 MB / 379.7 MB, free: 11.85 MB / 330.7 MB