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_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadModel(ModelicaTest): time 1.85/1.85, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.439e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08853/0.08858, allocations: 48.69 MB / 321.7 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3403/0.429, allocations: 73.62 MB / 395.4 MB, free: 7.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.4292, allocations: 66.27 kB / 395.4 MB, free: 7.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008586/0.4378, allocations: 2.544 MB / 398 MB, free: 6.688 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.98e-06/0.4378, allocations: 0 / 398 MB, free: 6.688 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.4379, allocations: 3.969 kB / 398 MB, free: 6.688 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.000396/0.4383, allocations: 408.8 kB / 398.4 MB, free: 6.309 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.4383, allocations: 9.688 kB / 398.4 MB, free: 6.309 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.4384, allocations: 19.34 kB / 398.4 MB, free: 6.301 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.4385, allocations: 185 kB / 398.6 MB, free: 6.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.4385, allocations: 15.91 kB / 398.6 MB, free: 6.086 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.4386, allocations: 19.53 kB / 398.6 MB, free: 6.086 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.4389, allocations: 159.3 kB / 398.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.4389, allocations: 7.844 kB / 398.8 MB, free: 6.027 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.439, allocations: 10.53 kB / 398.8 MB, free: 6.027 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.308e-06/0.439, allocations: 3.875 kB / 398.8 MB, free: 6.027 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.4392, allocations: 78.89 kB / 398.9 MB, free: 6.027 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.4405, allocations: 0.6155 MB / 399.5 MB, free: 5.602 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.4408, allocations: 124.1 kB / 399.6 MB, free: 5.551 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.623e-05/0.4409, allocations: 56.56 kB / 399.7 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.4409, allocations: 0 / 399.7 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.4409, allocations: 39.39 kB / 399.7 MB, free: 5.488 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.389e-06/0.441, allocations: 0 / 399.7 MB, free: 5.488 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004681/0.4414, allocations: 157.5 kB / 399.9 MB, free: 5.422 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.4415, allocations: 77.11 kB / 399.9 MB, free: 5.328 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.4416, allocations: 121.3 kB / 400 MB, free: 5.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.4416, allocations: 25.7 kB / 400.1 MB, free: 5.199 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.4417, allocations: 201.4 kB / 400.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.4418, allocations: 55.77 kB / 400.3 MB, free: 4.988 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.4418, allocations: 7.781 kB / 400.3 MB, free: 4.988 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.4418, allocations: 325.2 kB / 400.6 MB, free: 4.668 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.841e-05/0.4419, allocations: 33.5 kB / 400.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4421, allocations: 96.14 kB / 400.8 MB, free: 4.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.4422, allocations: 55.53 kB / 400.8 MB, free: 4.582 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.902e-06/0.4422, allocations: 0 / 400.8 MB, free: 4.582 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004936/0.4427, allocations: 211 kB / 401 MB, free: 4.508 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4428, allocations: 7.75 kB / 401 MB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4428, allocations: 10.34 kB / 401.1 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/0.4431, allocations: 41.75 kB / 401.1 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.4433, allocations: 42.72 kB / 401.1 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/0.446, allocations: 2.704 MB / 403.8 MB, free: 17.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.4462, allocations: 26.59 kB / 403.9 MB, free: 17.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.4462, allocations: 3.719 kB / 403.9 MB, free: 17.86 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.0001209/0.4464, allocations: 120.2 kB / 404 MB, free: 17.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.4464, allocations: 11.41 kB / 404 MB, free: 17.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.893e-05/0.4465, allocations: 17.72 kB / 404 MB, free: 17.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.4465, allocations: 3.953 kB / 404 MB, free: 17.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.663e-06/0.4465, allocations: 3.656 kB / 404 MB, free: 17.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.896e-06/0.4465, allocations: 2.672 kB / 404 MB, free: 17.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.4469, allocations: 230.2 kB / 404.3 MB, free: 17.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.447, allocations: 0 / 404.3 MB, free: 17.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.4472, allocations: 29.09 kB / 404.3 MB, free: 17.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001996/0.4474, allocations: 48.27 kB / 404.3 MB, free: 17.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.4474, allocations: 4.719 kB / 404.3 MB, free: 17.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/0.4501, allocations: 2.714 MB / 407 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.001e-06/0.4501, allocations: 0 / 407 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.4507, allocations: 387.7 kB / 407.4 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.4508, allocations: 83.69 kB / 407.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.4508, allocations: 11.14 kB / 407.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.451, allocations: 0 / 407.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.451, allocations: 15.34 kB / 407.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.451, allocations: 3.688 kB / 407.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.672e-05/0.4511, allocations: 101.2 kB / 407.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.4511, allocations: 0 / 407.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006214/0.4518, allocations: 64.38 kB / 407.7 MB, free: 14.44 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.0001563/0.4519, allocations: 109.4 kB / 407.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005696/0.4525, allocations: 324.5 kB / 408.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.47e-06/0.4526, allocations: 0 / 408.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.4529, allocations: 275.6 kB / 408.4 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.4533, allocations: 33.56 kB / 408.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009559/0.4543, allocations: 0.585 MB / 409 MB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.4548, allocations: 0.7319 MB / 409.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.4548, allocations: 15.22 kB / 409.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.665e-06/0.4548, allocations: 3.938 kB / 409.8 MB, free: 12.76 MB / 330.7 MB Notification: Performance of Templates: time 0.004922/0.4597, allocations: 2.984 MB / 412.7 MB, free: 11.3 MB / 330.7 MB