Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 0.9533/0.9533, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.687e-05/2.704e-05, allocations: 4 kB / 151.4 MB, free: 15.64 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.141, allocations: 25.16 MB / 176.5 MB, free: 20 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05176/0.1928, allocations: 33.54 MB / 210.1 MB, free: 15.95 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.193, allocations: 59.97 kB / 210.1 MB, free: 15.89 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01122/0.2043, allocations: 2.823 MB / 213 MB, free: 13.06 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.322e-06/0.2043, allocations: 0 / 213 MB, free: 13.06 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.2043, allocations: 4 kB / 213 MB, free: 13.05 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0005888/0.2049, allocations: 430 kB / 213.4 MB, free: 12.59 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.205, allocations: 12.03 kB / 213.4 MB, free: 12.58 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.91e-05/0.2051, allocations: 23.77 kB / 213.4 MB, free: 12.55 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.2053, allocations: 203 kB / 213.6 MB, free: 12.32 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.2054, allocations: 16 kB / 213.6 MB, free: 12.3 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/0.2054, allocations: 19.98 kB / 213.7 MB, free: 12.28 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.2058, allocations: 176.1 kB / 213.8 MB, free: 12.09 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.2059, allocations: 7.891 kB / 213.8 MB, free: 12.09 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.2059, allocations: 8 kB / 213.8 MB, free: 12.08 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.954e-06/0.2059, allocations: 4 kB / 213.8 MB, free: 12.07 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.2062, allocations: 99.88 kB / 213.9 MB, free: 11.98 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.2077, allocations: 0.764 MB / 214.7 MB, free: 11.14 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.208, allocations: 115.8 kB / 214.8 MB, free: 11 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.2081, allocations: 50.73 kB / 214.9 MB, free: 10.95 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.2082, allocations: 4 kB / 214.9 MB, free: 10.94 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.2082, allocations: 34.5 kB / 214.9 MB, free: 10.9 MB / 186.7 MB Notification: Performance of pre-optimization done (n=13): time 2.978e-06/0.2082, allocations: 0 / 214.9 MB, free: 10.9 MB / 186.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003574/0.2086, allocations: 109.5 kB / 215 MB, free: 10.79 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.2087, allocations: 106.8 kB / 215.1 MB, free: 10.66 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.2089, allocations: 193.9 kB / 215.3 MB, free: 10.46 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.209, allocations: 29.7 kB / 215.3 MB, free: 10.42 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.2091, allocations: 194.4 kB / 215.5 MB, free: 10.23 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.2092, allocations: 55.2 kB / 215.6 MB, free: 10.17 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.2092, allocations: 4 kB / 215.6 MB, free: 10.17 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2094, allocations: 326.8 kB / 215.9 MB, free: 9.84 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.2095, allocations: 32.47 kB / 215.9 MB, free: 9.805 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.2097, allocations: 129 kB / 216.1 MB, free: 9.637 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.2099, allocations: 60 kB / 216.1 MB, free: 9.578 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.643e-06/0.2099, allocations: 0 / 216.1 MB, free: 9.578 MB / 186.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004185/0.2103, allocations: 193.2 kB / 216.3 MB, free: 9.383 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2103, allocations: 4 kB / 216.3 MB, free: 9.379 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.658e-06/0.2104, allocations: 4 kB / 216.3 MB, free: 9.375 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.2104, allocations: 8 kB / 216.3 MB, free: 9.367 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.2106, allocations: 43.92 kB / 216.4 MB, free: 9.324 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.855e-05/0.2107, allocations: 7.984 kB / 216.4 MB, free: 9.316 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.2108, allocations: 27.69 kB / 216.4 MB, free: 9.289 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.2109, allocations: 12.34 kB / 216.4 MB, free: 9.277 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001069/0.211, allocations: 120.9 kB / 216.5 MB, free: 9.152 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.2111, allocations: 19.77 kB / 216.6 MB, free: 9.133 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.13e-05/0.2112, allocations: 28.98 kB / 216.6 MB, free: 9.105 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.563e-06/0.2112, allocations: 0 / 216.6 MB, free: 9.105 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.805e-06/0.2112, allocations: 0 / 216.6 MB, free: 9.105 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2112, allocations: 4 kB / 216.6 MB, free: 9.102 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006135/0.2119, allocations: 245.5 kB / 216.8 MB, free: 8.812 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.464e-06/0.2119, allocations: 0 / 216.8 MB, free: 8.812 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.2121, allocations: 31.92 kB / 216.9 MB, free: 8.781 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.726e-06/0.2121, allocations: 8 kB / 216.9 MB, free: 8.773 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.2122, allocations: 7.953 kB / 216.9 MB, free: 8.766 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.2122, allocations: 4 kB / 216.9 MB, free: 8.762 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.049e-06/0.2122, allocations: 0 / 216.9 MB, free: 8.762 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004853/0.2127, allocations: 421.2 kB / 217.3 MB, free: 8.316 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/0.2128, allocations: 92.86 kB / 217.4 MB, free: 8.207 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.2128, allocations: 4.062 kB / 217.4 MB, free: 8.203 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.2131, allocations: 4 kB / 217.4 MB, free: 8.199 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.2131, allocations: 7.984 kB / 217.4 MB, free: 8.191 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.2131, allocations: 4 kB / 217.4 MB, free: 8.188 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001869/0.2133, allocations: 156.4 kB / 217.5 MB, free: 8.035 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.2133, allocations: 0 / 217.5 MB, free: 8.035 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005139/0.2139, allocations: 39.91 kB / 217.6 MB, free: 7.996 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0001548/0.214, allocations: 107.2 kB / 217.7 MB, free: 7.879 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.2143, allocations: 103.8 kB / 217.8 MB, free: 7.777 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2143, allocations: 0 / 217.8 MB, free: 7.777 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 8.42e-05/0.2144, allocations: 35.94 kB / 217.8 MB, free: 7.742 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.2149, allocations: 36.19 kB / 217.9 MB, free: 7.711 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.216, allocations: 0.5938 MB / 218.5 MB, free: 7.086 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.2165, allocations: 0.7324 MB / 219.2 MB, free: 6.328 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.2166, allocations: 19.44 kB / 219.2 MB, free: 6.309 MB / 186.7 MB Notification: Performance of SimCode: time 1.612e-06/0.2166, allocations: 0 / 219.2 MB, free: 6.309 MB / 186.7 MB Notification: Performance of Templates: time 0.004432/0.221, allocations: 1.949 MB / 221.2 MB, free: 4.359 MB / 186.7 MB