Running command: translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadModel(Modelica): time 2.163/2.163, allocations: 224.8 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.76e-05/2.749e-05, allocations: 4 kB / 294.6 MB, free: 11.44 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 50.42 MB / 345 MB, free: 8.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002363/0.1149, allocations: 1.312 MB / 346.3 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002605/0.1152, allocations: 64.11 kB / 346.3 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.834e-05/0.1153, allocations: 3.938 kB / 346.4 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.1153, allocations: 3.984 kB / 346.4 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.48e-05/0.1154, allocations: 27.89 kB / 346.4 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.521e-05/0.1155, allocations: 7.938 kB / 346.4 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.1157, allocations: 35.95 kB / 346.4 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.883e-05/0.1158, allocations: 11.98 kB / 346.4 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.811e-05/0.1158, allocations: 19.92 kB / 346.5 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.1159, allocations: 19.92 kB / 346.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.876e-05/0.116, allocations: 0 / 346.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.116, allocations: 7.938 kB / 346.5 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.116, allocations: 7.984 kB / 346.5 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.116, allocations: 12 kB / 346.5 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.94e-05/0.1162, allocations: 44.14 kB / 346.5 MB, free: 7.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1162, allocations: 0 / 346.5 MB, free: 7.395 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1162, allocations: 0 / 346.5 MB, free: 7.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.1162, allocations: 0 / 346.5 MB, free: 7.395 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005069/0.1167, allocations: 347.2 kB / 346.9 MB, free: 7.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1168, allocations: 8.031 kB / 346.9 MB, free: 7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.1168, allocations: 11.86 kB / 346.9 MB, free: 6.988 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1171, allocations: 187 kB / 347.1 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1171, allocations: 4 kB / 347.1 MB, free: 6.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.1171, allocations: 7.984 kB / 347.1 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.1173, allocations: 65.69 kB / 347.2 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.1174, allocations: 3.984 kB / 347.2 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1174, allocations: 0 / 347.2 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1174, allocations: 4 kB / 347.2 MB, free: 6.676 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.1175, allocations: 43.88 kB / 347.2 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008569/0.1184, allocations: 375.6 kB / 347.6 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.1186, allocations: 66.45 kB / 347.6 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.1186, allocations: 0 / 347.6 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.1186, allocations: 34.56 kB / 347.7 MB, free: 6.094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.1187, allocations: 0 / 347.7 MB, free: 6.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009783/0.1196, allocations: 0.5091 MB / 348.2 MB, free: 5.492 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.1197, allocations: 55.41 kB / 348.2 MB, free: 5.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1198, allocations: 113.2 kB / 348.4 MB, free: 5.305 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1199, allocations: 25.7 kB / 348.4 MB, free: 5.273 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.12, allocations: 158.5 kB / 348.5 MB, free: 5.117 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.12, allocations: 35.48 kB / 348.6 MB, free: 5.082 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.12, allocations: 4 kB / 348.6 MB, free: 5.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1202, allocations: 318.8 kB / 348.9 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.745e-05/0.1203, allocations: 19.98 kB / 348.9 MB, free: 4.738 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1204, allocations: 61.08 kB / 349 MB, free: 4.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.079e-05/0.1205, allocations: 28 kB / 349 MB, free: 4.633 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1205, allocations: 0 / 349 MB, free: 4.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002569/0.1207, allocations: 113.5 kB / 349.1 MB, free: 4.516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1208, allocations: 7.984 kB / 349.1 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1208, allocations: 7.984 kB / 349.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1208, allocations: 0 / 349.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.121, allocations: 23.94 kB / 349.1 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.1211, allocations: 3.984 kB / 349.1 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.1211, allocations: 8 kB / 349.2 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1212, allocations: 8.094 kB / 349.2 MB, free: 4.457 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001074/0.1213, allocations: 113.8 kB / 349.3 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.1213, allocations: 11.86 kB / 349.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.1214, allocations: 8.375 kB / 349.3 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1214, allocations: 0 / 349.3 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1214, allocations: 0 / 349.3 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1214, allocations: 4 kB / 349.3 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007561/0.1222, allocations: 418.5 kB / 349.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.1222, allocations: 4 kB / 349.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.1224, allocations: 15.98 kB / 349.7 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.1224, allocations: 4 kB / 349.7 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.1224, allocations: 4 kB / 349.7 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.1225, allocations: 3.938 kB / 349.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1225, allocations: 0 / 349.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.1228, allocations: 296.3 kB / 350 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.1229, allocations: 81.14 kB / 350.1 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.123, allocations: 7.984 kB / 350.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1231, allocations: 8 kB / 350.1 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.1231, allocations: 4.469 kB / 350.1 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1231, allocations: 4 kB / 350.1 MB, free: 3.328 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.96e-05/0.1232, allocations: 103.2 kB / 350.2 MB, free: 3.227 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1232, allocations: 0 / 350.2 MB, free: 3.227 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003287/0.1236, allocations: 20 kB / 350.2 MB, free: 3.207 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001421/0.1237, allocations: 103.2 kB / 350.3 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.1239, allocations: 59.91 kB / 350.4 MB, free: 3.035 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1239, allocations: 0 / 350.4 MB, free: 3.035 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.892e-05/0.124, allocations: 32.19 kB / 350.4 MB, free: 3.004 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.1243, allocations: 15.94 kB / 350.5 MB, free: 2.988 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008523/0.1252, allocations: 407.4 kB / 350.9 MB, free: 2.543 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.1255, allocations: 0.7004 MB / 351.6 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.1256, allocations: 15.44 kB / 351.6 MB, free: 1.801 MB / 282.7 MB Notification: Performance of SimCode: time 9.21e-07/0.1256, allocations: 0 / 351.6 MB, free: 1.801 MB / 282.7 MB Notification: Performance of Templates: time 0.003161/0.1287, allocations: 0.9622 MB / 352.5 MB, free: 0.8359 MB / 282.7 MB