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.125/2.125, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.952e-05, allocations: 0 / 304.9 MB, free: 5.672 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3195, allocations: 54.86 MB / 359.8 MB, free: 2.656 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.4439, allocations: 80 MB / 439.8 MB, free: 1.023 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.4442, allocations: 69.61 kB / 439.8 MB, free: 0.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009817/0.454, allocations: 2.54 MB / 442.4 MB, free: 14.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.482e-06/0.4541, allocations: 0 / 442.4 MB, free: 14.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.4541, allocations: 4.656 kB / 442.4 MB, free: 14.44 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005693/0.4547, allocations: 414.3 kB / 442.8 MB, free: 13.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4547, allocations: 8.031 kB / 442.8 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.58e-05/0.4548, allocations: 19.77 kB / 442.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.455, allocations: 182.4 kB / 443 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.455, allocations: 16.31 kB / 443 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.4551, allocations: 16 kB / 443 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.4554, allocations: 157.3 kB / 443.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.4555, allocations: 11.91 kB / 443.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.4555, allocations: 4 kB / 443.2 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.4555, allocations: 4.875 kB / 443.2 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.4558, allocations: 87.88 kB / 443.3 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.4569, allocations: 0.6035 MB / 443.9 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.4572, allocations: 117.2 kB / 444 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.4573, allocations: 53.72 kB / 444 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.4574, allocations: 8 kB / 444 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.4574, allocations: 42.62 kB / 444.1 MB, free: 12.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 3.48e-06/0.4574, allocations: 0.9375 kB / 444.1 MB, free: 12.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005156/0.458, allocations: 147.2 kB / 444.2 MB, free: 12.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.458, allocations: 85.05 kB / 444.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.4582, allocations: 122.2 kB / 444.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.4582, allocations: 30.64 kB / 444.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.4584, allocations: 194.4 kB / 444.7 MB, free: 11.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.179e-05/0.4585, allocations: 59.19 kB / 444.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.4585, allocations: 4 kB / 444.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4587, allocations: 326.8 kB / 445 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-05/0.4588, allocations: 35.86 kB / 445.1 MB, free: 11.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.4589, allocations: 100.6 kB / 445.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.4591, allocations: 58.08 kB / 445.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.489e-06/0.4591, allocations: 0 / 445.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005076/0.4596, allocations: 205.2 kB / 445.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.4596, allocations: 11.95 kB / 445.4 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.4597, allocations: 4.25 kB / 445.4 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002575/0.4599, allocations: 53.69 kB / 445.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.4601, allocations: 35.27 kB / 445.5 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/0.4631, allocations: 2.711 MB / 448.2 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.4632, allocations: 15.75 kB / 448.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.4633, allocations: 16 kB / 448.3 MB, free: 7.977 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 (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.0001204/0.4634, allocations: 116.9 kB / 448.4 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/0.4635, allocations: 8.844 kB / 448.4 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.4636, allocations: 20.61 kB / 448.4 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.539e-06/0.4636, allocations: 4.094 kB / 448.4 MB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.908e-06/0.4636, allocations: 4 kB / 448.4 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.874e-06/0.4636, allocations: 0 / 448.4 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.464, allocations: 237.5 kB / 448.7 MB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.4641, allocations: 4 kB / 448.7 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.4643, allocations: 23.98 kB / 448.7 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002108/0.4645, allocations: 45.7 kB / 448.7 MB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.4645, allocations: 4 kB / 448.7 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002835/0.4674, allocations: 2.701 MB / 451.4 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.446e-06/0.4674, allocations: 3.938 kB / 451.4 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006026/0.468, allocations: 396.2 kB / 451.8 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.849e-05/0.4681, allocations: 85.02 kB / 451.9 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.4682, allocations: 5.594 kB / 451.9 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.4683, allocations: 4 kB / 451.9 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.4684, allocations: 11.98 kB / 451.9 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.4684, allocations: 12 kB / 451.9 MB, free: 3.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.147e-05/0.4685, allocations: 97.09 kB / 452 MB, free: 3.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.4685, allocations: 0 / 452 MB, free: 3.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006502/0.4692, allocations: 59.84 kB / 452.1 MB, free: 3.785 MB / 378.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.0001528/0.4694, allocations: 95.25 kB / 452.2 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006312/0.47, allocations: 333.1 kB / 452.5 MB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.103e-06/0.47, allocations: 384 / 452.5 MB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.4704, allocations: 271.4 kB / 452.8 MB, free: 3.055 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.4709, allocations: 34.12 kB / 452.8 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.472, allocations: 0.5927 MB / 453.4 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.4725, allocations: 0.7282 MB / 454.1 MB, free: 1.648 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.4725, allocations: 15.44 kB / 454.1 MB, free: 1.633 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/0.4726, allocations: 0 / 454.1 MB, free: 1.633 MB / 378.7 MB Notification: Performance of Templates: time 0.006134/0.4787, allocations: 2.991 MB / 457.1 MB, free: 14.64 MB / 394.7 MB