Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 1.812/1.812, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.626e-05, allocations: 5.344 kB / 255.4 MB, free: 3.199 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 44.5 MB / 299.9 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3232/0.4298, allocations: 71.22 MB / 371.1 MB, free: 21.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4301, allocations: 63.62 kB / 371.1 MB, free: 21.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0129/0.443, allocations: 3.356 MB / 374.5 MB, free: 20.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.039e-06/0.443, allocations: 0 / 374.5 MB, free: 20.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.131e-05/0.4431, allocations: 8.812 kB / 374.5 MB, free: 20.94 MB / 314.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.0005516/0.4436, allocations: 454.6 kB / 374.9 MB, free: 20.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4437, allocations: 10.16 kB / 375 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.643e-05/0.4438, allocations: 23.31 kB / 375 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.4439, allocations: 195.6 kB / 375.2 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.4439, allocations: 20.19 kB / 375.2 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.444, allocations: 22.44 kB / 375.2 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/0.4444, allocations: 222.2 kB / 375.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.4445, allocations: 4.906 kB / 375.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.4445, allocations: 9.156 kB / 375.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.4445, allocations: 5.594 kB / 375.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.4449, allocations: 121.4 kB / 375.6 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.4462, allocations: 0.8683 MB / 376.4 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.4465, allocations: 156.7 kB / 376.6 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.4466, allocations: 60.44 kB / 376.6 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.4466, allocations: 1.156 kB / 376.6 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.4467, allocations: 40.09 kB / 376.7 MB, free: 19.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.145e-06/0.4467, allocations: 4 kB / 376.7 MB, free: 19.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003795/0.4471, allocations: 129.5 kB / 376.8 MB, free: 19.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.4471, allocations: 106.9 kB / 376.9 MB, free: 19.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.4473, allocations: 174.9 kB / 377.1 MB, free: 19.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.4473, allocations: 34.33 kB / 377.1 MB, free: 19.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.4474, allocations: 221 kB / 377.3 MB, free: 19.03 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.4475, allocations: 60.97 kB / 377.4 MB, free: 18.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.409e-05/0.4475, allocations: 7.969 kB / 377.4 MB, free: 18.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.817e-05/0.4476, allocations: 327.3 kB / 377.7 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.4477, allocations: 43.06 kB / 377.8 MB, free: 18.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.4479, allocations: 151 kB / 377.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.4481, allocations: 69.09 kB / 378 MB, free: 18.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.961e-06/0.4481, allocations: 1.094 kB / 378 MB, free: 18.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004742/0.4486, allocations: 222.9 kB / 378.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.4486, allocations: 10.19 kB / 378.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4486, allocations: 4.469 kB / 378.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.4487, allocations: 7.938 kB / 378.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.449, allocations: 57.58 kB / 378.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.449, allocations: 9.5 kB / 378.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.4492, allocations: 32.5 kB / 378.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.4493, allocations: 13.48 kB / 378.3 MB, free: 18.44 MB / 314.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 7.574e-05/0.4493, allocations: 128.9 kB / 378.5 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.4495, allocations: 25.36 kB / 378.5 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.4495, allocations: 25.86 kB / 378.5 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.839e-06/0.4496, allocations: 2.25 kB / 378.5 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.347e-06/0.4496, allocations: 1.5 kB / 378.5 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.06e-06/0.4496, allocations: 5.812 kB / 378.5 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/0.4502, allocations: 426.1 kB / 378.9 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.06e-06/0.4503, allocations: 2.188 kB / 378.9 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.4506, allocations: 38.11 kB / 379 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.437e-06/0.4506, allocations: 2.781 kB / 379 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.4507, allocations: 8.766 kB / 379 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.432e-06/0.4507, allocations: 2.312 kB / 379 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.663e-06/0.4507, allocations: 1.219 kB / 379 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.4511, allocations: 419.5 kB / 379.4 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.4512, allocations: 93.03 kB / 379.5 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.4513, allocations: 5.844 kB / 379.5 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.4515, allocations: 5.922 kB / 379.5 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.4515, allocations: 17.92 kB / 379.5 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.4516, allocations: 3.906 kB / 379.5 MB, free: 17.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.4517, allocations: 136 kB / 379.7 MB, free: 17.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.08e-07/0.4517, allocations: 0 / 379.7 MB, free: 17.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005494/0.4523, allocations: 56.88 kB / 379.7 MB, free: 17.45 MB / 314.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.0001314/0.4524, allocations: 106.5 kB / 379.8 MB, free: 17.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003324/0.4528, allocations: 130.3 kB / 379.9 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.65e-06/0.4528, allocations: 0 / 379.9 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.4529, allocations: 52.67 kB / 380 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.4533, allocations: 28.48 kB / 380 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009962/0.4543, allocations: 0.5227 MB / 380.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.4546, allocations: 0.7407 MB / 381.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.4547, allocations: 19.25 kB / 381.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.939e-06/0.4547, allocations: 1.281 kB / 381.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of Templates: time 0.004769/0.4594, allocations: 2.194 MB / 383.5 MB, free: 16.09 MB / 314.7 MB