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_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadModel(ModelicaTest): time 1.969/1.969, allocations: 209.3 MB / 223.8 MB, free: 0.5664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.894e-05, allocations: 0 / 276.2 MB, free: 15.22 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3834, allocations: 48.7 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002372/0.3858, allocations: 1.408 MB / 326.3 MB, free: 2.668 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003804/0.3863, allocations: 145.1 kB / 326.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.886e-05/0.3863, allocations: 3.938 kB / 326.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.86e-05/0.3864, allocations: 15.91 kB / 326.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.3866, allocations: 48.64 kB / 326.5 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.3867, allocations: 26.77 kB / 326.5 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.3869, allocations: 93.38 kB / 326.6 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.3871, allocations: 30.67 kB / 326.6 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.719e-05/0.3872, allocations: 53.56 kB / 326.7 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3873, allocations: 57.92 kB / 326.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.152e-05/0.3874, allocations: 9.906 kB / 326.8 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.3874, allocations: 6.812 kB / 326.8 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.3875, allocations: 21.61 kB / 326.8 MB, free: 2.449 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.3875, allocations: 18.98 kB / 326.8 MB, free: 2.449 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.3878, allocations: 127.1 kB / 326.9 MB, free: 2.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3878, allocations: 1.938 kB / 326.9 MB, free: 2.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3878, allocations: 0 / 326.9 MB, free: 2.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.3878, allocations: 0 / 326.9 MB, free: 2.43 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.0006162/0.3885, allocations: 423.1 kB / 327.3 MB, free: 2.027 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3885, allocations: 9.406 kB / 327.4 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/0.3886, allocations: 17.11 kB / 327.4 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.3888, allocations: 204.7 kB / 327.6 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3888, allocations: 15.83 kB / 327.6 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.3889, allocations: 26.73 kB / 327.6 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.3893, allocations: 165.1 kB / 327.8 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.3893, allocations: 2.031 kB / 327.8 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.3894, allocations: 9.5 kB / 327.8 MB, free: 1.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.3894, allocations: 4.062 kB / 327.8 MB, free: 1.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.3897, allocations: 91.41 kB / 327.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.3908, allocations: 0.6117 MB / 328.5 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.3911, allocations: 126.1 kB / 328.6 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.3911, allocations: 2.781 kB / 328.6 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3912, allocations: 46.08 kB / 328.7 MB, free: 1.023 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 2.485e-06/0.3912, allocations: 0 / 328.7 MB, free: 1.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.001083/0.3923, allocations: 384 kB / 329 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.3923, allocations: 80.36 kB / 329.1 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.3925, allocations: 120.2 kB / 329.2 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.3925, allocations: 25.7 kB / 329.3 MB, free: 0.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.3926, allocations: 132.8 kB / 329.4 MB, free: 392 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.3926, allocations: 54.3 kB / 329.4 MB, free: 348 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.3927, allocations: 5.094 kB / 329.4 MB, free: 344 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.865e-05/0.3927, allocations: 321.9 kB / 329.8 MB, free: 20 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.3928, allocations: 43.52 kB / 329.8 MB, free: 0 / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.3931, allocations: 111.3 kB / 329.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.3933, allocations: 54.42 kB / 330 MB, free: 15.88 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.3933, allocations: 1 kB / 330 MB, free: 15.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006121/0.3939, allocations: 223 kB / 330.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.394, allocations: 5.953 kB / 330.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.394, allocations: 2.562 kB / 330.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003006/0.3943, allocations: 50.12 kB / 330.2 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.3945, allocations: 38.42 kB / 330.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/0.3973, allocations: 2.737 MB / 333 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.3976, allocations: 16.47 kB / 333 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.3976, allocations: 7.562 kB / 333 MB, free: 12.97 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.0001783/0.3978, allocations: 134.9 kB / 333.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-05/0.3979, allocations: 10.33 kB / 333.2 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.623e-05/0.398, allocations: 20.31 kB / 333.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.398, allocations: 6.266 kB / 333.2 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.398, allocations: 1.797 kB / 333.2 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.398, allocations: 2.219 kB / 333.2 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.3984, allocations: 236 kB / 333.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.3985, allocations: 1.406 kB / 333.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.3988, allocations: 24.55 kB / 333.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002332/0.399, allocations: 50.48 kB / 333.5 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.3991, allocations: 1.688 kB / 333.5 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002875/0.4019, allocations: 2.735 MB / 336.3 MB, free: 9.812 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.402, allocations: 5.438 kB / 336.3 MB, free: 9.809 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000668/0.4027, allocations: 372.6 kB / 336.6 MB, free: 9.516 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-05/0.4028, allocations: 89.08 kB / 336.7 MB, free: 9.414 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.4028, allocations: 14.31 kB / 336.7 MB, free: 9.402 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.403, allocations: 5.375 kB / 336.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.4031, allocations: 13.81 kB / 336.7 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.4031, allocations: 3.875 kB / 336.7 MB, free: 9.395 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.465e-05/0.4032, allocations: 96.25 kB / 336.8 MB, free: 9.316 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4032, allocations: 0 / 336.8 MB, free: 9.316 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006708/0.4039, allocations: 58.47 kB / 336.9 MB, free: 9.301 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.0001515/0.404, allocations: 105.7 kB / 337 MB, free: 9.207 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007743/0.4048, allocations: 347.6 kB / 337.3 MB, free: 8.941 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4048, allocations: 0 / 337.3 MB, free: 8.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004679/0.4053, allocations: 292 kB / 337.6 MB, free: 8.691 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.4058, allocations: 25.55 kB / 337.6 MB, free: 8.688 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.4076, allocations: 0.7681 MB / 338.4 MB, free: 8.109 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.408, allocations: 0.7345 MB / 339.2 MB, free: 7.406 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9e-05/0.4081, allocations: 14.38 kB / 339.2 MB, free: 7.402 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.4082, allocations: 12.59 kB / 339.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of SimCode: time 1.563e-06/0.4082, allocations: 0 / 339.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of Templates: time 0.007467/0.4157, allocations: 1.775 MB / 341 MB, free: 7.23 MB / 282.7 MB