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.2_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadModel(ModelicaTest): time 2.342/2.342, allocations: 234.9 MB / 250.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.861e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3727, allocations: 54.85 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002602/0.3754, allocations: 1.416 MB / 364.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004114/0.3758, allocations: 137.4 kB / 364.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.429e-05/0.3759, allocations: 7.938 kB / 364.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.857e-05/0.376, allocations: 14.52 kB / 364.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.3762, allocations: 50.41 kB / 364.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.3763, allocations: 31.83 kB / 364.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.3765, allocations: 91.28 kB / 364.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3767, allocations: 24.62 kB / 364.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.3768, allocations: 55.34 kB / 364.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.3769, allocations: 59.7 kB / 364.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.222e-05/0.377, allocations: 5.656 kB / 364.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.377, allocations: 6.125 kB / 364.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/0.3771, allocations: 20.89 kB / 364.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.623e-05/0.3771, allocations: 17.62 kB / 364.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.3774, allocations: 128.8 kB / 364.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3774, allocations: 0 / 364.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.3774, allocations: 5.062 kB / 364.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.3774, allocations: 0 / 364.9 MB, free: 10.45 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007235/0.3782, allocations: 423.3 kB / 365.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3782, allocations: 8.594 kB / 365.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.384e-05/0.3783, allocations: 25.05 kB / 365.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.3786, allocations: 203.3 kB / 365.6 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.3786, allocations: 11.14 kB / 365.6 MB, free: 9.785 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.3787, allocations: 21.91 kB / 365.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.3791, allocations: 167.4 kB / 365.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.3792, allocations: 3.906 kB / 365.8 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.3792, allocations: 13.5 kB / 365.8 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3792, allocations: 5.438 kB / 365.8 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.3795, allocations: 89.16 kB / 365.9 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.3808, allocations: 0.6138 MB / 366.5 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.3811, allocations: 133.4 kB / 366.6 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3811, allocations: 1.156 kB / 366.6 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/0.3812, allocations: 40.88 kB / 366.6 MB, free: 8.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.846e-06/0.3812, allocations: 0 / 366.6 MB, free: 8.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.001181/0.3824, allocations: 380.2 kB / 367 MB, free: 8.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.3825, allocations: 78.3 kB / 367.1 MB, free: 8.469 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.3827, allocations: 118 kB / 367.2 MB, free: 8.363 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.3827, allocations: 29.7 kB / 367.2 MB, free: 8.328 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.3828, allocations: 201.4 kB / 367.4 MB, free: 8.137 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.694e-05/0.3829, allocations: 53.05 kB / 367.5 MB, free: 8.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-06/0.3829, allocations: 5.438 kB / 367.5 MB, free: 8.086 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3831, allocations: 328.2 kB / 367.8 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.3832, allocations: 35.92 kB / 367.8 MB, free: 7.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.3834, allocations: 106.9 kB / 368 MB, free: 7.633 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.3836, allocations: 53.72 kB / 368 MB, free: 7.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3836, allocations: 0 / 368 MB, free: 7.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006136/0.3842, allocations: 216.6 kB / 368.2 MB, free: 7.473 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.3842, allocations: 5.625 kB / 368.2 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.3843, allocations: 6.422 kB / 368.2 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/0.3846, allocations: 49.44 kB / 368.3 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.3848, allocations: 40.08 kB / 368.3 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.3879, allocations: 2.737 MB / 371.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.3881, allocations: 16.12 kB / 371.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.3881, allocations: 7.125 kB / 371.1 MB, free: 4.586 MB / 298.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.000188/0.3883, allocations: 137.4 kB / 371.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.3884, allocations: 9.438 kB / 371.2 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.3885, allocations: 15.78 kB / 371.2 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/0.3885, allocations: 5.203 kB / 371.2 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.3885, allocations: 7 kB / 371.2 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3885, allocations: 0 / 371.2 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.389, allocations: 234.7 kB / 371.5 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.389, allocations: 1.234 kB / 371.5 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.3894, allocations: 25.23 kB / 371.5 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002427/0.3896, allocations: 59.11 kB / 371.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.3897, allocations: 2.031 kB / 371.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002944/0.3926, allocations: 2.719 MB / 374.3 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.3927, allocations: 5.469 kB / 374.3 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/0.3934, allocations: 387 kB / 374.7 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.22e-05/0.3935, allocations: 92.09 kB / 374.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.3935, allocations: 10.34 kB / 374.8 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.3937, allocations: 0.9375 kB / 374.8 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.3937, allocations: 9.391 kB / 374.8 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3938, allocations: 11.17 kB / 374.8 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.395e-05/0.3939, allocations: 95.8 kB / 374.9 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3939, allocations: 0 / 374.9 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000658/0.3945, allocations: 57.66 kB / 374.9 MB, free: 0.7812 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,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.0001582/0.3947, allocations: 103.5 kB / 375 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007931/0.3955, allocations: 345.2 kB / 375.4 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3955, allocations: 288 / 375.4 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000462/0.396, allocations: 289.7 kB / 375.7 MB, free: 0 / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.3966, allocations: 31.64 kB / 375.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.3983, allocations: 0.7892 MB / 376.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.3988, allocations: 0.732 MB / 377.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.3988, allocations: 15.44 kB / 377.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of SimCode: time 1.343e-06/0.3988, allocations: 0 / 377.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of Templates: time 0.007415/0.4063, allocations: 2.991 MB / 380.2 MB, free: 11.38 MB / 314.7 MB