Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.502/2.502, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.692e-05/2.702e-05, allocations: 4 kB / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3726, allocations: 54.85 MB / 354.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1989/0.5715, allocations: 99.49 MB / 453.9 MB, free: 11.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.5719, allocations: 79.95 kB / 454 MB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7299/1.302, allocations: 92.86 MB / 0.5341 GB, free: 30.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.306e-06/1.302, allocations: 0 / 0.5341 GB, free: 30.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003269/1.302, allocations: 87.94 kB / 0.5341 GB, free: 30.71 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.0189/1.321, allocations: 4.605 MB / 0.5386 GB, free: 26.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/1.321, allocations: 16.03 kB / 0.5386 GB, free: 26.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05422/1.375, allocations: 6.729 MB / 0.5452 GB, free: 19.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02402/1.4, allocations: 6.301 MB / 0.5514 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/1.4, allocations: 140 kB / 0.5515 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002332/1.402, allocations: 260.3 kB / 0.5518 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0171/1.419, allocations: 6.584 MB / 0.5582 GB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02706/1.446, allocations: 9.558 MB / 0.5675 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003779/1.447, allocations: 67.39 kB / 0.5676 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002148/1.449, allocations: 32 kB / 0.5676 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002808/1.452, allocations: 1.015 MB / 0.5686 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08542/1.537, allocations: 45.93 MB / 0.6135 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007562/1.545, allocations: 3.077 MB / 0.6165 GB, free: 7.637 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004476/1.55, allocations: 1.725 MB / 0.6181 GB, free: 5.898 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003334/1.553, allocations: 1.933 MB / 0.62 GB, free: 3.648 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.385e-05/1.553, allocations: 55.81 kB / 0.6201 GB, free: 3.586 MB / 458.7 MB Notification: Performance of pre-optimization done (n=186): time 6.432e-06/1.553, allocations: 0 / 0.6201 GB, free: 3.586 MB / 458.7 MB Notification: Performance of matching and sorting (n=242): time 0.5041/2.057, allocations: 26.23 MB / 0.6457 GB, free: 103.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/2.057, allocations: 206.9 kB / 0.6459 GB, free: 103.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007524/2.065, allocations: 3.268 MB / 0.6491 GB, free: 103.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007234/2.066, allocations: 25.7 kB / 0.6491 GB, free: 103.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003057/2.069, allocations: 3.281 MB / 0.6523 GB, free: 101.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001587/2.07, allocations: 0.8682 MB / 0.6532 GB, free: 101 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/2.071, allocations: 0 / 0.6532 GB, free: 101 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005659/2.072, allocations: 0.5893 MB / 0.6537 GB, free: 100.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008048/2.08, allocations: 3.304 MB / 0.657 GB, free: 100.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01106/2.091, allocations: 7.035 MB / 0.6638 GB, free: 95.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/2.102, allocations: 4.712 MB / 0.6684 GB, free: 93.55 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001436/2.102, allocations: 41.41 kB / 0.6685 GB, free: 93.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=852) (initialization): time 0.06939/2.172, allocations: 14.68 MB / 0.6828 GB, free: 89.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/2.172, allocations: 63.5 kB / 0.6829 GB, free: 89.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002187/2.172, allocations: 129.4 kB / 0.683 GB, free: 89.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04709/2.219, allocations: 5.919 MB / 0.6888 GB, free: 88.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0104/2.23, allocations: 1.486 MB / 0.6902 GB, free: 86.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05247/2.282, allocations: 22.89 MB / 0.7126 GB, free: 67.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009183/2.292, allocations: 274.5 kB / 0.7128 GB, free: 66.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001745/2.293, allocations: 394.9 kB / 0.7132 GB, free: 66.44 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (775): * Single equations (assignments): 770 * Array equations: 3 * 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 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002324/2.296, allocations: 446.3 kB / 0.7136 GB, free: 66 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05296/2.349, allocations: 10.6 MB / 0.724 GB, free: 56.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/2.35, allocations: 375.2 kB / 0.7244 GB, free: 56.47 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05344/2.404, allocations: 10.56 MB / 0.7347 GB, free: 45.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.23e-05/2.404, allocations: 28 kB / 0.7347 GB, free: 45.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.291e-05/2.404, allocations: 12.52 kB / 0.7347 GB, free: 45.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.291e-05/2.404, allocations: 7.969 kB / 0.7347 GB, free: 45.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07611/2.48, allocations: 19.44 MB / 0.7537 GB, free: 25.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-05/2.48, allocations: 4.062 kB / 0.7537 GB, free: 25.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0041/2.484, allocations: 395.4 kB / 0.7541 GB, free: 25.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04085/2.525, allocations: 4.974 MB / 0.759 GB, free: 20.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005995/2.526, allocations: 11 kB / 0.759 GB, free: 20.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04334/2.569, allocations: 18.45 MB / 0.777 GB, free: 1.918 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.38e-05/2.569, allocations: 15.94 kB / 0.777 GB, free: 1.902 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06394/2.633, allocations: 14.36 MB / 0.791 GB, free: 3.293 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003904/2.637, allocations: 0.9295 MB / 0.7919 GB, free: 2.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001457/2.639, allocations: 11.88 kB / 0.7919 GB, free: 2.332 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004871/2.643, allocations: 135.8 kB / 0.7921 GB, free: 2.199 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001163/2.645, allocations: 161 kB / 0.7922 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000428/2.645, allocations: 67.98 kB / 0.7923 GB, free: 1.977 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006261/2.651, allocations: 2.206 MB / 0.7944 GB, free: 15.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.122e-06/2.651, allocations: 0 / 0.7944 GB, free: 15.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009751/2.661, allocations: 1.16 MB / 0.7956 GB, free: 14.61 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 (173): * Single equations (assignments): 168 * Array equations: 3 * 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 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4274/3.089, allocations: 16.17 MB / 0.8114 GB, free: 125.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01708/3.106, allocations: 7.627 MB / 0.8188 GB, free: 125.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/3.106, allocations: 0 / 0.8188 GB, free: 125.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006938/3.113, allocations: 3.031 MB / 0.8218 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/3.117, allocations: 404.1 kB / 0.8222 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03339/3.15, allocations: 11.16 MB / 0.8331 GB, free: 122.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007581/3.158, allocations: 3.6 MB / 0.8366 GB, free: 121.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01099/3.169, allocations: 2.052 MB / 0.8386 GB, free: 121.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005687/3.175, allocations: 2.054 MB / 0.8406 GB, free: 119.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.473e-06/3.175, allocations: 0 / 0.8406 GB, free: 119.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2535/3.428, allocations: 103.6 MB / 0.9417 GB, free: 36.57 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002484/3.429, allocations: 159.2 kB / 0.9419 GB, free: 36.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.73/9.158, allocations: 0 / 0.9419 GB, free: 36.38 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat