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_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 1.93/1.93, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.015e-05, allocations: 4 kB / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 44.5 MB / 299.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3847/0.4898, allocations: 71.22 MB / 371.1 MB, free: 21.94 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.4901, allocations: 65.34 kB / 371.2 MB, free: 21.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01258/0.5027, allocations: 3.359 MB / 374.5 MB, free: 21.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.05e-06/0.5027, allocations: 0 / 374.5 MB, free: 21.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.5027, allocations: 4.531 kB / 374.5 MB, free: 21.37 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.0005486/0.5033, allocations: 455.8 kB / 375 MB, free: 20.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5033, allocations: 12.19 kB / 375 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/0.5034, allocations: 28.06 kB / 375 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.5035, allocations: 187.8 kB / 375.2 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.5036, allocations: 16.62 kB / 375.2 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.5037, allocations: 21.91 kB / 375.2 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.5041, allocations: 224 kB / 375.4 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.5041, allocations: 5.062 kB / 375.5 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.5042, allocations: 9.156 kB / 375.5 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.5042, allocations: 5.75 kB / 375.5 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.5045, allocations: 123.1 kB / 375.6 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.5058, allocations: 0.8621 MB / 376.5 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.5061, allocations: 155.2 kB / 376.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.5062, allocations: 59.09 kB / 376.7 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.5062, allocations: 7.625 kB / 376.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.5063, allocations: 44.62 kB / 376.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.875e-06/0.5063, allocations: 0 / 376.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003888/0.5067, allocations: 128.7 kB / 376.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.5067, allocations: 107.3 kB / 376.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.5069, allocations: 175.2 kB / 377.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.507, allocations: 26.77 kB / 377.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/0.5071, allocations: 161.3 kB / 377.3 MB, free: 19.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.5071, allocations: 64.56 kB / 377.4 MB, free: 19.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.5071, allocations: 12.19 kB / 377.4 MB, free: 19.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.294e-05/0.5072, allocations: 327.3 kB / 377.7 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.5074, allocations: 43.66 kB / 377.7 MB, free: 19.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.5075, allocations: 152 kB / 377.9 MB, free: 19.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.5077, allocations: 65.19 kB / 377.9 MB, free: 19.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.977e-06/0.5077, allocations: 1.906 kB / 377.9 MB, free: 19.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004726/0.5082, allocations: 239 kB / 378.2 MB, free: 18.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5082, allocations: 13.62 kB / 378.2 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.381e-06/0.5083, allocations: 2.656 kB / 378.2 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.5083, allocations: 6.25 kB / 378.2 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.5086, allocations: 57.28 kB / 378.3 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.5086, allocations: 6.719 kB / 378.3 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.5088, allocations: 30.16 kB / 378.3 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.5088, allocations: 16.84 kB / 378.3 MB, free: 18.93 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.355e-05/0.5089, allocations: 124.8 kB / 378.4 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.509, allocations: 27.08 kB / 378.5 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.098e-05/0.5091, allocations: 25.36 kB / 378.5 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.178e-06/0.5091, allocations: 2.469 kB / 378.5 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.5092, allocations: 5.094 kB / 378.5 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.817e-06/0.5092, allocations: 2.891 kB / 378.5 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/0.5098, allocations: 423.7 kB / 378.9 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.405e-06/0.5098, allocations: 2.125 kB / 378.9 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.5101, allocations: 39.67 kB / 378.9 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.893e-06/0.5101, allocations: 2 kB / 379 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.5102, allocations: 6.125 kB / 379 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.003e-06/0.5102, allocations: 2.375 kB / 379 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.239e-06/0.5102, allocations: 5.125 kB / 379 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004277/0.5106, allocations: 413.8 kB / 379.4 MB, free: 18.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.5107, allocations: 97.16 kB / 379.5 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.5107, allocations: 8.625 kB / 379.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.511, allocations: 8.547 kB / 379.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.511, allocations: 10.03 kB / 379.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.5111, allocations: 12 kB / 379.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.5112, allocations: 135.3 kB / 379.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.5112, allocations: 0 / 379.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005382/0.5118, allocations: 54.5 kB / 379.7 MB, free: 17.93 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.0001274/0.5119, allocations: 105.5 kB / 379.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.5122, allocations: 130.2 kB / 379.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.863e-06/0.5122, allocations: 1.375 kB / 379.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.5124, allocations: 48.09 kB / 380 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.5128, allocations: 27.11 kB / 380 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009464/0.5137, allocations: 0.493 MB / 380.5 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.5139, allocations: 0.7428 MB / 381.2 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.5141, allocations: 24.88 kB / 381.3 MB, free: 16.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.5141, allocations: 17.38 kB / 381.3 MB, free: 16.76 MB / 314.7 MB Notification: Performance of SimCode: time 2.29e-06/0.5142, allocations: 0 / 381.3 MB, free: 16.76 MB / 314.7 MB Notification: Performance of Templates: time 0.005384/0.5196, allocations: 1.388 MB / 382.7 MB, free: 16.64 MB / 314.7 MB