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_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 2.113/2.113, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.739e-05, allocations: 4 kB / 292.1 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09015/0.09021, allocations: 50.41 MB / 342.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3879/0.4782, allocations: 76.88 MB / 419.4 MB, free: 1.281 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.4784, allocations: 66.45 kB / 419.5 MB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01355/0.492, allocations: 3.584 MB / 423.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.49e-06/0.492, allocations: 0 / 423.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.492, allocations: 6.844 kB / 423.1 MB, free: 14.18 MB / 346.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.0006546/0.4927, allocations: 457.1 kB / 423.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4928, allocations: 8.031 kB / 423.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.4929, allocations: 31.67 kB / 423.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.4931, allocations: 186.8 kB / 423.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.4931, allocations: 15.38 kB / 423.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.4932, allocations: 22 kB / 423.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007206/0.4939, allocations: 222.4 kB / 424 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.494, allocations: 3.906 kB / 424 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.494, allocations: 14.5 kB / 424 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.4941, allocations: 11.98 kB / 424 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005189/0.4946, allocations: 127 kB / 424.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.4962, allocations: 0.8652 MB / 425 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.4965, allocations: 144.8 kB / 425.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.4966, allocations: 59.58 kB / 425.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.4967, allocations: 4 kB / 425.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.4967, allocations: 45.05 kB / 425.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.169e-06/0.4967, allocations: 0 / 425.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004151/0.4972, allocations: 126.4 kB / 425.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/0.4973, allocations: 110.8 kB / 425.5 MB, free: 11.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.4975, allocations: 176 kB / 425.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.4976, allocations: 28.58 kB / 425.7 MB, free: 11.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.4977, allocations: 158.1 kB / 425.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.228e-05/0.4978, allocations: 70.39 kB / 425.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.4978, allocations: 3.312 kB / 425.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.498, allocations: 332.5 kB / 426.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.4981, allocations: 46.19 kB / 426.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.4983, allocations: 153.4 kB / 426.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.4985, allocations: 69.72 kB / 426.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4985, allocations: 4 kB / 426.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004996/0.499, allocations: 225.6 kB / 426.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.4991, allocations: 8 kB / 426.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.986e-06/0.4991, allocations: 4 kB / 426.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.4991, allocations: 4 kB / 426.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.4994, allocations: 59.86 kB / 426.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.4995, allocations: 7.984 kB / 426.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.4997, allocations: 35.31 kB / 426.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.4997, allocations: 16 kB / 426.9 MB, free: 10.54 MB / 346.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.0001136/0.4998, allocations: 123.7 kB / 427 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.5, allocations: 23.72 kB / 427 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.733e-05/0.5, allocations: 27.64 kB / 427 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.57e-06/0.5001, allocations: 0 / 427 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.59e-06/0.5001, allocations: 4 kB / 427.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.089e-06/0.5001, allocations: 4.031 kB / 427.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007577/0.5009, allocations: 426.1 kB / 427.5 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.253e-06/0.5009, allocations: 0 / 427.5 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.5012, allocations: 43.91 kB / 427.5 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.984e-06/0.5012, allocations: 0 / 427.5 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.5013, allocations: 7.375 kB / 427.5 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.34e-06/0.5013, allocations: 4 kB / 427.5 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.523e-06/0.5013, allocations: 0 / 427.5 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000595/0.5019, allocations: 415.7 kB / 427.9 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.081e-05/0.502, allocations: 100.8 kB / 428 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.5021, allocations: 8 kB / 428 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.5023, allocations: 7.062 kB / 428 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.5023, allocations: 11.92 kB / 428.1 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.5023, allocations: 8 kB / 428.1 MB, free: 9.328 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001575/0.5025, allocations: 134.8 kB / 428.2 MB, free: 9.215 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.5025, allocations: 0 / 428.2 MB, free: 9.215 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009345/0.5035, allocations: 62.22 kB / 428.3 MB, free: 9.16 MB / 346.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.0002314/0.5037, allocations: 114.4 kB / 428.4 MB, free: 9.043 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005413/0.5043, allocations: 122.6 kB / 428.5 MB, free: 8.953 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.392e-06/0.5043, allocations: 11.81 kB / 428.5 MB, free: 8.941 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.5045, allocations: 49.92 kB / 428.6 MB, free: 8.902 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007393/0.5053, allocations: 32.06 kB / 428.6 MB, free: 8.883 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.5073, allocations: 497.4 kB / 429.1 MB, free: 8.391 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.5079, allocations: 0.7402 MB / 429.8 MB, free: 7.625 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000225/0.5081, allocations: 22.06 kB / 429.8 MB, free: 7.605 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.241e-05/0.5082, allocations: 19.44 kB / 429.8 MB, free: 7.59 MB / 346.7 MB Notification: Performance of SimCode: time 2.477e-06/0.5083, allocations: 0 / 429.8 MB, free: 7.59 MB / 346.7 MB Notification: Performance of Templates: time 0.008921/0.5172, allocations: 1.386 MB / 431.2 MB, free: 6.215 MB / 346.7 MB