Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadModel(ModelicaTest): time 1.925/1.925, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.279e-05, allocations: 4 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09196/0.09202, allocations: 48.69 MB / 321.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/0.4647, allocations: 73.62 MB / 395.4 MB, free: 7.504 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.465, allocations: 67.09 kB / 395.5 MB, free: 7.504 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009233/0.4743, allocations: 2.54 MB / 398 MB, free: 7.031 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.909e-06/0.4743, allocations: 0 / 398 MB, free: 7.031 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.4744, allocations: 3.812 kB / 398 MB, free: 7.031 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003997/0.4748, allocations: 404.8 kB / 398.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4748, allocations: 15.44 kB / 398.4 MB, free: 6.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.4749, allocations: 20.31 kB / 398.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.299e-05/0.475, allocations: 178.5 kB / 398.6 MB, free: 6.434 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.475, allocations: 11.75 kB / 398.6 MB, free: 6.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.4751, allocations: 21.66 kB / 398.6 MB, free: 6.426 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.4754, allocations: 169.9 kB / 398.8 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.4754, allocations: 3.906 kB / 398.8 MB, free: 6.363 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.4754, allocations: 10.56 kB / 398.8 MB, free: 6.363 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.494e-06/0.4755, allocations: 3.844 kB / 398.8 MB, free: 6.363 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.4757, allocations: 79.31 kB / 398.9 MB, free: 6.363 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008353/0.4765, allocations: 0.6123 MB / 399.5 MB, free: 5.945 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.4767, allocations: 128.9 kB / 399.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.978e-05/0.4768, allocations: 53.94 kB / 399.7 MB, free: 5.871 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.4769, allocations: 0 / 399.7 MB, free: 5.871 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.4769, allocations: 42.16 kB / 399.7 MB, free: 5.828 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.242e-06/0.4769, allocations: 0.9844 kB / 399.7 MB, free: 5.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.000444/0.4774, allocations: 148.7 kB / 399.9 MB, free: 5.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.4774, allocations: 80.86 kB / 400 MB, free: 5.672 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.449e-05/0.4775, allocations: 122.6 kB / 400.1 MB, free: 5.574 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.4775, allocations: 25.7 kB / 400.1 MB, free: 5.543 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.4776, allocations: 133 kB / 400.2 MB, free: 5.434 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.4777, allocations: 60.17 kB / 400.3 MB, free: 5.395 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.4777, allocations: 3.875 kB / 400.3 MB, free: 5.395 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.706e-05/0.4778, allocations: 321.3 kB / 400.6 MB, free: 5.082 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/0.4778, allocations: 38.69 kB / 400.6 MB, free: 5.074 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.478, allocations: 99.06 kB / 400.7 MB, free: 4.996 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.4781, allocations: 56.8 kB / 400.8 MB, free: 4.984 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.2e-06/0.4781, allocations: 3.844 kB / 400.8 MB, free: 4.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005777/0.4787, allocations: 212.5 kB / 401 MB, free: 4.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.4787, allocations: 6.781 kB / 401 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.4788, allocations: 3.938 kB / 401 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000333/0.4791, allocations: 53.31 kB / 401.1 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.4794, allocations: 29.8 kB / 401.1 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.482, allocations: 2.719 MB / 403.8 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.4821, allocations: 15.47 kB / 403.8 MB, free: 18.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.4822, allocations: 11.22 kB / 403.8 MB, free: 18.26 MB / 330.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 (20): * Single equations (assignments): 18 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.4823, allocations: 112.6 kB / 404 MB, free: 18.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.4824, allocations: 7.719 kB / 404 MB, free: 18.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.4824, allocations: 22.33 kB / 404 MB, free: 18.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.4824, allocations: 7.672 kB / 404 MB, free: 18.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.083e-06/0.4825, allocations: 0 / 404 MB, free: 18.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.46e-06/0.4825, allocations: 0 / 404 MB, free: 18.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.4829, allocations: 234.3 kB / 404.2 MB, free: 17.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.093e-06/0.4829, allocations: 1.25 kB / 404.2 MB, free: 17.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.4831, allocations: 26.97 kB / 404.3 MB, free: 17.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000192/0.4833, allocations: 52.81 kB / 404.3 MB, free: 17.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.4833, allocations: 1.281 kB / 404.3 MB, free: 17.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.4859, allocations: 2.714 MB / 407 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.922e-06/0.486, allocations: 0 / 407 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.4865, allocations: 383.9 kB / 407.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.4866, allocations: 84.92 kB / 407.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.4866, allocations: 11.98 kB / 407.5 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.4868, allocations: 3.844 kB / 407.5 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.4868, allocations: 12.69 kB / 407.5 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.4869, allocations: 3.844 kB / 407.5 MB, free: 14.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.77e-05/0.487, allocations: 102.5 kB / 407.6 MB, free: 14.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.63e-07/0.487, allocations: 0 / 407.6 MB, free: 14.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006214/0.4876, allocations: 61.81 kB / 407.7 MB, free: 14.85 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001565/0.4878, allocations: 105 kB / 407.8 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005536/0.4883, allocations: 329.1 kB / 408.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.159e-06/0.4884, allocations: 0 / 408.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.4887, allocations: 278.1 kB / 408.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.4891, allocations: 20.61 kB / 408.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009454/0.4901, allocations: 0.5651 MB / 409 MB, free: 13.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.4905, allocations: 0.7305 MB / 409.7 MB, free: 13.17 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.206e-05/0.4906, allocations: 16.91 kB / 409.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.4906, allocations: 11.31 kB / 409.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of SimCode: time 1.841e-06/0.4907, allocations: 3.938 kB / 409.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of Templates: time 0.005571/0.4962, allocations: 1.74 MB / 411.5 MB, free: 12.3 MB / 330.7 MB