Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadModel(Modelica): time 1.085/1.085, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.944e-05/2.963e-05, allocations: 4 kB / 151.4 MB, free: 15.63 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1444, allocations: 25.16 MB / 176.5 MB, free: 16 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05316/0.1976, allocations: 33.63 MB / 210.2 MB, free: 15.86 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.1979, allocations: 59.97 kB / 210.2 MB, free: 15.8 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0176/0.2155, allocations: 4.251 MB / 214.5 MB, free: 11.53 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.646e-06/0.2156, allocations: 0 / 214.5 MB, free: 11.53 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.2156, allocations: 4 kB / 214.5 MB, free: 11.52 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0007935/0.2164, allocations: 490.4 kB / 215 MB, free: 11 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.2164, allocations: 12.03 kB / 215 MB, free: 10.99 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.581e-05/0.2165, allocations: 23.72 kB / 215 MB, free: 10.96 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.2168, allocations: 199.5 kB / 215.2 MB, free: 10.73 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.2168, allocations: 20.56 kB / 215.2 MB, free: 10.71 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.2169, allocations: 27.98 kB / 215.2 MB, free: 10.68 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.2174, allocations: 230.5 kB / 215.5 MB, free: 10.44 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.2175, allocations: 0 / 215.5 MB, free: 10.44 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.2175, allocations: 12 kB / 215.5 MB, free: 10.43 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.464e-06/0.2175, allocations: 4 kB / 215.5 MB, free: 10.43 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.2179, allocations: 152.4 kB / 215.6 MB, free: 10.28 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.2193, allocations: 0.7186 MB / 216.4 MB, free: 9.504 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.2198, allocations: 213.4 kB / 216.6 MB, free: 9.277 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.22, allocations: 109.9 kB / 216.7 MB, free: 9.164 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.2201, allocations: 4 kB / 216.7 MB, free: 9.16 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.2201, allocations: 38.56 kB / 216.7 MB, free: 9.113 MB / 186.7 MB Notification: Performance of pre-optimization done (n=30): time 3.251e-06/0.2201, allocations: 0 / 216.7 MB, free: 9.113 MB / 186.7 MB Notification: Performance of matching and sorting (n=42): time 0.003351/0.2235, allocations: 1.534 MB / 218.2 MB, free: 7.402 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.2236, allocations: 85.11 kB / 218.3 MB, free: 7.301 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.2238, allocations: 155.2 kB / 218.5 MB, free: 7.141 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.2239, allocations: 33.7 kB / 218.5 MB, free: 7.102 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.224, allocations: 203 kB / 218.7 MB, free: 6.902 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.2242, allocations: 153.8 kB / 218.9 MB, free: 6.75 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.2242, allocations: 4 kB / 218.9 MB, free: 6.746 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.2244, allocations: 326.8 kB / 219.2 MB, free: 6.418 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.2247, allocations: 88.88 kB / 219.3 MB, free: 6.332 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.225, allocations: 142.8 kB / 219.4 MB, free: 6.184 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.2252, allocations: 111.8 kB / 219.5 MB, free: 6.074 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.66e-06/0.2253, allocations: 0 / 219.5 MB, free: 6.074 MB / 186.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006908/0.226, allocations: 313.2 kB / 219.8 MB, free: 5.762 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.226, allocations: 4.781 kB / 219.8 MB, free: 5.758 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.339e-06/0.226, allocations: 0 / 219.8 MB, free: 5.758 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.226, allocations: 4 kB / 219.8 MB, free: 5.754 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/0.2266, allocations: 95.84 kB / 219.9 MB, free: 5.66 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.2266, allocations: 8.016 kB / 219.9 MB, free: 5.652 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.2268, allocations: 8 kB / 219.9 MB, free: 5.645 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.2268, allocations: 19.92 kB / 220 MB, free: 5.625 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001406/0.227, allocations: 121.4 kB / 220.1 MB, free: 5.5 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.2271, allocations: 27.72 kB / 220.1 MB, free: 5.473 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.838e-05/0.2272, allocations: 33.66 kB / 220.1 MB, free: 5.438 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.2272, allocations: 4 kB / 220.1 MB, free: 5.434 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.209e-06/0.2273, allocations: 0 / 220.1 MB, free: 5.434 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.2273, allocations: 11.92 kB / 220.2 MB, free: 5.422 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.2291, allocations: 0.8921 MB / 221 MB, free: 4.469 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.306e-06/0.2291, allocations: 0 / 221 MB, free: 4.469 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000585/0.2297, allocations: 91.84 kB / 221.1 MB, free: 4.379 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.2298, allocations: 4 kB / 221.1 MB, free: 4.375 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.2298, allocations: 8 kB / 221.1 MB, free: 4.367 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.148e-06/0.2298, allocations: 4 kB / 221.2 MB, free: 4.363 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.6e-06/0.2298, allocations: 0 / 221.2 MB, free: 4.363 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.2309, allocations: 0.612 MB / 221.8 MB, free: 3.703 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.231, allocations: 100.8 kB / 221.9 MB, free: 3.586 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.2311, allocations: 12 kB / 221.9 MB, free: 3.574 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.2313, allocations: 4 kB / 221.9 MB, free: 3.57 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.2314, allocations: 31.92 kB / 221.9 MB, free: 3.539 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.2314, allocations: 12 kB / 221.9 MB, free: 3.527 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001499/0.2316, allocations: 128.3 kB / 222 MB, free: 3.402 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.2316, allocations: 0 / 222 MB, free: 3.402 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.000529/0.2322, allocations: 72 kB / 222.1 MB, free: 3.332 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0001874/0.2324, allocations: 115.3 kB / 222.2 MB, free: 3.211 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0006097/0.233, allocations: 239.9 kB / 222.5 MB, free: 2.977 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.274e-06/0.233, allocations: 7.938 kB / 222.5 MB, free: 2.969 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.2333, allocations: 139.8 kB / 222.6 MB, free: 2.832 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.2339, allocations: 49.89 kB / 222.7 MB, free: 2.785 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.2356, allocations: 0.8824 MB / 223.5 MB, free: 1.863 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/0.2362, allocations: 0.7761 MB / 224.3 MB, free: 1.062 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.2363, allocations: 27.44 kB / 224.3 MB, free: 1.039 MB / 186.7 MB Notification: Performance of SimCode: time 1.867e-06/0.2363, allocations: 0 / 224.3 MB, free: 1.039 MB / 186.7 MB Notification: Performance of Templates: time 0.006932/0.2432, allocations: 3.277 MB / 227.6 MB, free: 13.76 MB / 202.7 MB