Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadModel(ModelicaTest): time 2.43/2.43, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.283e-05/4.294e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4673/0.4674, allocations: 54.86 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00334/0.4708, allocations: 1.265 MB / 364.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005874/0.4714, allocations: 104.2 kB / 364.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.4716, allocations: 2.719 kB / 364.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.532e-05/0.4717, allocations: 16.98 kB / 364.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.472, allocations: 34.31 kB / 364.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.4722, allocations: 18.83 kB / 364.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.4726, allocations: 60.36 kB / 364.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.4728, allocations: 15.77 kB / 364.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.473, allocations: 38.88 kB / 364.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.4731, allocations: 39.91 kB / 364.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.071e-05/0.4732, allocations: 8.094 kB / 364.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.4732, allocations: 8.844 kB / 364.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.382e-05/0.4733, allocations: 14.72 kB / 364.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.981e-05/0.4734, allocations: 12.25 kB / 364.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.4736, allocations: 87.11 kB / 364.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4737, allocations: 0 / 364.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.339e-05/0.4737, allocations: 5.609 kB / 364.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.4737, allocations: 0 / 364.6 MB, free: 10.67 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008224/0.4746, allocations: 379.7 kB / 364.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/0.4746, allocations: 13.19 kB / 365 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.975e-05/0.4747, allocations: 17.98 kB / 365 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.4751, allocations: 200.6 kB / 365.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.4752, allocations: 4.109 kB / 365.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.4753, allocations: 16.22 kB / 365.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.4757, allocations: 123.9 kB / 365.3 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.4758, allocations: 6.438 kB / 365.3 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.4758, allocations: 5.531 kB / 365.3 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.4759, allocations: 6.688 kB / 365.3 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.4761, allocations: 61.83 kB / 365.4 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.4776, allocations: 0.5396 MB / 365.9 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.4779, allocations: 87.64 kB / 366 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.478, allocations: 2.188 kB / 366 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.478, allocations: 35.97 kB / 366.1 MB, free: 9.246 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 4.268e-06/0.4781, allocations: 0 / 366.1 MB, free: 9.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.001123/0.4792, allocations: 306.5 kB / 366.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.4793, allocations: 78.33 kB / 366.4 MB, free: 8.859 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.4795, allocations: 113 kB / 366.5 MB, free: 8.754 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.4796, allocations: 31.11 kB / 366.6 MB, free: 8.719 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.4797, allocations: 182.4 kB / 366.7 MB, free: 8.543 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.4798, allocations: 31.95 kB / 366.8 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/0.4798, allocations: 9.344 kB / 366.8 MB, free: 8.508 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.48, allocations: 312.2 kB / 367.1 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.555e-05/0.4801, allocations: 24.14 kB / 367.1 MB, free: 8.184 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.4803, allocations: 87.56 kB / 367.2 MB, free: 8.086 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.4804, allocations: 39.23 kB / 367.2 MB, free: 8.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.4805, allocations: 0 / 367.2 MB, free: 8.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006551/0.4811, allocations: 171.2 kB / 367.4 MB, free: 7.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.4812, allocations: 6.031 kB / 367.4 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.4812, allocations: 2.812 kB / 367.4 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003127/0.4815, allocations: 38.5 kB / 367.5 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.4818, allocations: 25.92 kB / 367.5 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/0.4851, allocations: 2.548 MB / 370 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.4854, allocations: 16.91 kB / 370 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.4855, allocations: 5.219 kB / 370 MB, free: 5.227 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.4857, allocations: 140 kB / 370.2 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.4858, allocations: 8.031 kB / 370.2 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.4859, allocations: 10.03 kB / 370.2 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4859, allocations: 4.625 kB / 370.2 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.4859, allocations: 2.344 kB / 370.2 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.4859, allocations: 0 / 370.2 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.4865, allocations: 207.6 kB / 370.4 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4865, allocations: 1.406 kB / 370.4 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.4868, allocations: 10.81 kB / 370.4 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002439/0.487, allocations: 35.95 kB / 370.5 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.4871, allocations: 1.312 kB / 370.5 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003222/0.4903, allocations: 2.544 MB / 373 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.4903, allocations: 448 / 373 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006132/0.491, allocations: 320.5 kB / 373.3 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-05/0.4911, allocations: 87.83 kB / 373.4 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.4911, allocations: 1.062 kB / 373.4 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.4914, allocations: 9.359 kB / 373.4 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.4914, allocations: 15.78 kB / 373.4 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.4915, allocations: 1.5 kB / 373.4 MB, free: 1.723 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.4916, allocations: 93.3 kB / 373.5 MB, free: 1.641 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.4916, allocations: 0 / 373.5 MB, free: 1.641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008368/0.4925, allocations: 35.59 kB / 373.6 MB, free: 1.633 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001835/0.4927, allocations: 94.69 kB / 373.6 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007872/0.4935, allocations: 302.7 kB / 373.9 MB, free: 1.277 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4935, allocations: 0 / 373.9 MB, free: 1.277 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005378/0.4941, allocations: 262.4 kB / 374.2 MB, free: 1.027 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006567/0.4947, allocations: 19.14 kB / 374.2 MB, free: 1.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.4965, allocations: 0.5835 MB / 374.8 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.497, allocations: 0.7163 MB / 375.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.4971, allocations: 12.59 kB / 375.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of SimCode: time 1.543e-06/0.4971, allocations: 0 / 375.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of Templates: time 0.008259/0.5054, allocations: 2.338 MB / 377.9 MB, free: 13.73 MB / 314.7 MB