Running command: translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadModel(Modelica): time 1.691/1.691, allocations: 171.1 MB / 186.3 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.007e-05/4.005e-05, allocations: 4 kB / 228.1 MB, free: 7.984 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09129/0.09136, allocations: 38.77 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002275/0.0937, allocations: 1.288 MB / 268.2 MB, free: 15.82 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002422/0.09399, allocations: 55.83 kB / 268.2 MB, free: 15.77 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.825e-05/0.09407, allocations: 7.938 kB / 268.2 MB, free: 15.76 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.09411, allocations: 3.984 kB / 268.2 MB, free: 15.75 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.577e-05/0.09422, allocations: 19.95 kB / 268.3 MB, free: 15.73 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.09434, allocations: 15.94 kB / 268.3 MB, free: 15.72 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.09447, allocations: 35.94 kB / 268.3 MB, free: 15.68 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.899e-05/0.09458, allocations: 15.98 kB / 268.3 MB, free: 15.67 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.825e-05/0.09463, allocations: 15.94 kB / 268.3 MB, free: 15.65 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.433e-05/0.09472, allocations: 23.75 kB / 268.4 MB, free: 15.63 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.111e-05/0.09475, allocations: 4 kB / 268.4 MB, free: 15.63 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.09477, allocations: 0 / 268.4 MB, free: 15.63 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.0948, allocations: 7.984 kB / 268.4 MB, free: 15.62 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.09484, allocations: 8 kB / 268.4 MB, free: 15.61 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.91e-05/0.09495, allocations: 48.12 kB / 268.4 MB, free: 15.57 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.09497, allocations: 0 / 268.4 MB, free: 15.57 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.09498, allocations: 0 / 268.4 MB, free: 15.57 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.09499, allocations: 0 / 268.4 MB, free: 15.57 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000496/0.0955, allocations: 351.2 kB / 268.8 MB, free: 15.18 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.09555, allocations: 15.91 kB / 268.8 MB, free: 15.16 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.09561, allocations: 7.906 kB / 268.8 MB, free: 15.15 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.09582, allocations: 175 kB / 269 MB, free: 14.94 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.09585, allocations: 11.95 kB / 269 MB, free: 14.93 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.0959, allocations: 8 kB / 269 MB, free: 14.92 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.0961, allocations: 65.67 kB / 269.1 MB, free: 14.85 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.09613, allocations: 3.984 kB / 269.1 MB, free: 14.85 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.09616, allocations: 4 kB / 269.1 MB, free: 14.84 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.09617, allocations: 0 / 269.1 MB, free: 14.84 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.0963, allocations: 39.91 kB / 269.1 MB, free: 14.8 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008641/0.09718, allocations: 387.5 kB / 269.5 MB, free: 14.37 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.09734, allocations: 58.5 kB / 269.5 MB, free: 14.3 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.09737, allocations: 0 / 269.5 MB, free: 14.3 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.0974, allocations: 34.56 kB / 269.6 MB, free: 14.26 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.09742, allocations: 0 / 269.6 MB, free: 14.26 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.001001/0.09842, allocations: 0.5052 MB / 270.1 MB, free: 13.66 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.09849, allocations: 55.36 kB / 270.1 MB, free: 13.59 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.09862, allocations: 109.2 kB / 270.2 MB, free: 13.48 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.09865, allocations: 29.7 kB / 270.3 MB, free: 13.44 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.09875, allocations: 162.5 kB / 270.4 MB, free: 13.28 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.0988, allocations: 35.45 kB / 270.5 MB, free: 13.25 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.09882, allocations: 4 kB / 270.5 MB, free: 13.24 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.09897, allocations: 318.8 kB / 270.8 MB, free: 12.92 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.09904, allocations: 20.45 kB / 270.8 MB, free: 12.9 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.863e-05/0.09914, allocations: 65.23 kB / 270.9 MB, free: 12.82 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.049e-05/0.09924, allocations: 28 kB / 270.9 MB, free: 12.79 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.09925, allocations: 0 / 270.9 MB, free: 12.79 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002422/0.0995, allocations: 101.5 kB / 271 MB, free: 12.69 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.09954, allocations: 17.8 kB / 271 MB, free: 12.67 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.09956, allocations: 0 / 271 MB, free: 12.67 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.09958, allocations: 4 kB / 271 MB, free: 12.67 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.09975, allocations: 16 kB / 271 MB, free: 12.65 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.09978, allocations: 11.92 kB / 271 MB, free: 12.64 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.498e-05/0.09985, allocations: 7.953 kB / 271 MB, free: 12.63 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.09987, allocations: 4.094 kB / 271 MB, free: 12.63 MB / 234.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.0001028/0.09999, allocations: 117.8 kB / 271.2 MB, free: 12.5 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.1, allocations: 11.91 kB / 271.2 MB, free: 12.49 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.1001, allocations: 12.38 kB / 271.2 MB, free: 12.48 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1001, allocations: 0 / 271.2 MB, free: 12.48 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1001, allocations: 0 / 271.2 MB, free: 12.48 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1001, allocations: 0 / 271.2 MB, free: 12.48 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007162/0.1009, allocations: 418.5 kB / 271.6 MB, free: 12 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.1009, allocations: 0 / 271.6 MB, free: 12 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.1011, allocations: 20.17 kB / 271.6 MB, free: 11.98 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.1011, allocations: 4 kB / 271.6 MB, free: 11.98 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.1011, allocations: 7.953 kB / 271.6 MB, free: 11.97 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.1011, allocations: 8 kB / 271.6 MB, free: 11.96 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.1011, allocations: 7.922 kB / 271.6 MB, free: 11.95 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.1015, allocations: 288.4 kB / 271.9 MB, free: 11.61 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.1016, allocations: 81.14 kB / 272 MB, free: 11.51 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.1016, allocations: 7.984 kB / 272 MB, free: 11.5 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.89e-05/0.1018, allocations: 4 kB / 272 MB, free: 11.5 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.1018, allocations: 7.953 kB / 272 MB, free: 11.49 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.1018, allocations: 8 kB / 272 MB, free: 11.48 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.847e-05/0.1019, allocations: 95.33 kB / 272.1 MB, free: 11.39 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1019, allocations: 384 / 272.1 MB, free: 11.39 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003216/0.1022, allocations: 12 kB / 272.1 MB, free: 11.38 MB / 234.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.0001329/0.1024, allocations: 103.2 kB / 272.2 MB, free: 11.27 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1026, allocations: 67.78 kB / 272.3 MB, free: 11.2 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1026, allocations: 0 / 272.3 MB, free: 11.2 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 6.878e-05/0.1027, allocations: 28.31 kB / 272.3 MB, free: 11.18 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.103, allocations: 20.05 kB / 272.3 MB, free: 11.16 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008253/0.1038, allocations: 407.1 kB / 272.7 MB, free: 10.71 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.1041, allocations: 0.7043 MB / 273.4 MB, free: 9.977 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.1042, allocations: 15.44 kB / 273.5 MB, free: 9.961 MB / 234.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1042, allocations: 0 / 273.5 MB, free: 9.961 MB / 234.7 MB Notification: Performance of Templates: time 0.003169/0.1074, allocations: 0.9658 MB / 274.4 MB, free: 8.996 MB / 234.7 MB