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.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadModel(ModelicaTest): time 1.84/1.84, allocations: 209.3 MB / 221.9 MB, free: 1.852 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.453e-05/3.466e-05, allocations: 4 kB / 273.1 MB, free: 0.7266 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08734/0.08739, allocations: 48.7 MB / 321.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3325/0.42, allocations: 75.51 MB / 397.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.4202, allocations: 67.97 kB / 397.3 MB, free: 14.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02436/0.4446, allocations: 5.832 MB / 403.2 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.196e-06/0.4447, allocations: 0 / 403.2 MB, free: 8.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.552e-05/0.4447, allocations: 8 kB / 403.2 MB, free: 8.574 MB / 330.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.001075/0.4458, allocations: 0.5805 MB / 403.8 MB, free: 7.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.4459, allocations: 8.031 kB / 403.8 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.446, allocations: 51.39 kB / 403.8 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.4464, allocations: 278.1 kB / 404.1 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.4465, allocations: 28.78 kB / 404.1 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.91e-05/0.4466, allocations: 39.91 kB / 404.1 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007982/0.4474, allocations: 348.7 kB / 404.5 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.4474, allocations: 5.531 kB / 404.5 MB, free: 7.152 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/0.4475, allocations: 16 kB / 404.5 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.4475, allocations: 12 kB / 404.5 MB, free: 7.125 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005551/0.4481, allocations: 207.9 kB / 404.7 MB, free: 6.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.4503, allocations: 1.1 MB / 405.8 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007085/0.451, allocations: 328.1 kB / 406.1 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.4514, allocations: 162.5 kB / 406.3 MB, free: 5.246 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.4515, allocations: 7.984 kB / 406.3 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.4515, allocations: 39.25 kB / 406.3 MB, free: 5.191 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 3.703e-06/0.4515, allocations: 0 / 406.3 MB, free: 5.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.004805/0.4563, allocations: 2.264 MB / 408.6 MB, free: 2.656 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.413e-05/0.4565, allocations: 114.8 kB / 408.7 MB, free: 2.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.4568, allocations: 215.2 kB / 408.9 MB, free: 2.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.4569, allocations: 37.7 kB / 409 MB, free: 2.262 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.4571, allocations: 243 kB / 409.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.4573, allocations: 201 kB / 409.4 MB, free: 1.824 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.4573, allocations: 12 kB / 409.4 MB, free: 1.812 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4575, allocations: 334.8 kB / 409.7 MB, free: 1.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.4578, allocations: 113.1 kB / 409.9 MB, free: 1.367 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.4583, allocations: 210.8 kB / 410.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.4586, allocations: 144.4 kB / 410.2 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.985e-06/0.4587, allocations: 0 / 410.2 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0013/0.46, allocations: 0.5033 MB / 410.7 MB, free: 476 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.46, allocations: 11.95 kB / 410.7 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.46, allocations: 4 kB / 410.7 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005059/0.4606, allocations: 118.5 kB / 410.8 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.4611, allocations: 99.98 kB / 410.9 MB, free: 232 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005768/0.4669, allocations: 4.657 MB / 415.6 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.4673, allocations: 32.11 kB / 415.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.4674, allocations: 16 kB / 415.6 MB, free: 11.12 MB / 346.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.0001751/0.4676, allocations: 128.9 kB / 415.8 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.4677, allocations: 39.58 kB / 415.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.4679, allocations: 45.95 kB / 415.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.4679, allocations: 12 kB / 415.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/0.4679, allocations: 4 kB / 415.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.4679, allocations: 3.984 kB / 415.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.4708, allocations: 1.297 MB / 417.2 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.351e-06/0.4708, allocations: 4 kB / 417.2 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006163/0.4714, allocations: 103.8 kB / 417.3 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004111/0.4719, allocations: 90.53 kB / 417.4 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.4719, allocations: 12 kB / 417.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004577/0.4765, allocations: 4.1 MB / 421.5 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.651e-06/0.4766, allocations: 3.938 kB / 421.5 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.4784, allocations: 0.9432 MB / 422.4 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.4786, allocations: 140.7 kB / 422.6 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.4787, allocations: 16 kB / 422.6 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.4791, allocations: 16 kB / 422.6 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.4792, allocations: 47.78 kB / 422.6 MB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.4793, allocations: 19.98 kB / 422.7 MB, free: 3.531 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002441/0.4796, allocations: 175.1 kB / 422.8 MB, free: 3.359 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.4796, allocations: 0 / 422.8 MB, free: 3.359 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009683/0.4806, allocations: 128 kB / 422.9 MB, free: 3.234 MB / 346.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.0001934/0.4808, allocations: 107.9 kB / 423.1 MB, free: 3.121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.4823, allocations: 0.6963 MB / 423.7 MB, free: 2.398 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4823, allocations: 0 / 423.7 MB, free: 2.398 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.4833, allocations: 0.5322 MB / 424.3 MB, free: 1.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006459/0.484, allocations: 53.42 kB / 424.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.4862, allocations: 0.9466 MB / 425.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006271/0.4869, allocations: 0.8289 MB / 426.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.487, allocations: 35.42 kB / 426.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.744e-06/0.4871, allocations: 0 / 426.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of Templates: time 0.01482/0.5019, allocations: 8.774 MB / 434.9 MB, free: 7.113 MB / 362.7 MB