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.1_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 1.697/1.697, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.645e-05/2.675e-05, allocations: 2.188 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0823/0.08235, allocations: 38.78 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002874/0.08529, allocations: 1.737 MB / 268.7 MB, free: 14.72 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004736/0.08582, allocations: 187.6 kB / 268.8 MB, free: 14.54 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.358e-05/0.08593, allocations: 4 kB / 268.8 MB, free: 14.54 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.842e-05/0.08601, allocations: 27.78 kB / 268.9 MB, free: 14.51 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.08621, allocations: 63.83 kB / 268.9 MB, free: 14.45 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.08637, allocations: 35.97 kB / 269 MB, free: 14.41 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.0866, allocations: 119.7 kB / 269.1 MB, free: 14.29 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.0868, allocations: 61.59 kB / 269.1 MB, free: 14.23 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.08692, allocations: 59.86 kB / 269.2 MB, free: 14.17 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.0871, allocations: 75.69 kB / 269.3 MB, free: 14.1 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.819e-05/0.08716, allocations: 8 kB / 269.3 MB, free: 14.09 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.0872, allocations: 11.98 kB / 269.3 MB, free: 14.08 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.08726, allocations: 31.84 kB / 269.3 MB, free: 14.05 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.744e-05/0.08733, allocations: 24 kB / 269.3 MB, free: 14.02 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.08762, allocations: 183.7 kB / 269.5 MB, free: 13.84 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.08763, allocations: 0 / 269.5 MB, free: 13.84 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.08765, allocations: 8 kB / 269.5 MB, free: 13.84 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.08767, allocations: 0 / 269.5 MB, free: 13.84 MB / 234.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.000869/0.08855, allocations: 467.3 kB / 270 MB, free: 13.33 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.0886, allocations: 8.031 kB / 270 MB, free: 13.32 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.486e-05/0.08869, allocations: 31.72 kB / 270 MB, free: 13.29 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.08898, allocations: 210.7 kB / 270.2 MB, free: 13.05 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.08902, allocations: 20.52 kB / 270.3 MB, free: 13.03 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/0.08909, allocations: 24 kB / 270.3 MB, free: 13 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.08964, allocations: 232.2 kB / 270.5 MB, free: 12.76 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.08968, allocations: 4 kB / 270.5 MB, free: 12.76 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.08972, allocations: 4 kB / 270.5 MB, free: 12.75 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.08975, allocations: 12 kB / 270.5 MB, free: 12.74 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.09014, allocations: 135.8 kB / 270.7 MB, free: 12.61 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.09173, allocations: 0.8598 MB / 271.5 MB, free: 11.69 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.09211, allocations: 159.9 kB / 271.7 MB, free: 11.5 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.09215, allocations: 4 kB / 271.7 MB, free: 11.5 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.0922, allocations: 42.44 kB / 271.7 MB, free: 11.45 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 2.274e-06/0.09221, allocations: 0 / 271.7 MB, free: 11.45 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005216/0.09274, allocations: 165.5 kB / 271.9 MB, free: 11.28 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.09284, allocations: 102.8 kB / 272 MB, free: 11.16 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.0931, allocations: 185.5 kB / 272.2 MB, free: 10.97 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.09313, allocations: 25.7 kB / 272.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.09329, allocations: 159.8 kB / 272.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.433e-05/0.09337, allocations: 67.02 kB / 272.4 MB, free: 10.71 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.0934, allocations: 4 kB / 272.4 MB, free: 10.71 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.09357, allocations: 330.8 kB / 272.7 MB, free: 10.38 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.09372, allocations: 44.48 kB / 272.8 MB, free: 10.33 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.09397, allocations: 154.8 kB / 272.9 MB, free: 10.13 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.09419, allocations: 76.55 kB / 273 MB, free: 10.05 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.0942, allocations: 3.938 kB / 273 MB, free: 10.05 MB / 234.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005794/0.09479, allocations: 237.1 kB / 273.2 MB, free: 9.812 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.09483, allocations: 8 kB / 273.2 MB, free: 9.805 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.09485, allocations: 7.984 kB / 273.3 MB, free: 9.797 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.09488, allocations: 7.953 kB / 273.3 MB, free: 9.789 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.09531, allocations: 59.92 kB / 273.3 MB, free: 9.73 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.09534, allocations: 8.375 kB / 273.3 MB, free: 9.723 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.09557, allocations: 35.69 kB / 273.4 MB, free: 9.688 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.09561, allocations: 12 kB / 273.4 MB, free: 9.676 MB / 234.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.0001715/0.09579, allocations: 137.8 kB / 273.5 MB, free: 9.531 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.0959, allocations: 15.81 kB / 273.5 MB, free: 9.516 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/0.09598, allocations: 21.41 kB / 273.5 MB, free: 9.492 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.096, allocations: 7.953 kB / 273.6 MB, free: 9.484 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.09602, allocations: 0 / 273.6 MB, free: 9.484 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.09603, allocations: 7.984 kB / 273.6 MB, free: 9.477 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007918/0.09683, allocations: 420.9 kB / 274 MB, free: 9 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.09686, allocations: 4 kB / 274 MB, free: 8.996 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.09723, allocations: 39.88 kB / 274 MB, free: 8.957 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.09725, allocations: 4 kB / 274 MB, free: 8.953 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.09728, allocations: 11.98 kB / 274 MB, free: 8.941 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.0973, allocations: 0 / 274 MB, free: 8.941 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.09731, allocations: 0 / 274 MB, free: 8.941 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.09791, allocations: 424.5 kB / 274.4 MB, free: 8.473 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.84e-05/0.09802, allocations: 104.8 kB / 274.5 MB, free: 8.352 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.09808, allocations: 8.031 kB / 274.6 MB, free: 8.344 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.0983, allocations: 4 kB / 274.6 MB, free: 8.34 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.09835, allocations: 19.88 kB / 274.6 MB, free: 8.32 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.09838, allocations: 4 kB / 274.6 MB, free: 8.316 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001695/0.09856, allocations: 140.3 kB / 274.7 MB, free: 8.18 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.09857, allocations: 0 / 274.7 MB, free: 8.18 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004781/0.09905, allocations: 48 kB / 274.8 MB, free: 8.133 MB / 234.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.0001444/0.09921, allocations: 111.2 kB / 274.9 MB, free: 8.016 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003865/0.09961, allocations: 139.7 kB / 275 MB, free: 7.879 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.09963, allocations: 0 / 275 MB, free: 7.879 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.09977, allocations: 56.73 kB / 275.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.1002, allocations: 34.33 kB / 275.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.1017, allocations: 0.7029 MB / 275.8 MB, free: 7.051 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.1021, allocations: 0.7401 MB / 276.5 MB, free: 6.285 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.1023, allocations: 17.95 kB / 276.6 MB, free: 6.27 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.1024, allocations: 19.44 kB / 276.6 MB, free: 6.25 MB / 234.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1024, allocations: 0 / 276.6 MB, free: 6.25 MB / 234.7 MB Notification: Performance of Templates: time 0.005991/0.1084, allocations: 1.415 MB / 278 MB, free: 4.836 MB / 234.7 MB