Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadModel(ModelicaTest): time 2.387/2.387, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.239e-05/4.258e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4325, allocations: 54.86 MB / 362.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.00411/0.4367, allocations: 2.187 MB / 365 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.4384, allocations: 0.6215 MB / 365.7 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.4387, allocations: 10.25 kB / 365.7 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.4388, allocations: 40.91 kB / 365.7 MB, free: 9.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.4392, allocations: 117.5 kB / 365.8 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.4395, allocations: 65.67 kB / 365.9 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004908/0.44, allocations: 231.8 kB / 366.1 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.4402, allocations: 76.78 kB / 366.2 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.4405, allocations: 113.4 kB / 366.3 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.4408, allocations: 143.7 kB / 366.4 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-05/0.4409, allocations: 12.69 kB / 366.5 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.441, allocations: 13.62 kB / 366.5 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.639e-05/0.441, allocations: 55.42 kB / 366.5 MB, free: 9.238 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.4412, allocations: 38.75 kB / 366.6 MB, free: 9.238 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.4416, allocations: 306.3 kB / 366.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4416, allocations: 1.125 kB / 366.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.643e-06/0.4417, allocations: 0 / 366.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.4417, allocations: 3.938 kB / 366.9 MB, free: 9.008 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001251/0.4429, allocations: 0.5751 MB / 367.4 MB, free: 8.488 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.443, allocations: 8.625 kB / 367.4 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.4431, allocations: 41.09 kB / 367.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.4436, allocations: 277.4 kB / 367.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.4437, allocations: 23.34 kB / 367.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.4438, allocations: 46.03 kB / 367.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.4449, allocations: 391.7 kB / 368.2 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/0.445, allocations: 7.25 kB / 368.2 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/0.4451, allocations: 20.03 kB / 368.2 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.4451, allocations: 17.45 kB / 368.2 MB, free: 7.848 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.4459, allocations: 221.1 kB / 368.5 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003761/0.4496, allocations: 1.731 MB / 370.2 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007214/0.4504, allocations: 265.6 kB / 370.5 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.4505, allocations: 11.98 kB / 370.5 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/0.4505, allocations: 42.5 kB / 370.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 3.146e-06/0.4506, allocations: 0 / 370.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001132/0.4517, allocations: 273.3 kB / 370.8 MB, free: 5.605 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.4519, allocations: 217.6 kB / 371 MB, free: 5.344 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/0.4523, allocations: 238 kB / 371.2 MB, free: 5.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.4523, allocations: 33.7 kB / 371.3 MB, free: 5.062 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.4526, allocations: 297.9 kB / 371.5 MB, free: 4.766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.4527, allocations: 114.5 kB / 371.7 MB, free: 4.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.4528, allocations: 8 kB / 371.7 MB, free: 4.645 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.453, allocations: 338.8 kB / 372 MB, free: 4.305 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.4533, allocations: 101.2 kB / 372.1 MB, free: 4.207 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006458/0.454, allocations: 428.8 kB / 372.5 MB, free: 3.625 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005272/0.4545, allocations: 167.8 kB / 372.7 MB, free: 3.461 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.4546, allocations: 4 kB / 372.7 MB, free: 3.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001446/0.456, allocations: 0.5169 MB / 373.2 MB, free: 2.934 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.4561, allocations: 8 kB / 373.2 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.4561, allocations: 12.84 kB / 373.2 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.226e-05/0.4562, allocations: 19.98 kB / 373.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008664/0.457, allocations: 151.8 kB / 373.4 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.711e-05/0.4571, allocations: 31.8 kB / 373.4 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/0.4576, allocations: 67.38 kB / 373.5 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.4577, allocations: 32 kB / 373.5 MB, free: 2.617 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0003004/0.458, allocations: 181.5 kB / 373.7 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.4582, allocations: 31.62 kB / 373.7 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.585e-05/0.4583, allocations: 37.78 kB / 373.8 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.4584, allocations: 4 kB / 373.8 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.4584, allocations: 4 kB / 373.8 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.4584, allocations: 0 / 373.8 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.4605, allocations: 0.6475 MB / 374.4 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.4605, allocations: 4 kB / 374.4 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009366/0.4615, allocations: 99.94 kB / 374.5 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.4615, allocations: 0 / 374.5 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.4616, allocations: 12.62 kB / 374.5 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-05/0.4616, allocations: 7.938 kB / 374.5 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.4616, allocations: 0 / 374.5 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.4629, allocations: 0.9369 MB / 375.5 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.4631, allocations: 112.9 kB / 375.6 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.903e-05/0.4632, allocations: 12 kB / 375.6 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/0.4637, allocations: 12 kB / 375.6 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.4638, allocations: 19.97 kB / 375.6 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.4639, allocations: 11.98 kB / 375.6 MB, free: 336 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002631/0.4641, allocations: 178 kB / 375.8 MB, free: 160 kB / 298.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4641, allocations: 0 / 375.8 MB, free: 160 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.00104/0.4652, allocations: 107.8 kB / 375.9 MB, free: 52 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0002075/0.4654, allocations: 111.2 kB / 376 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.4665, allocations: 293.5 kB / 376.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.4665, allocations: 0.6875 kB / 376.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.4669, allocations: 95.83 kB / 376.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.4679, allocations: 62.86 kB / 376.5 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/0.4719, allocations: 1.885 MB / 378.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.4725, allocations: 0.8072 MB / 379.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.4726, allocations: 27.44 kB / 379.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of SimCode: time 1.684e-06/0.4726, allocations: 4 kB / 379.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of Templates: time 0.01015/0.4828, allocations: 3.982 MB / 383.2 MB, free: 8.703 MB / 314.7 MB