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 2.202/2.202, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.794e-05/4.791e-05, allocations: 8 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4052, allocations: 48.7 MB / 324.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002427/0.4077, allocations: 1.414 MB / 326.3 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003991/0.4081, allocations: 140 kB / 326.4 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.984e-05/0.4082, allocations: 5.375 kB / 326.4 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.411e-05/0.4083, allocations: 17.3 kB / 326.4 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.4085, allocations: 46.19 kB / 326.5 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.4086, allocations: 31.14 kB / 326.5 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.4088, allocations: 94.45 kB / 326.6 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.4089, allocations: 34.36 kB / 326.6 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.171e-05/0.409, allocations: 49.2 kB / 326.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.4092, allocations: 60.16 kB / 326.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.983e-05/0.4092, allocations: 5.781 kB / 326.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.4093, allocations: 5.594 kB / 326.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.4093, allocations: 21.31 kB / 326.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.4094, allocations: 17.88 kB / 326.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.4096, allocations: 128.2 kB / 326.9 MB, free: 2.008 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4096, allocations: 0 / 326.9 MB, free: 2.008 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.4096, allocations: 1.062 kB / 326.9 MB, free: 2.008 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.103e-05/0.4097, allocations: 0 / 326.9 MB, free: 2.008 MB / 266.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.0006228/0.4103, allocations: 426.1 kB / 327.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4104, allocations: 9.25 kB / 327.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.336e-05/0.4105, allocations: 17.41 kB / 327.3 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.4107, allocations: 205.6 kB / 327.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.4107, allocations: 15.14 kB / 327.6 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/0.4108, allocations: 18.75 kB / 327.6 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.4112, allocations: 170.5 kB / 327.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.4113, allocations: 4.875 kB / 327.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.4113, allocations: 10.94 kB / 327.8 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.4113, allocations: 2.875 kB / 327.8 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.4116, allocations: 87.45 kB / 327.8 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.4127, allocations: 0.6169 MB / 328.5 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.4131, allocations: 131.2 kB / 328.6 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.4131, allocations: 5.031 kB / 328.6 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.4131, allocations: 33.39 kB / 328.6 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 3.557e-06/0.4131, allocations: 0 / 328.6 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.001169/0.4143, allocations: 387.7 kB / 329 MB, free: 316 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.4144, allocations: 80.42 kB / 329.1 MB, free: 220 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.4145, allocations: 115.5 kB / 329.2 MB, free: 116 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.4146, allocations: 26.41 kB / 329.2 MB, free: 84 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.4147, allocations: 197.4 kB / 329.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.904e-05/0.4148, allocations: 56.98 kB / 329.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.278e-05/0.4148, allocations: 9.5 kB / 329.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.415, allocations: 319.2 kB / 329.8 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.4151, allocations: 38.7 kB / 329.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.4153, allocations: 105.8 kB / 329.9 MB, free: 15.42 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.4154, allocations: 55.67 kB / 330 MB, free: 15.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4154, allocations: 0.9688 kB / 330 MB, free: 15.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006475/0.4161, allocations: 221 kB / 330.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.4161, allocations: 6.203 kB / 330.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4162, allocations: 3.156 kB / 330.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003175/0.4165, allocations: 49 kB / 330.3 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.4168, allocations: 37.58 kB / 330.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/0.4198, allocations: 2.736 MB / 333 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.42, allocations: 15.97 kB / 333.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.42, allocations: 7.719 kB / 333.1 MB, free: 12.48 MB / 282.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.0001856/0.4202, allocations: 135 kB / 333.2 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.4203, allocations: 9.656 kB / 333.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.4204, allocations: 21.88 kB / 333.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.4204, allocations: 5.078 kB / 333.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.609e-06/0.4204, allocations: 2.375 kB / 333.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.4204, allocations: 1.078 kB / 333.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.4209, allocations: 238.8 kB / 333.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.4209, allocations: 11.94 kB / 333.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/0.4212, allocations: 23.59 kB / 333.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002495/0.4215, allocations: 48.62 kB / 333.5 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.4216, allocations: 6.453 kB / 333.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002939/0.4245, allocations: 2.724 MB / 336.3 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.4246, allocations: 1.375 kB / 336.3 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006842/0.4253, allocations: 384.7 kB / 336.7 MB, free: 9.012 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.766e-05/0.4254, allocations: 88.83 kB / 336.7 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.4254, allocations: 10.59 kB / 336.8 MB, free: 8.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.4256, allocations: 1.094 kB / 336.8 MB, free: 8.902 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.4256, allocations: 14.52 kB / 336.8 MB, free: 8.898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.4257, allocations: 3.328 kB / 336.8 MB, free: 8.898 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.638e-05/0.4258, allocations: 102 kB / 336.9 MB, free: 8.816 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4258, allocations: 0 / 336.9 MB, free: 8.816 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006297/0.4265, allocations: 54.31 kB / 336.9 MB, free: 8.805 MB / 282.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.000169/0.4266, allocations: 107.9 kB / 337 MB, free: 8.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008167/0.4275, allocations: 348 kB / 337.4 MB, free: 8.441 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4275, allocations: 2.156 kB / 337.4 MB, free: 8.441 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000475/0.428, allocations: 289.8 kB / 337.7 MB, free: 8.191 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.4285, allocations: 24.36 kB / 337.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.4303, allocations: 0.802 MB / 338.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.4307, allocations: 0.7298 MB / 339.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.4308, allocations: 14.31 kB / 339.2 MB, free: 6.867 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.4308, allocations: 3.938 kB / 339.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of Templates: time 0.008317/0.4391, allocations: 2.999 MB / 342.2 MB, free: 6.605 MB / 282.7 MB