Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadModel(ModelicaTest): time 2.237/2.237, allocations: 270 MB / 282.7 MB, free: 1.93 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.689e-05/2.694e-05, allocations: 4 kB / 347 MB, free: 3.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3548, allocations: 61.87 MB / 408.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.4859, allocations: 86.07 MB / 494.9 MB, free: 4.656 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.4862, allocations: 67.97 kB / 495 MB, free: 4.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01014/0.4963, allocations: 2.679 MB / 497.6 MB, free: 1.906 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.001e-06/0.4964, allocations: 0 / 497.6 MB, free: 1.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.4964, allocations: 4 kB / 497.6 MB, free: 1.902 MB / 410.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.0005737/0.497, allocations: 410.5 kB / 498 MB, free: 1.453 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.497, allocations: 11.97 kB / 498.1 MB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.4971, allocations: 23.75 kB / 498.1 MB, free: 1.418 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.4973, allocations: 182.8 kB / 498.3 MB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.4973, allocations: 16.27 kB / 498.3 MB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.319e-05/0.4974, allocations: 23.98 kB / 498.3 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.4978, allocations: 153.3 kB / 498.4 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.4978, allocations: 11.89 kB / 498.5 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.4978, allocations: 8 kB / 498.5 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.22e-06/0.4978, allocations: 4 kB / 498.5 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.4981, allocations: 79.98 kB / 498.6 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.4992, allocations: 0.619 MB / 499.2 MB, free: 224 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.4995, allocations: 125.2 kB / 499.3 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.4996, allocations: 49.72 kB / 499.3 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.4997, allocations: 0 / 499.3 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.4997, allocations: 38.5 kB / 499.4 MB, free: 15.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.262e-06/0.4997, allocations: 0 / 499.4 MB, free: 15.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005053/0.5003, allocations: 155.3 kB / 499.5 MB, free: 15.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.5003, allocations: 81.11 kB / 499.6 MB, free: 15.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.5005, allocations: 123 kB / 499.7 MB, free: 15.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.5005, allocations: 25.7 kB / 499.8 MB, free: 15.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.5007, allocations: 198.5 kB / 499.9 MB, free: 15.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.111e-05/0.5007, allocations: 55.11 kB / 0.4883 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.5008, allocations: 4 kB / 0.4883 GB, free: 15.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.501, allocations: 322.8 kB / 0.4886 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.991e-05/0.5011, allocations: 35.94 kB / 0.4886 GB, free: 14.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.5012, allocations: 103.4 kB / 0.4887 GB, free: 14.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.5014, allocations: 51.92 kB / 0.4888 GB, free: 14.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.559e-06/0.5014, allocations: 4 kB / 0.4888 GB, free: 14.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000522/0.5019, allocations: 203 kB / 0.489 GB, free: 14.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.502, allocations: 4 kB / 0.489 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.502, allocations: 7.984 kB / 0.489 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.5023, allocations: 57.88 kB / 0.489 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.5025, allocations: 35.98 kB / 0.4891 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002874/0.5054, allocations: 2.708 MB / 0.4917 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.5055, allocations: 15.88 kB / 0.4917 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.5055, allocations: 12.19 kB / 0.4917 GB, free: 11.43 MB / 426.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.0001127/0.5057, allocations: 109 kB / 0.4919 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/0.5057, allocations: 15.75 kB / 0.4919 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.5058, allocations: 20.61 kB / 0.4919 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.5058, allocations: 4 kB / 0.4919 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.255e-06/0.5058, allocations: 8.094 kB / 0.4919 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.192e-06/0.5059, allocations: 3.953 kB / 0.4919 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.5063, allocations: 233.5 kB / 0.4921 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.5063, allocations: 3.984 kB / 0.4921 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.5065, allocations: 20 kB / 0.4921 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/0.5067, allocations: 49.69 kB / 0.4922 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.5068, allocations: 0 / 0.4922 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/0.5096, allocations: 2.712 MB / 0.4948 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.83e-06/0.5096, allocations: 4.031 kB / 0.4948 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/0.5102, allocations: 382.1 kB / 0.4952 GB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.5103, allocations: 88.92 kB / 0.4953 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.5103, allocations: 0 / 0.4953 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.5105, allocations: 4.062 kB / 0.4953 GB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.5105, allocations: 19.88 kB / 0.4953 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.5105, allocations: 4.125 kB / 0.4953 GB, free: 7.391 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.031e-05/0.5106, allocations: 105 kB / 0.4954 GB, free: 7.289 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.5107, allocations: 0 / 0.4954 GB, free: 7.289 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006614/0.5113, allocations: 51.94 kB / 0.4955 GB, free: 7.238 MB / 426.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.0001474/0.5115, allocations: 101.5 kB / 0.4956 GB, free: 7.133 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006246/0.5121, allocations: 339.9 kB / 0.4959 GB, free: 6.781 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.215e-06/0.5121, allocations: 0 / 0.4959 GB, free: 6.781 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.5126, allocations: 263.5 kB / 0.4961 GB, free: 6.504 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.513, allocations: 33.45 kB / 0.4962 GB, free: 6.477 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.5141, allocations: 0.6009 MB / 0.4968 GB, free: 5.848 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.5146, allocations: 0.7321 MB / 0.4975 GB, free: 5.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.5146, allocations: 11.44 kB / 0.4975 GB, free: 5.078 MB / 426.7 MB Notification: Performance of SimCode: time 3.675e-06/0.5146, allocations: 0 / 0.4975 GB, free: 5.078 MB / 426.7 MB Notification: Performance of Templates: time 0.006092/0.5207, allocations: 2.99 MB / 0.5004 GB, free: 2.086 MB / 426.7 MB