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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadModel(ModelicaTest): time 2.568/2.568, allocations: 270 MB / 283.6 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.153e-05/4.168e-05, allocations: 7.984 kB / 348.4 MB, free: 2.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3395, allocations: 61.87 MB / 410.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.498, allocations: 86.07 MB / 496.3 MB, free: 4.574 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.4983, allocations: 63.97 kB / 496.4 MB, free: 4.512 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01518/0.5135, allocations: 2.685 MB / 499.1 MB, free: 1.824 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.5136, allocations: 0 / 499.1 MB, free: 1.824 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.5136, allocations: 0 / 499.1 MB, free: 1.824 MB / 410.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.0009618/0.5146, allocations: 414.4 kB / 499.5 MB, free: 1.371 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/0.5147, allocations: 8.031 kB / 499.5 MB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.647e-05/0.5148, allocations: 19.81 kB / 499.5 MB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.5151, allocations: 182.8 kB / 499.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.5151, allocations: 8.328 kB / 499.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.428e-05/0.5152, allocations: 20 kB / 499.7 MB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006104/0.5159, allocations: 161.3 kB / 499.9 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.5159, allocations: 3.906 kB / 499.9 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.516, allocations: 11.83 kB / 499.9 MB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.516, allocations: 4 kB / 499.9 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.5164, allocations: 83.92 kB / 500 MB, free: 0.832 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.5183, allocations: 0.619 MB / 0.4889 GB, free: 156 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.5186, allocations: 129.2 kB / 0.489 GB, free: 8 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.5187, allocations: 49.72 kB / 0.489 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.5188, allocations: 4.125 kB / 0.489 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.5188, allocations: 34.56 kB / 0.4891 GB, free: 15.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.382e-06/0.5188, allocations: 4 kB / 0.4891 GB, free: 15.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005222/0.5194, allocations: 147.2 kB / 0.4892 GB, free: 15.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.5194, allocations: 85.05 kB / 0.4893 GB, free: 15.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.5196, allocations: 120.4 kB / 0.4894 GB, free: 15.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.5196, allocations: 25.7 kB / 0.4894 GB, free: 15.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.5198, allocations: 132 kB / 0.4896 GB, free: 15.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.5198, allocations: 59.11 kB / 0.4896 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.582e-06/0.5199, allocations: 4 kB / 0.4896 GB, free: 15.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.52, allocations: 326.8 kB / 0.4899 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.622e-05/0.5201, allocations: 32 kB / 0.49 GB, free: 14.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.5203, allocations: 96.58 kB / 0.4901 GB, free: 14.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.5205, allocations: 55.92 kB / 0.4901 GB, free: 14.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.289e-06/0.5205, allocations: 0 / 0.4901 GB, free: 14.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005365/0.521, allocations: 215 kB / 0.4903 GB, free: 14.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.5211, allocations: 4.188 kB / 0.4903 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.126e-06/0.5211, allocations: 4 kB / 0.4903 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002685/0.5214, allocations: 53.88 kB / 0.4904 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.5216, allocations: 39.92 kB / 0.4904 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002934/0.5245, allocations: 2.704 MB / 0.4931 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.5247, allocations: 20.06 kB / 0.4931 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.5247, allocations: 12 kB / 0.4931 GB, free: 11.41 MB / 426.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.0001227/0.5248, allocations: 112.9 kB / 0.4932 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.5249, allocations: 11.91 kB / 0.4932 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.525, allocations: 16.61 kB / 0.4932 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.371e-06/0.525, allocations: 4 kB / 0.4932 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.525, allocations: 144 / 0.4932 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.922e-06/0.525, allocations: 11.88 kB / 0.4932 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.5255, allocations: 241.4 kB / 0.4935 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.311e-06/0.5255, allocations: 4 kB / 0.4935 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.5257, allocations: 27.98 kB / 0.4935 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002356/0.526, allocations: 41.7 kB / 0.4935 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.526, allocations: 8 kB / 0.4935 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002886/0.5289, allocations: 2.708 MB / 0.4962 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.394e-06/0.529, allocations: 144 / 0.4962 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006151/0.5296, allocations: 386 kB / 0.4966 GB, free: 7.504 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/0.5297, allocations: 85.02 kB / 0.4966 GB, free: 7.402 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.5297, allocations: 4 kB / 0.4966 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.5299, allocations: 4.062 kB / 0.4966 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.53, allocations: 11.94 kB / 0.4967 GB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.53, allocations: 4 kB / 0.4967 GB, free: 7.379 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.875e-05/0.5301, allocations: 99.27 kB / 0.4968 GB, free: 7.281 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.5301, allocations: 0 / 0.4968 GB, free: 7.281 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006392/0.5308, allocations: 63.84 kB / 0.4968 GB, free: 7.219 MB / 426.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.0001717/0.531, allocations: 103.2 kB / 0.4969 GB, free: 7.109 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006572/0.5316, allocations: 328.2 kB / 0.4972 GB, free: 6.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.127e-06/0.5317, allocations: 4.062 kB / 0.4972 GB, free: 6.766 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004067/0.5321, allocations: 271.4 kB / 0.4975 GB, free: 6.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.5325, allocations: 28.28 kB / 0.4975 GB, free: 6.453 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.5337, allocations: 0.5717 MB / 0.4981 GB, free: 5.859 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.5342, allocations: 0.7282 MB / 0.4988 GB, free: 5.105 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.764e-05/0.5343, allocations: 9.203 kB / 0.4988 GB, free: 5.098 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.5343, allocations: 11.44 kB / 0.4988 GB, free: 5.086 MB / 426.7 MB Notification: Performance of SimCode: time 1.811e-06/0.5343, allocations: 0 / 0.4988 GB, free: 5.086 MB / 426.7 MB Notification: Performance of Templates: time 0.00641/0.5408, allocations: 1.753 MB / 0.5005 GB, free: 3.348 MB / 426.7 MB