Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 1.051/1.051, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.425e-05/2.431e-05, allocations: 0 / 151.4 MB, free: 15.59 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1921, allocations: 25.15 MB / 176.5 MB, free: 16 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05222/0.2444, allocations: 34.58 MB / 211.1 MB, free: 14.88 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.2447, allocations: 63.95 kB / 211.2 MB, free: 14.81 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01447/0.2592, allocations: 3.598 MB / 214.8 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.068e-06/0.2592, allocations: 0 / 214.8 MB, free: 11.2 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.2592, allocations: 4 kB / 214.8 MB, free: 11.2 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007501/0.26, allocations: 478.2 kB / 215.3 MB, free: 10.68 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.26, allocations: 11.97 kB / 215.3 MB, free: 10.67 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.2601, allocations: 27.72 kB / 215.3 MB, free: 10.64 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.2604, allocations: 223.7 kB / 215.5 MB, free: 10.39 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.2605, allocations: 16.44 kB / 215.5 MB, free: 10.37 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/0.2606, allocations: 20 kB / 215.5 MB, free: 10.35 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.261, allocations: 193 kB / 215.7 MB, free: 10.15 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.2611, allocations: 4 kB / 215.7 MB, free: 10.15 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.2611, allocations: 7.953 kB / 215.7 MB, free: 10.14 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.8e-06/0.2611, allocations: 4 kB / 215.7 MB, free: 10.14 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.2615, allocations: 124.8 kB / 215.9 MB, free: 10.02 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.263, allocations: 0.793 MB / 216.7 MB, free: 9.156 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.2635, allocations: 173.1 kB / 216.8 MB, free: 8.969 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.2638, allocations: 101.9 kB / 216.9 MB, free: 8.863 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.2638, allocations: 4 kB / 216.9 MB, free: 8.859 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.2639, allocations: 34.56 kB / 217 MB, free: 8.816 MB / 186.7 MB Notification: Performance of pre-optimization done (n=21): time 2.554e-06/0.2639, allocations: 0 / 217 MB, free: 8.816 MB / 186.7 MB Notification: Performance of matching and sorting (n=25): time 0.001638/0.2655, allocations: 0.7482 MB / 217.7 MB, free: 7.977 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.2656, allocations: 85.09 kB / 217.8 MB, free: 7.875 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.2658, allocations: 155.7 kB / 218 MB, free: 7.715 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.2659, allocations: 29.7 kB / 218 MB, free: 7.68 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.266, allocations: 199.1 kB / 218.2 MB, free: 7.484 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.947e-05/0.2661, allocations: 94.64 kB / 218.3 MB, free: 7.391 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.2661, allocations: 4 kB / 218.3 MB, free: 7.387 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2663, allocations: 318.8 kB / 218.6 MB, free: 7.066 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.2665, allocations: 55.98 kB / 218.6 MB, free: 7.012 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.2667, allocations: 96.23 kB / 218.7 MB, free: 6.902 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.2669, allocations: 62.89 kB / 218.8 MB, free: 6.844 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.797e-06/0.2669, allocations: 4 kB / 218.8 MB, free: 6.84 MB / 186.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004689/0.2674, allocations: 205.6 kB / 219 MB, free: 6.633 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2674, allocations: 4 kB / 219 MB, free: 6.629 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.84e-06/0.2674, allocations: 3.938 kB / 219 MB, free: 6.625 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2674, allocations: 4 kB / 219 MB, free: 6.621 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.2678, allocations: 59.91 kB / 219.1 MB, free: 6.562 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.2678, allocations: 4 kB / 219.1 MB, free: 6.559 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.268, allocations: 27.92 kB / 219.1 MB, free: 6.531 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.268, allocations: 8 kB / 219.1 MB, free: 6.523 MB / 186.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 (31): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.2682, allocations: 120.9 kB / 219.2 MB, free: 6.398 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.2683, allocations: 19.81 kB / 219.2 MB, free: 6.379 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.73e-05/0.2683, allocations: 33.58 kB / 219.3 MB, free: 6.344 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2684, allocations: 0 / 219.3 MB, free: 6.344 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.383e-06/0.2684, allocations: 7.984 kB / 219.3 MB, free: 6.336 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.528e-06/0.2684, allocations: 0 / 219.3 MB, free: 6.336 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.2695, allocations: 0.567 MB / 219.9 MB, free: 5.703 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.2696, allocations: 4 kB / 219.9 MB, free: 5.699 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.27, allocations: 59.91 kB / 219.9 MB, free: 5.641 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.27, allocations: 8.094 kB / 219.9 MB, free: 5.633 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.27, allocations: 3.984 kB / 219.9 MB, free: 5.629 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.34e-06/0.27, allocations: 4 kB / 219.9 MB, free: 5.625 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.199e-06/0.27, allocations: 0 / 219.9 MB, free: 5.625 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007544/0.2708, allocations: 0.4921 MB / 220.4 MB, free: 5.082 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.271, allocations: 112.9 kB / 220.5 MB, free: 4.953 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.271, allocations: 4 kB / 220.5 MB, free: 4.949 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.2713, allocations: 11.98 kB / 220.5 MB, free: 4.938 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.2713, allocations: 19.98 kB / 220.6 MB, free: 4.918 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.2714, allocations: 8 kB / 220.6 MB, free: 4.91 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.2715, allocations: 139.3 kB / 220.7 MB, free: 4.773 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.2716, allocations: 0 / 220.7 MB, free: 4.773 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004674/0.272, allocations: 48 kB / 220.8 MB, free: 4.727 MB / 186.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 (25): * Single equations (assignments): 25 * 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.0001621/0.2722, allocations: 107.2 kB / 220.9 MB, free: 4.613 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003964/0.2726, allocations: 144 kB / 221 MB, free: 4.473 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.149e-06/0.2726, allocations: 192 / 221 MB, free: 4.473 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.2728, allocations: 88.03 kB / 221.1 MB, free: 4.387 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.2733, allocations: 28.94 kB / 221.1 MB, free: 4.359 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.2746, allocations: 0.5707 MB / 221.7 MB, free: 3.746 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.2751, allocations: 0.7482 MB / 222.4 MB, free: 2.973 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.2752, allocations: 19.44 kB / 222.5 MB, free: 2.953 MB / 186.7 MB Notification: Performance of SimCode: time 1.616e-06/0.2752, allocations: 4 kB / 222.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of Templates: time 0.005335/0.2805, allocations: 2.449 MB / 224.9 MB, free: 0.5078 MB / 186.7 MB