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_cpp_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 1.702/1.702, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.523e-05/2.534e-05, allocations: 0 / 228.1 MB, free: 7.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09044/0.09049, allocations: 38.77 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004439/0.095, allocations: 1.885 MB / 268.8 MB, free: 15.23 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.09664, allocations: 0.5069 MB / 269.3 MB, free: 14.71 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.09684, allocations: 8 kB / 269.3 MB, free: 14.71 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.818e-05/0.09696, allocations: 27.77 kB / 269.3 MB, free: 14.68 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.09729, allocations: 79.75 kB / 269.4 MB, free: 14.6 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.09757, allocations: 35.97 kB / 269.4 MB, free: 14.57 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.09798, allocations: 131.7 kB / 269.6 MB, free: 14.44 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.09822, allocations: 56.94 kB / 269.6 MB, free: 14.38 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.09845, allocations: 75.77 kB / 269.7 MB, free: 14.3 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.09871, allocations: 83.69 kB / 269.8 MB, free: 14.22 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.297e-05/0.0988, allocations: 12 kB / 269.8 MB, free: 14.21 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.09886, allocations: 8 kB / 269.8 MB, free: 14.2 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.09893, allocations: 27.84 kB / 269.8 MB, free: 14.18 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.703e-05/0.09904, allocations: 24 kB / 269.8 MB, free: 14.15 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.09941, allocations: 175.8 kB / 270 MB, free: 13.98 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09944, allocations: 4 kB / 270 MB, free: 13.98 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.09945, allocations: 0 / 270 MB, free: 13.98 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.09948, allocations: 0 / 270 MB, free: 13.98 MB / 234.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.008851/0.1083, allocations: 491.1 kB / 270.5 MB, free: 13.45 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.1084, allocations: 8.031 kB / 270.5 MB, free: 13.44 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1085, allocations: 27.72 kB / 270.5 MB, free: 13.41 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.109, allocations: 234.6 kB / 270.8 MB, free: 13.14 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/0.1091, allocations: 16.38 kB / 270.8 MB, free: 13.13 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.303e-05/0.1092, allocations: 20 kB / 270.8 MB, free: 13.11 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008765/0.1101, allocations: 225.3 kB / 271 MB, free: 12.88 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.1101, allocations: 4 kB / 271 MB, free: 12.87 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-05/0.1102, allocations: 8 kB / 271 MB, free: 12.86 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.1102, allocations: 4 kB / 271 MB, free: 12.86 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008118/0.111, allocations: 164.4 kB / 271.2 MB, free: 12.7 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006944/0.118, allocations: 0.7957 MB / 272 MB, free: 11.84 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008368/0.1189, allocations: 209 kB / 272.2 MB, free: 11.62 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.119, allocations: 0 / 272.2 MB, free: 11.62 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.119, allocations: 38.55 kB / 272.2 MB, free: 11.57 MB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 2.505e-06/0.119, allocations: 0 / 272.2 MB, free: 11.57 MB / 234.7 MB Notification: Performance of matching and sorting (n=26): time 0.003154/0.1222, allocations: 0.8804 MB / 273.1 MB, free: 10.6 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.1223, allocations: 81.11 kB / 273.2 MB, free: 10.5 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.1226, allocations: 165.7 kB / 273.3 MB, free: 10.33 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.1226, allocations: 29.7 kB / 273.4 MB, free: 10.29 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1228, allocations: 198.9 kB / 273.6 MB, free: 10.1 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.123, allocations: 94.64 kB / 273.7 MB, free: 10 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.123, allocations: 4 kB / 273.7 MB, free: 10 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1232, allocations: 330.8 kB / 274 MB, free: 9.668 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007865/0.1311, allocations: 59.97 kB / 274 MB, free: 9.609 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.1315, allocations: 120.2 kB / 274.2 MB, free: 9.477 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.132, allocations: 79.98 kB / 274.2 MB, free: 9.398 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.132, allocations: 0 / 274.2 MB, free: 9.398 MB / 234.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009861/0.133, allocations: 247.4 kB / 274.5 MB, free: 9.152 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.133, allocations: 4 kB / 274.5 MB, free: 9.148 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1331, allocations: 0 / 274.5 MB, free: 9.148 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.1331, allocations: 7.953 kB / 274.5 MB, free: 9.141 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.1337, allocations: 63.91 kB / 274.6 MB, free: 9.078 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.1338, allocations: 4 kB / 274.6 MB, free: 9.074 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.1341, allocations: 23.83 kB / 274.6 MB, free: 9.051 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.1341, allocations: 12.09 kB / 274.6 MB, free: 9.039 MB / 234.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.0002321/0.1344, allocations: 133.8 kB / 274.7 MB, free: 8.898 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.1345, allocations: 19.81 kB / 274.7 MB, free: 8.879 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.1347, allocations: 29.86 kB / 274.8 MB, free: 8.848 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.1347, allocations: 4 kB / 274.8 MB, free: 8.844 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.1347, allocations: 3.953 kB / 274.8 MB, free: 8.84 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1347, allocations: 3.938 kB / 274.8 MB, free: 8.836 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006293/0.141, allocations: 0.5865 MB / 275.4 MB, free: 8.184 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.1411, allocations: 3.953 kB / 275.4 MB, free: 8.18 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007314/0.1418, allocations: 63.91 kB / 275.4 MB, free: 8.117 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.1419, allocations: 0 / 275.4 MB, free: 8.117 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.1419, allocations: 12.09 kB / 275.5 MB, free: 8.105 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.1419, allocations: 0 / 275.5 MB, free: 8.105 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/0.142, allocations: 11.94 kB / 275.5 MB, free: 8.094 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.1435, allocations: 0.5505 MB / 276 MB, free: 7.492 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.1438, allocations: 112.8 kB / 276.1 MB, free: 7.363 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.539e-05/0.1438, allocations: 8 kB / 276.1 MB, free: 7.355 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.1443, allocations: 15.98 kB / 276.1 MB, free: 7.34 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/0.1444, allocations: 19.94 kB / 276.2 MB, free: 7.32 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.1444, allocations: 7.984 kB / 276.2 MB, free: 7.312 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0002194/0.1447, allocations: 136.2 kB / 276.3 MB, free: 7.18 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1447, allocations: 0 / 276.3 MB, free: 7.18 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007825/0.1455, allocations: 48 kB / 276.4 MB, free: 7.133 MB / 234.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 (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.0001947/0.1457, allocations: 111.2 kB / 276.5 MB, free: 7.016 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0009216/0.1466, allocations: 180.1 kB / 276.6 MB, free: 6.84 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1467, allocations: 0 / 276.6 MB, free: 6.84 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.1471, allocations: 112 kB / 276.7 MB, free: 6.73 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008253/0.1554, allocations: 28.88 kB / 276.8 MB, free: 6.703 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.158, allocations: 0.8513 MB / 277.6 MB, free: 5.805 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.1586, allocations: 0.756 MB / 278.4 MB, free: 5.023 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.1587, allocations: 23.38 kB / 278.4 MB, free: 5 MB / 234.7 MB Notification: Performance of SimCode: time 1.303e-06/0.1588, allocations: 0 / 278.4 MB, free: 5 MB / 234.7 MB Notification: Performance of Templates: time 0.008747/0.1675, allocations: 2.535 MB / 280.9 MB, free: 2.469 MB / 234.7 MB