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.127/2.127, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.564e-05/4.574e-05, allocations: 4.938 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3477, allocations: 54.85 MB / 359.8 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.4885, allocations: 79.68 MB / 439.4 MB, free: 1.316 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003628/0.4889, allocations: 72.7 kB / 439.5 MB, free: 1.246 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0126/0.5015, allocations: 1.958 MB / 441.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.165e-06/0.5016, allocations: 0 / 441.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.5016, allocations: 4 kB / 441.5 MB, free: 15.3 MB / 378.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.0007664/0.5024, allocations: 375.5 kB / 441.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.944e-05/0.5025, allocations: 16.62 kB / 441.9 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.834e-05/0.5026, allocations: 11.86 kB / 441.9 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.5029, allocations: 174.9 kB / 442 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.5029, allocations: 8.234 kB / 442 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.503, allocations: 12 kB / 442.1 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.5035, allocations: 124.8 kB / 442.2 MB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/0.5036, allocations: 11.44 kB / 442.2 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.5037, allocations: 4.938 kB / 442.2 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.011e-06/0.5037, allocations: 0 / 442.2 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.504, allocations: 63.92 kB / 442.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.5057, allocations: 0.541 MB / 442.8 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.506, allocations: 77.09 kB / 442.9 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.5061, allocations: 29.91 kB / 442.9 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.5062, allocations: 7.984 kB / 442.9 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.5063, allocations: 34.56 kB / 442.9 MB, free: 13.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 4.118e-06/0.5063, allocations: 0 / 442.9 MB, free: 13.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006656/0.507, allocations: 103.3 kB / 443 MB, free: 13.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/0.5071, allocations: 81.05 kB / 443.1 MB, free: 13.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.5073, allocations: 123.7 kB / 443.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.5074, allocations: 29.7 kB / 443.3 MB, free: 13.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.5075, allocations: 178.2 kB / 443.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/0.5076, allocations: 31.55 kB / 443.5 MB, free: 13.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/0.5077, allocations: 4 kB / 443.5 MB, free: 13.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002344/0.5079, allocations: 318.8 kB / 443.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.5081, allocations: 16 kB / 443.8 MB, free: 12.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.5083, allocations: 89.14 kB / 443.9 MB, free: 12.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.5085, allocations: 39.92 kB / 443.9 MB, free: 12.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.318e-06/0.5085, allocations: 0.9375 kB / 443.9 MB, free: 12.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007207/0.5093, allocations: 159 kB / 444.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.5093, allocations: 8 kB / 444.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.5093, allocations: 1.016 kB / 444.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003341/0.5097, allocations: 41.95 kB / 444.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.5099, allocations: 25.55 kB / 444.2 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004114/0.5141, allocations: 2.526 MB / 446.7 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.5143, allocations: 16.16 kB / 446.7 MB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.5144, allocations: 11.27 kB / 446.7 MB, free: 9.5 MB / 378.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.0001754/0.5146, allocations: 116.9 kB / 446.8 MB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.5147, allocations: 8.469 kB / 446.8 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.846e-05/0.5148, allocations: 12.03 kB / 446.9 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-06/0.5148, allocations: 0 / 446.9 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.5149, allocations: 0 / 446.9 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.695e-06/0.5149, allocations: 3.938 kB / 446.9 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007094/0.5156, allocations: 213.6 kB / 447.1 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.5156, allocations: 5.156 kB / 447.1 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.5159, allocations: 12 kB / 447.1 MB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002568/0.5162, allocations: 33.7 kB / 447.1 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.5162, allocations: 0 / 447.1 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004015/0.5203, allocations: 2.533 MB / 449.6 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.154e-06/0.5203, allocations: 0 / 449.6 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007325/0.5211, allocations: 313.4 kB / 450 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.5212, allocations: 89.05 kB / 450 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.5213, allocations: 7.953 kB / 450 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.5216, allocations: 4 kB / 450.1 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.5217, allocations: 4 kB / 450.1 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.5217, allocations: 3.984 kB / 450.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.5219, allocations: 92.81 kB / 450.2 MB, free: 5.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.148e-06/0.5219, allocations: 0 / 450.2 MB, free: 5.699 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001069/0.523, allocations: 35.94 kB / 450.2 MB, free: 5.664 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * 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.0002427/0.5232, allocations: 107.2 kB / 450.3 MB, free: 5.551 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007876/0.524, allocations: 280.7 kB / 450.6 MB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5241, allocations: 0.9375 kB / 450.6 MB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005771/0.5247, allocations: 252 kB / 450.8 MB, free: 4.992 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007107/0.5254, allocations: 18.05 kB / 450.8 MB, free: 4.977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.5269, allocations: 423.9 kB / 451.2 MB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006469/0.5276, allocations: 0.72 MB / 452 MB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.5277, allocations: 11.44 kB / 452 MB, free: 3.777 MB / 378.7 MB Notification: Performance of SimCode: time 2.229e-06/0.5277, allocations: 0 / 452 MB, free: 3.777 MB / 378.7 MB Notification: Performance of Templates: time 0.006251/0.534, allocations: 2.341 MB / 454.3 MB, free: 1.438 MB / 378.7 MB