Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadModel(ModelicaTest): time 2.567/2.567, allocations: 234.9 MB / 250.1 MB, free: 10.78 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.102e-05, allocations: 4 kB / 308 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3661, allocations: 54.87 MB / 362.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.07722/0.4434, allocations: 49.19 MB / 412 MB, free: 10.56 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.035/0.4784, allocations: 11.29 MB / 423.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01261/0.4911, allocations: 271.4 kB / 423.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0098/0.501, allocations: 2.594 MB / 426.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0288/0.5298, allocations: 7.105 MB / 433.3 MB, free: 5.234 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00526/0.5351, allocations: 0.8659 MB / 434.2 MB, free: 4.367 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0513/0.5865, allocations: 17.34 MB / 451.5 MB, free: 3.012 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0112/0.5977, allocations: 5.004 MB / 456.5 MB, free: 13.96 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00318/0.601, allocations: 1.087 MB / 457.6 MB, free: 12.87 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004061/0.6051, allocations: 1.664 MB / 459.3 MB, free: 11.2 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0037/0.6088, allocations: 1.065 MB / 460.3 MB, free: 10.13 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001624/0.6105, allocations: 164 kB / 460.5 MB, free: 9.973 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003512/0.6141, allocations: 1.933 MB / 462.4 MB, free: 8.035 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001943/0.616, allocations: 343.9 kB / 462.8 MB, free: 7.699 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.6279, allocations: 6.936 MB / 469.7 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.628, allocations: 0 / 469.7 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.628, allocations: 0 / 469.7 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003239/0.6283, allocations: 4 kB / 469.7 MB, free: 0.7422 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.02014/0.6485, allocations: 5.171 MB / 474.9 MB, free: 11.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.6485, allocations: 11.97 kB / 474.9 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5027/1.151, allocations: 11.61 MB / 486.5 MB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02001/1.171, allocations: 4.519 MB / 491 MB, free: 106.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005007/1.172, allocations: 283.6 kB / 491.3 MB, free: 106.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002117/1.174, allocations: 386.5 kB / 491.7 MB, free: 106 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03158/1.206, allocations: 12.05 MB / 0.4919 GB, free: 98.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002438/1.206, allocations: 63.94 kB / 0.492 GB, free: 98.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001207/1.207, allocations: 181.7 kB / 0.4921 GB, free: 98.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004612/1.212, allocations: 2.08 MB / 0.4942 GB, free: 96.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03088/1.243, allocations: 10.3 MB / 0.5042 GB, free: 86.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07615/1.319, allocations: 47.38 MB / 0.5505 GB, free: 38.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02457/1.344, allocations: 5.878 MB / 0.5562 GB, free: 32.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01982/1.363, allocations: 8.877 MB / 0.5649 GB, free: 23.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/1.364, allocations: 53.19 kB / 0.565 GB, free: 23.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=206): time 5.78e-06/1.364, allocations: 0 / 0.565 GB, free: 23.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=262): time 0.2251/1.589, allocations: 35.6 MB / 0.5997 GB, free: 3.363 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/1.589, allocations: 217.8 kB / 0.5999 GB, free: 3.105 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01153/1.6, allocations: 4.616 MB / 0.6044 GB, free: 14.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007367/1.601, allocations: 61.7 kB / 0.6045 GB, free: 14.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003923/1.605, allocations: 3.429 MB / 0.6078 GB, free: 10.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001874/1.607, allocations: 0.9599 MB / 0.6088 GB, free: 9.992 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008812/1.608, allocations: 136 kB / 0.6089 GB, free: 9.859 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005527/1.609, allocations: 0.5879 MB / 0.6095 GB, free: 9.262 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008399/1.617, allocations: 3 MB / 0.6124 GB, free: 6.258 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01183/1.629, allocations: 6.764 MB / 0.619 GB, free: 13.63 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/1.64, allocations: 4.418 MB / 0.6233 GB, free: 9.207 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001197/1.641, allocations: 40 kB / 0.6234 GB, free: 9.168 MB / 458.7 MB Notification: Performance of matching and sorting (n=869) (initialization): time 0.04665/1.687, allocations: 12.96 MB / 0.636 GB, free: 12.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/1.687, allocations: 67.98 kB / 0.6361 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000226/1.688, allocations: 135.9 kB / 0.6362 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02422/1.712, allocations: 4.245 MB / 0.6404 GB, free: 7.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009262/1.721, allocations: 1.411 MB / 0.6417 GB, free: 6.316 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3873/2.109, allocations: 27.4 MB / 0.6685 GB, free: 139.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008272/2.117, allocations: 399.3 kB / 0.6689 GB, free: 139.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001554/2.118, allocations: 401 kB / 0.6693 GB, free: 139.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 39 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (753): * Single equations (assignments): 747 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.0062/2.125, allocations: 2.425 MB / 0.6716 GB, free: 138.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/2.126, allocations: 446.7 kB / 0.6721 GB, free: 138.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02765/2.154, allocations: 8.231 MB / 0.6801 GB, free: 135.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.584e-05/2.154, allocations: 28.27 kB / 0.6801 GB, free: 135.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.058e-05/2.154, allocations: 11.5 kB / 0.6801 GB, free: 135.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.795e-05/2.154, allocations: 14.78 kB / 0.6802 GB, free: 135.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06293/2.217, allocations: 16.89 MB / 0.6967 GB, free: 120.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.095e-05/2.217, allocations: 4 kB / 0.6967 GB, free: 120.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002776/2.22, allocations: 306.9 kB / 0.6969 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01957/2.239, allocations: 3.938 MB / 0.7008 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007526/2.24, allocations: 48 kB / 0.7008 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05526/2.295, allocations: 26.21 MB / 0.7264 GB, free: 89.99 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/2.295, allocations: 8 kB / 0.7264 GB, free: 89.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03558/2.331, allocations: 12.76 MB / 0.7389 GB, free: 77.07 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003467/2.335, allocations: 0.9715 MB / 0.7398 GB, free: 76.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001675/2.336, allocations: 44 kB / 0.7399 GB, free: 76.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004642/2.341, allocations: 172.3 kB / 0.7401 GB, free: 75.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001186/2.342, allocations: 198.5 kB / 0.7402 GB, free: 75.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003431/2.343, allocations: 72.7 kB / 0.7403 GB, free: 75.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007441/2.35, allocations: 3.305 MB / 0.7435 GB, free: 72.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.21e-07/2.35, allocations: 0 / 0.7435 GB, free: 72.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008424/2.358, allocations: 1.44 MB / 0.7449 GB, free: 70.87 MB / 474.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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001163/2.36, allocations: 200.7 kB / 0.7451 GB, free: 70.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02035/2.38, allocations: 8.111 MB / 0.7531 GB, free: 62.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/2.38, allocations: 0 / 0.7531 GB, free: 62.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009705/2.39, allocations: 3.509 MB / 0.7565 GB, free: 59.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004815/2.395, allocations: 0.5486 MB / 0.757 GB, free: 58.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03226/2.427, allocations: 14.89 MB / 0.7716 GB, free: 43.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008078/2.435, allocations: 4.034 MB / 0.7755 GB, free: 39.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001892/2.437, allocations: 331.3 kB / 0.7758 GB, free: 39.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.693e-06/2.437, allocations: 4 kB / 0.7758 GB, free: 39.19 MB / 474.7 MB Notification: Performance of Templates: time 0.581/3.018, allocations: 135.5 MB / 0.9081 GB, free: 84.41 MB / 490.7 MB