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.47/2.47, allocations: 234.9 MB / 250.1 MB, free: 9.988 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.169e-05, allocations: 3.984 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.438, allocations: 54.86 MB / 362.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.06664/0.5047, allocations: 42.27 MB / 405.1 MB, free: 3.469 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02988/0.5347, allocations: 9.834 MB / 414.9 MB, free: 9.602 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009887/0.5446, allocations: 223.4 kB / 415.2 MB, free: 9.383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007837/0.5525, allocations: 2.224 MB / 417.4 MB, free: 7.148 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0234/0.576, allocations: 6.186 MB / 423.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004428/0.5805, allocations: 0.8152 MB / 424.4 MB, free: 132 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0532/0.6337, allocations: 17.38 MB / 441.8 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.6439, allocations: 4.538 MB / 446.3 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003226/0.6472, allocations: 1.243 MB / 447.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004736/0.652, allocations: 2.151 MB / 449.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003926/0.6559, allocations: 1.124 MB / 450.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00192/0.6579, allocations: 216 kB / 451 MB, free: 5.406 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004249/0.6622, allocations: 2.326 MB / 453.4 MB, free: 3.074 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002117/0.6644, allocations: 376 kB / 453.7 MB, free: 2.707 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.6781, allocations: 8.154 MB / 461.9 MB, free: 10.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6782, allocations: 3.938 kB / 461.9 MB, free: 10.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.537e-06/0.6782, allocations: 0 / 461.9 MB, free: 10.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003537/0.6785, allocations: 0 / 461.9 MB, free: 10.53 MB / 394.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.02207/0.7006, allocations: 6.177 MB / 468.1 MB, free: 4.277 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.7007, allocations: 11.97 kB / 468.1 MB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.133/0.8337, allocations: 13.39 MB / 481.5 MB, free: 6.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01651/0.8503, allocations: 4.697 MB / 486.2 MB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00052/0.8509, allocations: 320 kB / 486.5 MB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002646/0.8535, allocations: 431.6 kB / 486.9 MB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04819/0.9018, allocations: 15.76 MB / 0.4909 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000334/0.9022, allocations: 59.47 kB / 0.4909 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002348/0.9045, allocations: 207.7 kB / 0.4911 GB, free: 408 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3343/1.239, allocations: 3.153 MB / 0.4942 GB, free: 118.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04264/1.282, allocations: 14.08 MB / 0.508 GB, free: 111.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1013/1.383, allocations: 57.47 MB / 0.5641 GB, free: 53.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02276/1.406, allocations: 6.592 MB / 0.5705 GB, free: 46.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03526/1.441, allocations: 14.57 MB / 0.5848 GB, free: 31.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.54e-05/1.441, allocations: 60.56 kB / 0.5848 GB, free: 31.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=289): time 8.095e-06/1.441, allocations: 0 / 0.5848 GB, free: 31.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=339): time 0.2808/1.722, allocations: 42.97 MB / 0.6268 GB, free: 4.027 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/1.722, allocations: 214 kB / 0.627 GB, free: 3.773 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01417/1.736, allocations: 5.121 MB / 0.632 GB, free: 14.67 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001069/1.738, allocations: 69.7 kB / 0.6321 GB, free: 14.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005027/1.743, allocations: 4.273 MB / 0.6362 GB, free: 10.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002628/1.745, allocations: 1.25 MB / 0.6374 GB, free: 9.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/1.747, allocations: 172 kB / 0.6376 GB, free: 8.922 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009887/1.748, allocations: 0.6827 MB / 0.6383 GB, free: 8.227 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01326/1.761, allocations: 4.608 MB / 0.6428 GB, free: 3.609 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01823/1.78, allocations: 9.524 MB / 0.6521 GB, free: 7.648 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01713/1.797, allocations: 6.479 MB / 0.6584 GB, free: 1.148 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001822/1.797, allocations: 55.95 kB / 0.6585 GB, free: 1.094 MB / 474.7 MB Notification: Performance of matching and sorting (n=1146) (initialization): time 0.4202/2.217, allocations: 18.76 MB / 0.6768 GB, free: 156.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001801/2.217, allocations: 79.62 kB / 0.6769 GB, free: 156.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003788/2.218, allocations: 173.2 kB / 0.677 GB, free: 156.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04202/2.26, allocations: 5.841 MB / 0.6827 GB, free: 156.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01383/2.274, allocations: 2.059 MB / 0.6847 GB, free: 156.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05425/2.328, allocations: 24.94 MB / 0.7091 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01355/2.342, allocations: 0.5558 MB / 0.7096 GB, free: 145.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003025/2.345, allocations: 0.5016 MB / 0.7101 GB, free: 145.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * 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 (1055): * Single equations (assignments): 1047 * 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.007992/2.353, allocations: 3.038 MB / 0.7131 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001452/2.354, allocations: 0.4958 MB / 0.7136 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05539/2.41, allocations: 12.68 MB / 0.726 GB, free: 130.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001257/2.41, allocations: 62.36 kB / 0.726 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.301e-05/2.41, allocations: 8 kB / 0.726 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-05/2.41, allocations: 15.94 kB / 0.726 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08515/2.495, allocations: 24.45 MB / 0.7499 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-05/2.495, allocations: 8 kB / 0.7499 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005875/2.501, allocations: 0.5784 MB / 0.7505 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03555/2.537, allocations: 4.837 MB / 0.7552 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008931/2.538, allocations: 56 kB / 0.7553 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04277/2.58, allocations: 20.22 MB / 0.775 GB, free: 80.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/2.581, allocations: 8 kB / 0.775 GB, free: 80.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06111/2.642, allocations: 17.82 MB / 0.7924 GB, free: 62.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00442/2.646, allocations: 1.254 MB / 0.7936 GB, free: 61.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002243/2.648, allocations: 52.94 kB / 0.7937 GB, free: 61.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006299/2.655, allocations: 264.4 kB / 0.7939 GB, free: 60.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001433/2.656, allocations: 190.5 kB / 0.7941 GB, free: 60.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000561/2.657, allocations: 93.02 kB / 0.7942 GB, free: 60.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008611/2.666, allocations: 3.595 MB / 0.7977 GB, free: 57.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.142e-06/2.666, allocations: 0 / 0.7977 GB, free: 57.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01046/2.676, allocations: 1.726 MB / 0.7994 GB, free: 55.39 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.001597/2.678, allocations: 220.9 kB / 0.7996 GB, free: 55.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02455/2.702, allocations: 10.61 MB / 0.81 GB, free: 44.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/2.702, allocations: 0 / 0.81 GB, free: 44.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009982/2.712, allocations: 4.052 MB / 0.8139 GB, free: 40.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005072/2.717, allocations: 0.5852 MB / 0.8145 GB, free: 39.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04137/2.759, allocations: 19.08 MB / 0.8332 GB, free: 20.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01012/2.769, allocations: 4.755 MB / 0.8378 GB, free: 15.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003333/2.772, allocations: 415.4 kB / 0.8382 GB, free: 15.56 MB / 490.7 MB Notification: Performance of SimCode: time 1.783e-06/2.772, allocations: 0 / 0.8382 GB, free: 15.56 MB / 490.7 MB Notification: Performance of Templates: time 0.6145/3.387, allocations: 143.5 MB / 0.9783 GB, free: 59.93 MB / 0.4948 GB