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.1_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 1.812/1.812, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.715e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2084, allocations: 38.77 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.3131, allocations: 67.43 MB / 331.2 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.3134, allocations: 63.97 kB / 331.3 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01533/0.3287, allocations: 3.704 MB / 335 MB, free: 2.504 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.967e-06/0.3288, allocations: 0 / 335 MB, free: 2.504 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.3288, allocations: 4 kB / 335 MB, free: 2.5 MB / 282.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.0007927/0.3296, allocations: 490.1 kB / 335.5 MB, free: 1.973 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3297, allocations: 12.03 kB / 335.5 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.3297, allocations: 23.72 kB / 335.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.3301, allocations: 226.7 kB / 335.7 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.3301, allocations: 16.39 kB / 335.7 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.3302, allocations: 24 kB / 335.8 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.3307, allocations: 204.5 kB / 336 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.3307, allocations: 0 / 336 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.3308, allocations: 8 kB / 336 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.3308, allocations: 8 kB / 336 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003373/0.3311, allocations: 120.3 kB / 336.1 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.3328, allocations: 0.7997 MB / 336.9 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.3333, allocations: 181.1 kB / 337.1 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.3336, allocations: 101.7 kB / 337.2 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.3336, allocations: 4.156 kB / 337.2 MB, free: 124 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.3337, allocations: 38.55 kB / 337.2 MB, free: 76 kB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 2.888e-06/0.3337, allocations: 4 kB / 337.2 MB, free: 72 kB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001784/0.3355, allocations: 0.7695 MB / 338 MB, free: 15.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.3356, allocations: 77.11 kB / 338.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.3358, allocations: 161.9 kB / 338.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.3359, allocations: 33.64 kB / 338.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.336, allocations: 144.4 kB / 338.4 MB, free: 14.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.3361, allocations: 98.64 kB / 338.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/0.3362, allocations: 4 kB / 338.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3363, allocations: 334.8 kB / 338.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.3365, allocations: 52 kB / 338.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.3367, allocations: 100.2 kB / 339 MB, free: 14.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.3369, allocations: 61.62 kB / 339 MB, free: 14.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.651e-06/0.3369, allocations: 0 / 339 MB, free: 14.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005156/0.3375, allocations: 217.1 kB / 339.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.3375, allocations: 8.781 kB / 339.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.677e-06/0.3375, allocations: 7.922 kB / 339.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.3376, allocations: 4 kB / 339.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.338, allocations: 63.91 kB / 339.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.338, allocations: 7.953 kB / 339.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.3382, allocations: 16 kB / 339.3 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.3382, allocations: 8 kB / 339.4 MB, free: 13.77 MB / 298.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.0001196/0.3383, allocations: 116.9 kB / 339.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.292e-05/0.3384, allocations: 23.8 kB / 339.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.112e-05/0.3385, allocations: 29.66 kB / 339.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.139e-06/0.3386, allocations: 4 kB / 339.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3386, allocations: 0 / 339.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.3386, allocations: 7.938 kB / 339.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.3398, allocations: 0.5786 MB / 340.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.164e-06/0.3398, allocations: 0 / 340.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.3403, allocations: 63.86 kB / 340.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.367e-06/0.3403, allocations: 0 / 340.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.3403, allocations: 12.09 kB / 340.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.749e-06/0.3404, allocations: 7.984 kB / 340.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.872e-06/0.3404, allocations: 3.938 kB / 340.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008034/0.3412, allocations: 0.4921 MB / 340.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.3414, allocations: 108.9 kB / 340.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.3414, allocations: 8 kB / 340.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.3417, allocations: 15.98 kB / 340.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.3418, allocations: 15.94 kB / 340.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.3418, allocations: 12 kB / 340.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001623/0.342, allocations: 140.2 kB / 341 MB, free: 12 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.342, allocations: 0 / 341 MB, free: 12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005012/0.3425, allocations: 48 kB / 341 MB, free: 11.95 MB / 298.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.0001643/0.3427, allocations: 103.3 kB / 341.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004284/0.3431, allocations: 159.7 kB / 341.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.392e-06/0.3431, allocations: 0 / 341.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.3433, allocations: 88 kB / 341.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.3438, allocations: 40.14 kB / 341.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.3453, allocations: 0.5403 MB / 342 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.3458, allocations: 0.7559 MB / 342.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00014/0.3459, allocations: 22.08 kB / 342.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.346, allocations: 19.44 kB / 342.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of SimCode: time 1.635e-06/0.346, allocations: 0 / 342.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of Templates: time 0.006923/0.3529, allocations: 1.791 MB / 344.5 MB, free: 8.375 MB / 298.7 MB