Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.2/2.2, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.472e-05, allocations: 4 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3286, allocations: 54.84 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.161/0.4897, allocations: 102.9 MB / 462.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.49, allocations: 74.38 kB / 462.7 MB, free: 9.988 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7316/1.222, allocations: 126.4 MB / 0.5753 GB, free: 100.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.862e-06/1.222, allocations: 2.219 kB / 0.5753 GB, free: 100.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003327/1.222, allocations: 118.6 kB / 0.5754 GB, free: 100.2 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2239 * Number of variables: 2239 Notification: Performance of Generate backend data structure: time 0.01989/1.242, allocations: 6.324 MB / 0.5816 GB, free: 97.33 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/1.242, allocations: 15.16 kB / 0.5816 GB, free: 97.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0408/1.283, allocations: 8.314 MB / 0.5897 GB, free: 94.76 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03387/1.317, allocations: 7.367 MB / 0.5969 GB, free: 90.83 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007674/1.317, allocations: 450.7 kB / 0.5974 GB, free: 90.67 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00397/1.321, allocations: 0.5877 MB / 0.5979 GB, free: 90.47 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05653/1.378, allocations: 15.53 MB / 0.6131 GB, free: 73.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003721/1.378, allocations: 75.3 kB / 0.6132 GB, free: 73.83 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002871/1.381, allocations: 290.7 kB / 0.6135 GB, free: 73.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002672/1.384, allocations: 1.613 MB / 0.615 GB, free: 71.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03191/1.416, allocations: 13.57 MB / 0.6283 GB, free: 58.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08799/1.504, allocations: 63.99 MB / 0.6908 GB, free: 8.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0198/1.524, allocations: 6.387 MB / 0.697 GB, free: 2.289 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2845/1.808, allocations: 3.534 MB / 0.7005 GB, free: 108.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03141/1.84, allocations: 14.44 MB / 0.7146 GB, free: 104.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/1.84, allocations: 60.09 kB / 0.7146 GB, free: 104.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=289): time 7.608e-06/1.84, allocations: 3.812 kB / 0.7146 GB, free: 104.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=339): time 0.1119/1.952, allocations: 29.75 MB / 0.7437 GB, free: 99.08 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/1.952, allocations: 217.1 kB / 0.7439 GB, free: 98.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009671/1.962, allocations: 4.769 MB / 0.7485 GB, free: 97.14 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000733/1.963, allocations: 75.61 kB / 0.7486 GB, free: 97.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003122/1.966, allocations: 4.28 MB / 0.7528 GB, free: 93.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00162/1.967, allocations: 1.254 MB / 0.754 GB, free: 92.78 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/1.968, allocations: 171.5 kB / 0.7542 GB, free: 92.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006577/1.969, allocations: 0.6837 MB / 0.7549 GB, free: 92.17 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008772/1.978, allocations: 4.485 MB / 0.7592 GB, free: 90.51 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01104/1.989, allocations: 9.37 MB / 0.7684 GB, free: 82.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/2, allocations: 6.418 MB / 0.7747 GB, free: 80.18 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001483/2, allocations: 50.22 kB / 0.7747 GB, free: 80.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.04944/2.05, allocations: 17.9 MB / 0.7922 GB, free: 69.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/2.05, allocations: 80 kB / 0.7923 GB, free: 69.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001894/2.05, allocations: 172 kB / 0.7924 GB, free: 69.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02582/2.076, allocations: 5.635 MB / 0.7979 GB, free: 65.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009256/2.085, allocations: 2.052 MB / 0.7999 GB, free: 63.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03669/2.122, allocations: 23.63 MB / 0.823 GB, free: 41.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009354/2.131, allocations: 0.5388 MB / 0.8235 GB, free: 40.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001913/2.133, allocations: 0.5048 MB / 0.824 GB, free: 40.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1058): * Single equations (assignments): 1050 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002288/2.136, allocations: 0.7419 MB / 0.8247 GB, free: 39.46 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/2.137, allocations: 0.4936 MB / 0.8252 GB, free: 38.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03526/2.172, allocations: 12.35 MB / 0.8373 GB, free: 26.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-05/2.172, allocations: 49.02 kB / 0.8373 GB, free: 26.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.211e-05/2.172, allocations: 8.75 kB / 0.8373 GB, free: 26.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.775e-05/2.173, allocations: 21.77 kB / 0.8374 GB, free: 26.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06132/2.234, allocations: 23.95 MB / 0.8608 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.416e-05/2.234, allocations: 12.78 kB / 0.8608 GB, free: 2.031 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003818/2.238, allocations: 0.57 MB / 0.8613 GB, free: 1.461 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02367/2.261, allocations: 4.647 MB / 0.8659 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007541/2.262, allocations: 57.02 kB / 0.8659 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3289/2.591, allocations: 18.91 MB / 0.8844 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/2.591, allocations: 7.531 kB / 0.8844 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04478/2.636, allocations: 17.38 MB / 0.9014 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003634/2.64, allocations: 1.222 MB / 0.9026 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001657/2.641, allocations: 54.78 kB / 0.9026 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004407/2.646, allocations: 246.2 kB / 0.9028 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001106/2.647, allocations: 196.9 kB / 0.903 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00054/2.648, allocations: 91.83 kB / 0.9031 GB, free: 106.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007697/2.655, allocations: 3.31 MB / 0.9064 GB, free: 105.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.468e-06/2.655, allocations: 0 / 0.9064 GB, free: 105.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01025/2.666, allocations: 1.708 MB / 0.908 GB, free: 105.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/2.667, allocations: 216.7 kB / 0.9082 GB, free: 105.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01856/2.685, allocations: 10.12 MB / 0.9181 GB, free: 102 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.664e-06/2.685, allocations: 2.969 kB / 0.9181 GB, free: 102 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00706/2.692, allocations: 3.915 MB / 0.9219 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003991/2.696, allocations: 0.5735 MB / 0.9225 GB, free: 100.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03139/2.728, allocations: 14.18 MB / 0.9363 GB, free: 94.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009853/2.738, allocations: 4.76 MB / 0.941 GB, free: 93.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00256/2.74, allocations: 415.2 kB / 0.9414 GB, free: 93.19 MB / 490.7 MB Notification: Performance of SimCode: time 2.398e-06/2.74, allocations: 0 / 0.9414 GB, free: 93.19 MB / 490.7 MB Notification: Performance of Templates: time 0.4846/3.225, allocations: 141.2 MB / 1.079 GB, free: 121.5 MB / 0.4948 GB