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 1.851/1.851, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.28e-05, allocations: 3.531 kB / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07801/0.07806, allocations: 44.5 MB / 299.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3179/0.396, allocations: 72.72 MB / 372.5 MB, free: 22.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.3963, allocations: 67.36 kB / 372.6 MB, free: 22.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01445/0.4108, allocations: 3.696 MB / 376.3 MB, free: 21.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.957e-06/0.4108, allocations: 0 / 376.3 MB, free: 21.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.4109, allocations: 4.375 kB / 376.3 MB, free: 21.92 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.0006489/0.4115, allocations: 477 kB / 376.8 MB, free: 21.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4116, allocations: 12.12 kB / 376.8 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.406e-05/0.4117, allocations: 25.12 kB / 376.8 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.4119, allocations: 224 kB / 377 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.412, allocations: 15.16 kB / 377 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.412, allocations: 24.75 kB / 377.1 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.4125, allocations: 202.4 kB / 377.3 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.4125, allocations: 1.312 kB / 377.3 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.4125, allocations: 9.281 kB / 377.3 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.194e-06/0.4126, allocations: 8.594 kB / 377.3 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.4129, allocations: 120.8 kB / 377.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.4143, allocations: 0.7954 MB / 378.2 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.4148, allocations: 198.7 kB / 378.4 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.415, allocations: 104 kB / 378.5 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.4151, allocations: 2.781 kB / 378.5 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.4151, allocations: 35.22 kB / 378.5 MB, free: 20.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 3.153e-06/0.4151, allocations: 4 kB / 378.5 MB, free: 20.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001545/0.4167, allocations: 0.7691 MB / 379.3 MB, free: 20.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.4167, allocations: 80.11 kB / 379.4 MB, free: 20.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.4169, allocations: 157.8 kB / 379.5 MB, free: 19.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.417, allocations: 30.95 kB / 379.6 MB, free: 19.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.417, allocations: 204.5 kB / 379.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.334e-05/0.4171, allocations: 95.64 kB / 379.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.4172, allocations: 4.438 kB / 379.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.857e-05/0.4172, allocations: 321 kB / 380.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.4174, allocations: 53.97 kB / 380.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.4176, allocations: 97.48 kB / 380.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.4178, allocations: 75.38 kB / 380.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.806e-06/0.4178, allocations: 0 / 380.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000461/0.4183, allocations: 208.6 kB / 380.6 MB, free: 19.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4183, allocations: 7.281 kB / 380.6 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.74e-06/0.4183, allocations: 1.188 kB / 380.6 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.4183, allocations: 6.469 kB / 380.6 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.4187, allocations: 62.42 kB / 380.7 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.4187, allocations: 9.516 kB / 380.7 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.4189, allocations: 17.97 kB / 380.7 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.419, allocations: 6.844 kB / 380.7 MB, free: 19.25 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 8.263e-05/0.4191, allocations: 115.4 kB / 380.8 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.334e-05/0.4192, allocations: 26.55 kB / 380.9 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.4e-05/0.4193, allocations: 30.33 kB / 380.9 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.981e-06/0.4193, allocations: 7.562 kB / 380.9 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.4193, allocations: 1.25 kB / 380.9 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.4193, allocations: 1.219 kB / 380.9 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.4204, allocations: 0.5767 MB / 381.5 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.716e-06/0.4204, allocations: 1.219 kB / 381.5 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.4208, allocations: 62.97 kB / 381.5 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.082e-06/0.4208, allocations: 2.812 kB / 381.5 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.4209, allocations: 7.094 kB / 381.5 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.4209, allocations: 3.531 kB / 381.5 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.614e-06/0.4209, allocations: 9.344 kB / 381.6 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006418/0.4215, allocations: 0.4985 MB / 382.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-05/0.4216, allocations: 104.1 kB / 382.2 MB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.4217, allocations: 11.81 kB / 382.2 MB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.4219, allocations: 12.02 kB / 382.2 MB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/0.422, allocations: 17.95 kB / 382.2 MB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.4221, allocations: 7.062 kB / 382.2 MB, free: 18.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.4222, allocations: 125.9 kB / 382.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.05e-07/0.4222, allocations: 1.344 kB / 382.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005043/0.4227, allocations: 50.88 kB / 382.4 MB, free: 18.25 MB / 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.0001365/0.4229, allocations: 117.4 kB / 382.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000407/0.4233, allocations: 155.9 kB / 382.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.208e-06/0.4233, allocations: 1.344 kB / 382.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.4235, allocations: 82.78 kB / 382.7 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.424, allocations: 35 kB / 382.8 MB, free: 18.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.4252, allocations: 0.5699 MB / 383.3 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.4254, allocations: 0.7576 MB / 384.1 MB, free: 17.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.314e-05/0.4255, allocations: 23.62 kB / 384.1 MB, free: 17.04 MB / 314.7 MB Notification: Performance of SimCode: time 1.751e-06/0.4256, allocations: 1.406 kB / 384.1 MB, free: 17.04 MB / 314.7 MB Notification: Performance of Templates: time 0.0055/0.4311, allocations: 2.508 MB / 386.6 MB, free: 16.85 MB / 314.7 MB