Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadModel(ModelicaTest): time 2.352/2.352, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.354e-05, allocations: 4 kB / 308 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3884, allocations: 54.86 MB / 362.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004089/0.3925, allocations: 2.18 MB / 365 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.3943, allocations: 0.6386 MB / 365.7 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.3947, allocations: 15.97 kB / 365.7 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.3948, allocations: 33.33 kB / 365.7 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.3952, allocations: 123.8 kB / 365.8 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.3955, allocations: 66.86 kB / 365.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000523/0.3961, allocations: 231.6 kB / 366.1 MB, free: 9.293 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.3964, allocations: 103.2 kB / 366.2 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.3967, allocations: 127.3 kB / 366.4 MB, free: 9.172 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.397, allocations: 138.5 kB / 366.5 MB, free: 9.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.924e-05/0.3971, allocations: 14.34 kB / 366.5 MB, free: 9.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.101e-05/0.3971, allocations: 13.03 kB / 366.5 MB, free: 9.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.541e-05/0.3972, allocations: 53.73 kB / 366.6 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.3973, allocations: 37.88 kB / 366.6 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.3978, allocations: 320.3 kB / 366.9 MB, free: 8.809 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3979, allocations: 0 / 366.9 MB, free: 8.809 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.009e-06/0.3979, allocations: 4 kB / 366.9 MB, free: 8.805 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.3979, allocations: 3.938 kB / 366.9 MB, free: 8.801 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001324/0.3992, allocations: 0.5775 MB / 367.5 MB, free: 8.285 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.3993, allocations: 17.56 kB / 367.5 MB, free: 8.277 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.3995, allocations: 41.12 kB / 367.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005454/0.4, allocations: 289.2 kB / 367.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.4001, allocations: 27.34 kB / 367.9 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.4002, allocations: 50.06 kB / 367.9 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.4013, allocations: 376.5 kB / 368.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.4014, allocations: 5.109 kB / 368.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.724e-05/0.4014, allocations: 19.73 kB / 368.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.4014, allocations: 9.656 kB / 368.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009444/0.4024, allocations: 257.7 kB / 368.6 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.4052, allocations: 1.126 MB / 369.7 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009783/0.4062, allocations: 355.8 kB / 370 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.673e-05/0.4063, allocations: 4 kB / 370.1 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.4064, allocations: 42.81 kB / 370.1 MB, free: 6.273 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 3.497e-06/0.4064, allocations: 0 / 370.1 MB, free: 6.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.006573/0.413, allocations: 2.473 MB / 372.6 MB, free: 3.531 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.67e-05/0.4131, allocations: 110.8 kB / 372.7 MB, free: 3.398 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.4135, allocations: 205.8 kB / 372.9 MB, free: 3.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/0.4135, allocations: 37.7 kB / 372.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.4137, allocations: 235.1 kB / 373.1 MB, free: 2.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.414, allocations: 193.1 kB / 373.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.414, allocations: 16 kB / 373.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4142, allocations: 338.8 kB / 373.7 MB, free: 2.371 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/0.4147, allocations: 129.1 kB / 373.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.4153, allocations: 231.8 kB / 374 MB, free: 1.984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005721/0.4158, allocations: 175.9 kB / 374.2 MB, free: 1.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4159, allocations: 3.938 kB / 374.2 MB, free: 1.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001797/0.4177, allocations: 0.5499 MB / 374.8 MB, free: 1.242 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.4177, allocations: 4 kB / 374.8 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.4178, allocations: 4 kB / 374.8 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/0.4184, allocations: 130.6 kB / 374.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/0.4192, allocations: 99.81 kB / 375 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006493/0.4257, allocations: 4.704 MB / 379.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/0.4262, allocations: 28.02 kB / 379.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/0.4263, allocations: 20 kB / 379.7 MB, free: 11.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003347/0.4267, allocations: 167.3 kB / 379.9 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.4268, allocations: 43.58 kB / 379.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.427, allocations: 46.17 kB / 380 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.427, allocations: 4 kB / 380 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/0.427, allocations: 4 kB / 380 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.427, allocations: 3.984 kB / 380 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003405/0.4304, allocations: 1.336 MB / 381.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.4305, allocations: 8.078 kB / 381.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008539/0.4314, allocations: 95.89 kB / 381.4 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004881/0.4319, allocations: 90.52 kB / 381.5 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.4319, allocations: 12.38 kB / 381.5 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004812/0.4368, allocations: 4.143 MB / 385.7 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4368, allocations: 0 / 385.7 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/0.4392, allocations: 1.001 MB / 386.7 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.4395, allocations: 108.7 kB / 386.8 MB, free: 4.211 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-05/0.4396, allocations: 12.06 kB / 386.8 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/0.44, allocations: 20 kB / 386.8 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.4402, allocations: 43.88 kB / 386.9 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.4403, allocations: 20.11 kB / 386.9 MB, free: 4.117 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002548/0.4405, allocations: 174 kB / 387.1 MB, free: 3.949 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4405, allocations: 3.938 kB / 387.1 MB, free: 3.945 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001011/0.4416, allocations: 120 kB / 387.2 MB, free: 3.828 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002577/0.4418, allocations: 119.2 kB / 387.3 MB, free: 3.699 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.4439, allocations: 0.773 MB / 388.1 MB, free: 2.887 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/0.444, allocations: 0 / 388.1 MB, free: 2.887 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.4454, allocations: 0.5741 MB / 388.6 MB, free: 2.273 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007731/0.4462, allocations: 53.05 kB / 388.7 MB, free: 2.223 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.4494, allocations: 1.311 MB / 390 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.45, allocations: 0.8358 MB / 390.8 MB, free: 8 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.4503, allocations: 39.36 kB / 390.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4503, allocations: 0 / 390.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of Templates: time 0.01845/0.4687, allocations: 8.79 MB / 399.7 MB, free: 7.164 MB / 330.7 MB