Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadModel(ModelicaTest): time 2.466/2.466, allocations: 234.9 MB / 250.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.06e-05/3.067e-05, allocations: 4 kB / 308 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.4598, allocations: 54.86 MB / 362.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003753/0.4636, allocations: 2.051 MB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.4653, allocations: 0.575 MB / 365.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/0.4656, allocations: 6.406 kB / 365.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.402e-05/0.4657, allocations: 30.98 kB / 365.5 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.4661, allocations: 87.39 kB / 365.6 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.4664, allocations: 67.45 kB / 365.7 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004623/0.4669, allocations: 179.5 kB / 365.8 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.4671, allocations: 43.92 kB / 365.9 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.4673, allocations: 95.22 kB / 366 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.4676, allocations: 101.3 kB / 366.1 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.902e-05/0.4676, allocations: 9.156 kB / 366.1 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.4677, allocations: 8.844 kB / 366.1 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.4678, allocations: 48.61 kB / 366.1 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.151e-05/0.4679, allocations: 26.31 kB / 366.2 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.4682, allocations: 209.8 kB / 366.4 MB, free: 9.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4682, allocations: 0 / 366.4 MB, free: 9.301 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.4682, allocations: 0 / 366.4 MB, free: 9.301 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.4683, allocations: 5.062 kB / 366.4 MB, free: 9.297 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001161/0.4694, allocations: 0.5232 MB / 366.9 MB, free: 8.816 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.4695, allocations: 13.19 kB / 366.9 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.4696, allocations: 35.62 kB / 366.9 MB, free: 8.793 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.4701, allocations: 254.6 kB / 367.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.4702, allocations: 19 kB / 367.2 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-05/0.4703, allocations: 33.28 kB / 367.2 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.4711, allocations: 283.9 kB / 367.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.4711, allocations: 9.984 kB / 367.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.117e-05/0.4712, allocations: 11.31 kB / 367.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.4712, allocations: 5.938 kB / 367.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007603/0.472, allocations: 202.9 kB / 367.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.4747, allocations: 1.319 MB / 369.1 MB, free: 6.984 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007047/0.4754, allocations: 260.7 kB / 369.3 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.4755, allocations: 2.719 kB / 369.3 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.4755, allocations: 37.03 kB / 369.4 MB, free: 6.758 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.856e-06/0.4755, allocations: 0 / 369.4 MB, free: 6.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.004348/0.4799, allocations: 1.617 MB / 371 MB, free: 5.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/0.48, allocations: 136.5 kB / 371.1 MB, free: 5.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.4804, allocations: 196 kB / 371.3 MB, free: 4.867 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.4804, allocations: 33.7 kB / 371.3 MB, free: 4.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.4806, allocations: 231.1 kB / 371.6 MB, free: 4.602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.4807, allocations: 118.3 kB / 371.7 MB, free: 4.484 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.4808, allocations: 15.94 kB / 371.7 MB, free: 4.469 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4809, allocations: 326.8 kB / 372 MB, free: 4.141 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.4814, allocations: 112.8 kB / 372.1 MB, free: 4.027 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.4821, allocations: 247 kB / 372.4 MB, free: 3.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/0.4827, allocations: 148.2 kB / 372.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.4827, allocations: 3.984 kB / 372.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001372/0.4841, allocations: 405.2 kB / 372.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.4841, allocations: 4 kB / 372.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.4842, allocations: 11.94 kB / 372.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.4842, allocations: 4 kB / 372.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007409/0.4849, allocations: 115.8 kB / 373 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.485, allocations: 4 kB / 373 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.4854, allocations: 36.03 kB / 373.1 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.4855, allocations: 23.94 kB / 373.1 MB, free: 2.984 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0002359/0.4857, allocations: 145.7 kB / 373.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.4859, allocations: 27.94 kB / 373.3 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.486, allocations: 37.7 kB / 373.3 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.486, allocations: 4 kB / 373.3 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.486, allocations: 7.953 kB / 373.3 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4861, allocations: 8 kB / 373.3 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.4885, allocations: 1.013 MB / 374.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.4885, allocations: 0 / 374.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007565/0.4893, allocations: 83.89 kB / 374.4 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/0.4893, allocations: 4 kB / 374.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/0.4894, allocations: 16.05 kB / 374.4 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.4894, allocations: 4 kB / 374.4 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.738e-06/0.4894, allocations: 0 / 374.4 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.4913, allocations: 0.8154 MB / 375.3 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.4915, allocations: 104.8 kB / 375.4 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.4916, allocations: 8.234 kB / 375.4 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004857/0.4921, allocations: 23.98 kB / 375.4 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.4922, allocations: 35.89 kB / 375.4 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.4923, allocations: 11.98 kB / 375.4 MB, free: 500 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002247/0.4925, allocations: 156.5 kB / 375.6 MB, free: 344 kB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4925, allocations: 0 / 375.6 MB, free: 344 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006672/0.4932, allocations: 68 kB / 375.7 MB, free: 276 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0001648/0.4934, allocations: 103.2 kB / 375.8 MB, free: 164 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.4946, allocations: 296.2 kB / 376 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4946, allocations: 0 / 376 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005632/0.4952, allocations: 144.1 kB / 376.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006546/0.4959, allocations: 40.89 kB / 376.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.4983, allocations: 1.092 MB / 377.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.4988, allocations: 0.7761 MB / 378.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.499, allocations: 31.38 kB / 378.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.499, allocations: 0 / 378.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of Templates: time 0.008684/0.5077, allocations: 3.208 MB / 381.3 MB, free: 10.51 MB / 314.7 MB