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.3_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 2.188/2.188, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.91e-05/2.922e-05, allocations: 0 / 269.3 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.09139, allocations: 47.58 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3442/0.4357, allocations: 75.5 MB / 392.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.4359, allocations: 66.84 kB / 392.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0132/0.4491, allocations: 3.455 MB / 395.9 MB, free: 9.559 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.936e-06/0.4492, allocations: 0 / 395.9 MB, free: 9.559 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.4492, allocations: 4 kB / 395.9 MB, free: 9.555 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.0006534/0.4499, allocations: 456.8 kB / 396.4 MB, free: 9.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4499, allocations: 8.031 kB / 396.4 MB, free: 9.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.45, allocations: 23.72 kB / 396.4 MB, free: 9.047 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.4502, allocations: 182.8 kB / 396.6 MB, free: 8.828 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.4503, allocations: 22 kB / 396.6 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.4503, allocations: 29.95 kB / 396.7 MB, free: 8.789 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.4508, allocations: 224.7 kB / 396.9 MB, free: 8.617 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.4509, allocations: 0 / 396.9 MB, free: 8.617 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.4509, allocations: 14.5 kB / 396.9 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.4509, allocations: 8 kB / 396.9 MB, free: 8.602 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.4512, allocations: 123.4 kB / 397 MB, free: 8.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.4528, allocations: 0.8705 MB / 397.9 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.4531, allocations: 155.5 kB / 398 MB, free: 7.551 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.4532, allocations: 57.7 kB / 398.1 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.4533, allocations: 3.984 kB / 398.1 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.4533, allocations: 37.5 kB / 398.1 MB, free: 7.453 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.119e-06/0.4533, allocations: 0 / 398.1 MB, free: 7.453 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004154/0.4538, allocations: 133.2 kB / 398.3 MB, free: 7.336 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.4539, allocations: 106.8 kB / 398.4 MB, free: 7.207 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.4541, allocations: 179.4 kB / 398.5 MB, free: 7.051 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.4542, allocations: 29.08 kB / 398.6 MB, free: 7.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.4543, allocations: 156.8 kB / 398.7 MB, free: 6.875 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.532e-05/0.4544, allocations: 62.22 kB / 398.8 MB, free: 6.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/0.4544, allocations: 6.375 kB / 398.8 MB, free: 6.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4546, allocations: 324.4 kB / 399.1 MB, free: 6.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.4548, allocations: 52.12 kB / 399.2 MB, free: 6.461 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.455, allocations: 144.4 kB / 399.3 MB, free: 6.293 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.4552, allocations: 80.73 kB / 399.4 MB, free: 6.234 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.243e-06/0.4552, allocations: 0 / 399.4 MB, free: 6.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005192/0.4557, allocations: 227.5 kB / 399.6 MB, free: 6.047 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.4558, allocations: 8.062 kB / 399.6 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.4558, allocations: 4.656 kB / 399.6 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.4558, allocations: 8 kB / 399.6 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.4561, allocations: 59.86 kB / 399.7 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.4562, allocations: 11.94 kB / 399.7 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.4564, allocations: 31.53 kB / 399.7 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.4564, allocations: 15.56 kB / 399.7 MB, free: 5.918 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 0.0001174/0.4565, allocations: 124.3 kB / 399.9 MB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.4567, allocations: 19.81 kB / 399.9 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.834e-05/0.4568, allocations: 24.89 kB / 399.9 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.633e-06/0.4568, allocations: 4 kB / 399.9 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.322e-06/0.4568, allocations: 3.953 kB / 399.9 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4568, allocations: 0 / 399.9 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007976/0.4576, allocations: 414.8 kB / 400.3 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.4576, allocations: 7.984 kB / 400.3 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.4579, allocations: 40.02 kB / 400.4 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/0.458, allocations: 7.953 kB / 400.4 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.458, allocations: 3.25 kB / 400.4 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.217e-06/0.458, allocations: 4 kB / 400.4 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.576e-06/0.458, allocations: 0 / 400.4 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005451/0.4586, allocations: 427.5 kB / 400.8 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.222e-05/0.4587, allocations: 92.95 kB / 400.9 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.4587, allocations: 11.81 kB / 400.9 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.4589, allocations: 3.938 kB / 400.9 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.459, allocations: 19.94 kB / 400.9 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.459, allocations: 4 kB / 400.9 MB, free: 4.711 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.4592, allocations: 139.8 kB / 401.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.4592, allocations: 0 / 401.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005313/0.4598, allocations: 55.53 kB / 401.1 MB, free: 4.547 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.0001629/0.4599, allocations: 107.2 kB / 401.2 MB, free: 4.434 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.4603, allocations: 131.7 kB / 401.3 MB, free: 4.336 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4603, allocations: 0 / 401.3 MB, free: 4.336 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.4604, allocations: 55.05 kB / 401.4 MB, free: 4.293 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.4608, allocations: 23.55 kB / 401.4 MB, free: 4.277 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.462, allocations: 0.4893 MB / 401.9 MB, free: 3.781 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.4624, allocations: 0.7402 MB / 402.7 MB, free: 3.012 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000136/0.4626, allocations: 22.06 kB / 402.7 MB, free: 2.988 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.4627, allocations: 19.44 kB / 402.7 MB, free: 2.973 MB / 314.7 MB Notification: Performance of SimCode: time 1.627e-06/0.4627, allocations: 4 kB / 402.7 MB, free: 2.969 MB / 314.7 MB Notification: Performance of Templates: time 0.005672/0.4684, allocations: 1.393 MB / 404.1 MB, free: 1.586 MB / 314.7 MB