Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 1.014/1.014, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.014e-05, allocations: 4 kB / 151.4 MB, free: 15.63 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.144, allocations: 25.15 MB / 176.5 MB, free: 24 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05773/0.2018, allocations: 33.59 MB / 210.1 MB, free: 15.9 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.202, allocations: 63.97 kB / 210.2 MB, free: 15.84 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01302/0.2151, allocations: 3.338 MB / 213.5 MB, free: 12.48 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2151, allocations: 0 / 213.5 MB, free: 12.48 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.2151, allocations: 4 kB / 213.5 MB, free: 12.48 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006865/0.2158, allocations: 458.5 kB / 214 MB, free: 11.98 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.2159, allocations: 11.97 kB / 214 MB, free: 11.97 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.41e-05/0.216, allocations: 23.77 kB / 214 MB, free: 11.95 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.2162, allocations: 191.9 kB / 214.2 MB, free: 11.72 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.2162, allocations: 16.56 kB / 214.2 MB, free: 11.71 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/0.2163, allocations: 24 kB / 214.2 MB, free: 11.68 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.2168, allocations: 223.2 kB / 214.5 MB, free: 11.45 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.2168, allocations: 3.938 kB / 214.5 MB, free: 11.44 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.2169, allocations: 12 kB / 214.5 MB, free: 11.43 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.683e-06/0.2169, allocations: 4 kB / 214.5 MB, free: 11.43 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.2173, allocations: 123.9 kB / 214.6 MB, free: 11.3 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.2189, allocations: 0.8826 MB / 215.5 MB, free: 10.36 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.2192, allocations: 143.8 kB / 215.6 MB, free: 10.19 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.2194, allocations: 62.58 kB / 215.7 MB, free: 10.12 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.2194, allocations: 4 kB / 215.7 MB, free: 10.12 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.2195, allocations: 38.48 kB / 215.7 MB, free: 10.07 MB / 186.7 MB Notification: Performance of pre-optimization done (n=17): time 3.476e-06/0.2195, allocations: 0 / 215.7 MB, free: 10.07 MB / 186.7 MB Notification: Performance of matching and sorting (n=17): time 0.000415/0.2199, allocations: 133.8 kB / 215.9 MB, free: 9.934 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/0.22, allocations: 114.8 kB / 216 MB, free: 9.797 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.2203, allocations: 171.4 kB / 216.1 MB, free: 9.621 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.2203, allocations: 25.7 kB / 216.2 MB, free: 9.59 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.2205, allocations: 222.2 kB / 216.4 MB, free: 9.371 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/0.2206, allocations: 63.09 kB / 216.4 MB, free: 9.309 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.2206, allocations: 8 kB / 216.5 MB, free: 9.301 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2208, allocations: 322.8 kB / 216.8 MB, free: 8.977 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.2209, allocations: 44.56 kB / 216.8 MB, free: 8.926 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.2211, allocations: 150.6 kB / 217 MB, free: 8.73 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.2213, allocations: 75.91 kB / 217 MB, free: 8.656 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.259e-06/0.2213, allocations: 0 / 217 MB, free: 8.656 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005183/0.2219, allocations: 209.3 kB / 217.2 MB, free: 8.445 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.2219, allocations: 12.42 kB / 217.2 MB, free: 8.434 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.2219, allocations: 4 kB / 217.3 MB, free: 8.43 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.222, allocations: 11.94 kB / 217.3 MB, free: 8.418 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.2223, allocations: 59.86 kB / 217.3 MB, free: 8.359 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.2223, allocations: 8 kB / 217.3 MB, free: 8.352 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.2225, allocations: 27.69 kB / 217.4 MB, free: 8.324 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.2226, allocations: 15.98 kB / 217.4 MB, free: 8.309 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001278/0.2227, allocations: 124.8 kB / 217.5 MB, free: 8.18 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.2229, allocations: 19.81 kB / 217.5 MB, free: 8.16 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.097e-05/0.2229, allocations: 21.53 kB / 217.5 MB, free: 8.137 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.223, allocations: 4 kB / 217.5 MB, free: 8.133 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.499e-06/0.223, allocations: 4 kB / 217.5 MB, free: 8.129 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.922e-06/0.223, allocations: 3.984 kB / 217.5 MB, free: 8.125 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008009/0.2238, allocations: 420.8 kB / 218 MB, free: 7.648 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.332e-06/0.2238, allocations: 0 / 218 MB, free: 7.648 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.2241, allocations: 39.92 kB / 218 MB, free: 7.609 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.2242, allocations: 4.094 kB / 218 MB, free: 7.605 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.2242, allocations: 8 kB / 218 MB, free: 7.598 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-06/0.2242, allocations: 7.984 kB / 218 MB, free: 7.59 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2242, allocations: 0 / 218 MB, free: 7.59 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005943/0.2248, allocations: 424.9 kB / 218.4 MB, free: 7.121 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.489e-05/0.2249, allocations: 92.97 kB / 218.5 MB, free: 7.012 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.225, allocations: 7.984 kB / 218.5 MB, free: 7.004 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.2252, allocations: 4 kB / 218.5 MB, free: 7 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.2252, allocations: 11.98 kB / 218.5 MB, free: 6.988 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.2253, allocations: 8 kB / 218.6 MB, free: 6.98 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001843/0.2255, allocations: 143.3 kB / 218.7 MB, free: 6.84 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.2255, allocations: 0 / 218.7 MB, free: 6.84 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005348/0.226, allocations: 55.84 kB / 218.7 MB, free: 6.785 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001658/0.2262, allocations: 103.2 kB / 218.8 MB, free: 6.676 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.000355/0.2266, allocations: 128.5 kB / 219 MB, free: 6.551 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.498e-06/0.2266, allocations: 192 / 219 MB, free: 6.551 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.2267, allocations: 51.94 kB / 219 MB, free: 6.5 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.2271, allocations: 29.53 kB / 219.1 MB, free: 6.473 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.2283, allocations: 0.5281 MB / 219.6 MB, free: 5.906 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.2288, allocations: 0.7363 MB / 220.3 MB, free: 5.145 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.887e-05/0.2289, allocations: 19.44 kB / 220.3 MB, free: 5.125 MB / 186.7 MB Notification: Performance of SimCode: time 2.526e-06/0.2289, allocations: 0 / 220.3 MB, free: 5.125 MB / 186.7 MB Notification: Performance of Templates: time 0.005228/0.2341, allocations: 2.196 MB / 222.5 MB, free: 2.934 MB / 186.7 MB