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_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 1.82/1.82, allocations: 171.2 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.856e-05/3.849e-05, allocations: 0 / 228.1 MB, free: 8 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 38.77 MB / 266.9 MB, free: 1.148 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003994/0.1095, allocations: 1.739 MB / 268.6 MB, free: 15.39 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000786/0.1104, allocations: 187.5 kB / 268.8 MB, free: 15.21 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.1106, allocations: 4 kB / 268.8 MB, free: 15.2 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.1107, allocations: 27.83 kB / 268.8 MB, free: 15.18 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.111, allocations: 55.8 kB / 268.9 MB, free: 15.12 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.1112, allocations: 43.95 kB / 268.9 MB, free: 15.08 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.1116, allocations: 115.7 kB / 269 MB, free: 14.96 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.1119, allocations: 69.58 kB / 269.1 MB, free: 14.89 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.112, allocations: 51.92 kB / 269.2 MB, free: 14.84 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.1123, allocations: 79.67 kB / 269.2 MB, free: 14.77 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.862e-05/0.1124, allocations: 8 kB / 269.3 MB, free: 14.76 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.266e-05/0.1125, allocations: 11.94 kB / 269.3 MB, free: 14.75 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.1125, allocations: 27.86 kB / 269.3 MB, free: 14.72 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.424e-05/0.1126, allocations: 24 kB / 269.3 MB, free: 14.7 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.1131, allocations: 191.7 kB / 269.5 MB, free: 14.51 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1131, allocations: 0 / 269.5 MB, free: 14.51 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1131, allocations: 4 kB / 269.5 MB, free: 14.5 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.1132, allocations: 0 / 269.5 MB, free: 14.5 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.001223/0.1144, allocations: 475.3 kB / 270 MB, free: 13.99 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.1145, allocations: 8.031 kB / 270 MB, free: 13.98 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.1146, allocations: 27.72 kB / 270 MB, free: 13.96 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.115, allocations: 210.7 kB / 270.2 MB, free: 13.71 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.1151, allocations: 20.52 kB / 270.2 MB, free: 13.69 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-05/0.1152, allocations: 24 kB / 270.3 MB, free: 13.67 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007817/0.116, allocations: 224.3 kB / 270.5 MB, free: 13.43 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.116, allocations: 4 kB / 270.5 MB, free: 13.43 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.64e-05/0.1161, allocations: 8 kB / 270.5 MB, free: 13.42 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.1161, allocations: 8 kB / 270.5 MB, free: 13.41 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.1166, allocations: 135.8 kB / 270.6 MB, free: 13.28 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.1185, allocations: 0.8637 MB / 271.5 MB, free: 12.36 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.1189, allocations: 159.7 kB / 271.6 MB, free: 12.17 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1189, allocations: 4 kB / 271.6 MB, free: 12.17 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.119, allocations: 38.52 kB / 271.7 MB, free: 12.12 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 3.667e-06/0.119, allocations: 0 / 271.7 MB, free: 12.12 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005809/0.1196, allocations: 169.6 kB / 271.9 MB, free: 11.95 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/0.1197, allocations: 106.8 kB / 272 MB, free: 11.82 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.12, allocations: 181.4 kB / 272.1 MB, free: 11.64 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.12, allocations: 29.7 kB / 272.2 MB, free: 11.6 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.1202, allocations: 218.2 kB / 272.4 MB, free: 11.39 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.034e-05/0.1203, allocations: 70.98 kB / 272.4 MB, free: 11.32 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.1203, allocations: 4 kB / 272.4 MB, free: 11.31 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1205, allocations: 326.8 kB / 272.8 MB, free: 10.98 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.1206, allocations: 40.55 kB / 272.8 MB, free: 10.94 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.1209, allocations: 158.7 kB / 273 MB, free: 10.74 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.1211, allocations: 72.61 kB / 273 MB, free: 10.67 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.1211, allocations: 3.938 kB / 273 MB, free: 10.66 MB / 234.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006629/0.1218, allocations: 233.2 kB / 273.3 MB, free: 10.43 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.1219, allocations: 13.66 kB / 273.3 MB, free: 10.42 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.1219, allocations: 7.984 kB / 273.3 MB, free: 10.41 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/0.1219, allocations: 7.953 kB / 273.3 MB, free: 10.4 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.1224, allocations: 56.36 kB / 273.4 MB, free: 10.35 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.1224, allocations: 15.94 kB / 273.4 MB, free: 10.33 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.1227, allocations: 27.69 kB / 273.4 MB, free: 10.3 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.1227, allocations: 12 kB / 273.4 MB, free: 10.29 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.0002032/0.1229, allocations: 137.8 kB / 273.5 MB, free: 10.15 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.123, allocations: 15.81 kB / 273.6 MB, free: 10.13 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.979e-05/0.1231, allocations: 21.41 kB / 273.6 MB, free: 10.11 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.1232, allocations: 7.953 kB / 273.6 MB, free: 10.1 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1232, allocations: 0 / 273.6 MB, free: 10.1 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.1232, allocations: 7.984 kB / 273.6 MB, free: 10.09 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008566/0.1241, allocations: 420.9 kB / 274 MB, free: 9.617 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1241, allocations: 0 / 274 MB, free: 9.617 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.1245, allocations: 43.88 kB / 274 MB, free: 9.574 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.1245, allocations: 0 / 274 MB, free: 9.574 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.1246, allocations: 8 kB / 274.1 MB, free: 9.566 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.1246, allocations: 3.984 kB / 274.1 MB, free: 9.562 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.1246, allocations: 8.094 kB / 274.1 MB, free: 9.555 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.1253, allocations: 416.2 kB / 274.5 MB, free: 9.094 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.1254, allocations: 96.83 kB / 274.6 MB, free: 8.98 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.1255, allocations: 4.047 kB / 274.6 MB, free: 8.977 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.1258, allocations: 11.98 kB / 274.6 MB, free: 8.965 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.1258, allocations: 11.89 kB / 274.6 MB, free: 8.953 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1258, allocations: 7.984 kB / 274.6 MB, free: 8.945 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001926/0.126, allocations: 140.3 kB / 274.7 MB, free: 8.809 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1261, allocations: 4 kB / 274.7 MB, free: 8.805 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005182/0.1266, allocations: 51.94 kB / 274.8 MB, free: 8.754 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.0001731/0.1268, allocations: 107.2 kB / 274.9 MB, free: 8.641 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004436/0.1272, allocations: 135.7 kB / 275 MB, free: 8.508 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1273, allocations: 0.875 kB / 275 MB, free: 8.508 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1274, allocations: 59.91 kB / 275.1 MB, free: 8.449 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.1279, allocations: 24.17 kB / 275.1 MB, free: 8.426 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.1296, allocations: 0.746 MB / 275.9 MB, free: 7.637 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.13, allocations: 0.7401 MB / 276.6 MB, free: 6.871 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.1302, allocations: 19.44 kB / 276.6 MB, free: 6.852 MB / 234.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1302, allocations: 0 / 276.6 MB, free: 6.852 MB / 234.7 MB Notification: Performance of Templates: time 0.006318/0.1365, allocations: 2.215 MB / 278.8 MB, free: 4.633 MB / 234.7 MB