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.087/1.087, allocations: 111.1 MB / 126.3 MB, free: 6.414 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.155e-05, allocations: 0 / 154.5 MB, free: 2.84 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07046/0.07053, allocations: 25.18 MB / 179.7 MB, free: 9.617 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003458/0.07405, allocations: 1.695 MB / 181.4 MB, free: 7.918 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.07512, allocations: 435.5 kB / 181.8 MB, free: 7.488 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.07527, allocations: 11.94 kB / 181.8 MB, free: 7.477 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 8.079e-05/0.07537, allocations: 27.77 kB / 181.8 MB, free: 7.449 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.0756, allocations: 71.77 kB / 181.9 MB, free: 7.379 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.07582, allocations: 39.95 kB / 182 MB, free: 7.34 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.07611, allocations: 131.7 kB / 182.1 MB, free: 7.211 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.0763, allocations: 52.95 kB / 182.1 MB, free: 7.16 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.07648, allocations: 71.77 kB / 182.2 MB, free: 7.09 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.07667, allocations: 83.69 kB / 182.3 MB, free: 7.008 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.797e-05/0.07673, allocations: 8 kB / 182.3 MB, free: 7 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.07677, allocations: 8 kB / 182.3 MB, free: 6.992 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.07683, allocations: 27.91 kB / 182.3 MB, free: 6.965 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 6.502e-05/0.07691, allocations: 27.94 kB / 182.4 MB, free: 6.938 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.07718, allocations: 171.8 kB / 182.5 MB, free: 6.77 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.0772, allocations: 4 kB / 182.5 MB, free: 6.766 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.07721, allocations: 0 / 182.5 MB, free: 6.766 MB / 154.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.07723, allocations: 0 / 182.5 MB, free: 6.766 MB / 154.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.0009941/0.07823, allocations: 487.2 kB / 183 MB, free: 6.242 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.07829, allocations: 11.97 kB / 183 MB, free: 6.23 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.259e-05/0.07837, allocations: 23.72 kB / 183 MB, free: 6.207 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.07872, allocations: 234.7 kB / 183.3 MB, free: 5.938 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.07876, allocations: 16.44 kB / 183.3 MB, free: 5.922 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.07883, allocations: 16 kB / 183.3 MB, free: 5.906 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.07945, allocations: 213.8 kB / 183.5 MB, free: 5.684 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.07949, allocations: 7.859 kB / 183.5 MB, free: 5.676 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.07953, allocations: 12 kB / 183.5 MB, free: 5.664 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.07955, allocations: 4 kB / 183.5 MB, free: 5.66 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.0801, allocations: 145.2 kB / 183.7 MB, free: 5.52 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.08182, allocations: 0.7852 MB / 184.5 MB, free: 4.668 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/0.08245, allocations: 193 kB / 184.6 MB, free: 4.461 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.0825, allocations: 4 kB / 184.7 MB, free: 4.457 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.08254, allocations: 38.5 kB / 184.7 MB, free: 4.41 MB / 154.7 MB Notification: Performance of pre-optimization done (n=21): time 5.731e-06/0.08256, allocations: 7.984 kB / 184.7 MB, free: 4.402 MB / 154.7 MB Notification: Performance of matching and sorting (n=25): time 0.00238/0.08495, allocations: 0.8606 MB / 185.6 MB, free: 3.449 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.08505, allocations: 81.11 kB / 185.6 MB, free: 3.352 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.08528, allocations: 162 kB / 185.8 MB, free: 3.188 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.08532, allocations: 29.7 kB / 185.8 MB, free: 3.152 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.08546, allocations: 202.8 kB / 186 MB, free: 2.953 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.883e-05/0.08557, allocations: 90.59 kB / 186.1 MB, free: 2.863 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.908e-05/0.0856, allocations: 8 kB / 186.1 MB, free: 2.855 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.08575, allocations: 322.8 kB / 186.4 MB, free: 2.531 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.08602, allocations: 67.97 kB / 186.5 MB, free: 2.465 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.08633, allocations: 112.2 kB / 186.6 MB, free: 2.34 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.08664, allocations: 76.23 kB / 186.7 MB, free: 2.266 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.08666, allocations: 4 kB / 186.7 MB, free: 2.262 MB / 154.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007628/0.08743, allocations: 238.6 kB / 186.9 MB, free: 2.023 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.08747, allocations: 4 kB / 186.9 MB, free: 2.02 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.0875, allocations: 3.984 kB / 186.9 MB, free: 2.016 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.08753, allocations: 7.938 kB / 186.9 MB, free: 2.008 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004833/0.08802, allocations: 55.97 kB / 187 MB, free: 1.953 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.08805, allocations: 8.031 kB / 187 MB, free: 1.945 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.08828, allocations: 19.91 kB / 187 MB, free: 1.926 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.08833, allocations: 8 kB / 187 MB, free: 1.918 MB / 154.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.0001885/0.08852, allocations: 141.7 kB / 187.2 MB, free: 1.77 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-05/0.08862, allocations: 15.81 kB / 187.2 MB, free: 1.754 MB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.486e-05/0.08871, allocations: 29.81 kB / 187.2 MB, free: 1.723 MB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.08873, allocations: 4 kB / 187.2 MB, free: 1.719 MB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.08875, allocations: 0 / 187.2 MB, free: 1.719 MB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.08876, allocations: 3.984 kB / 187.2 MB, free: 1.715 MB / 154.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.09002, allocations: 0.5827 MB / 187.8 MB, free: 1.066 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.09005, allocations: 0 / 187.8 MB, free: 1.066 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005361/0.0906, allocations: 64.06 kB / 187.9 MB, free: 1.004 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.09063, allocations: 4 kB / 187.9 MB, free: 1 MB / 154.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.09067, allocations: 8 kB / 187.9 MB, free: 0.9922 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.09068, allocations: 3.938 kB / 187.9 MB, free: 0.9883 MB / 154.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.0907, allocations: 4 kB / 187.9 MB, free: 0.9844 MB / 154.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.09184, allocations: 0.5313 MB / 188.4 MB, free: 412 kB / 154.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.09202, allocations: 112.8 kB / 188.5 MB, free: 280 kB / 154.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.09209, allocations: 4 kB / 188.5 MB, free: 276 kB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.09236, allocations: 8 kB / 188.5 MB, free: 268 kB / 154.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.192e-05/0.09246, allocations: 23.91 kB / 188.6 MB, free: 244 kB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.09249, allocations: 8 kB / 188.6 MB, free: 236 kB / 154.7 MB Notification: Performance of sorting global known variables: time 0.0001659/0.09267, allocations: 140.3 kB / 188.7 MB, free: 96 kB / 154.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.09268, allocations: 0 / 188.7 MB, free: 96 kB / 154.7 MB Notification: Performance of remove unused functions: time 0.0004516/0.09314, allocations: 48 kB / 188.8 MB, free: 48 kB / 154.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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.0001743/0.09333, allocations: 103.2 kB / 188.9 MB, free: 15.93 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0006755/0.09401, allocations: 187.9 kB / 189 MB, free: 15.75 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.09403, allocations: 0 / 189 MB, free: 15.75 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.09434, allocations: 95.83 kB / 189.1 MB, free: 15.66 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.09486, allocations: 40.73 kB / 189.2 MB, free: 15.62 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.09678, allocations: 0.8412 MB / 190 MB, free: 14.73 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.09723, allocations: 0.7518 MB / 190.8 MB, free: 13.96 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.09737, allocations: 23.44 kB / 190.8 MB, free: 13.94 MB / 170.7 MB Notification: Performance of SimCode: time 1.072e-06/0.09739, allocations: 0 / 190.8 MB, free: 13.94 MB / 170.7 MB Notification: Performance of Templates: time 0.006541/0.1039, allocations: 2.473 MB / 193.3 MB, free: 11.46 MB / 170.7 MB