Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.287/2.287, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.503e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4776/0.5875, allocations: 93.35 MB / 415.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/0.5879, allocations: 75.22 kB / 415.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7085/1.296, allocations: 94.65 MB / 0.498 GB, free: 93.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.535e-06/1.296, allocations: 3.812 kB / 0.498 GB, free: 93.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003876/1.297, allocations: 86.56 kB / 0.4981 GB, free: 93.04 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1534 * Number of variables: 1534 Notification: Performance of Generate backend data structure: time 0.022/1.319, allocations: 4.612 MB / 0.5026 GB, free: 91.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/1.319, allocations: 10.7 kB / 0.5026 GB, free: 91.67 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004917/1.324, allocations: 0.9067 MB / 0.5035 GB, free: 91.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0513/1.375, allocations: 6.74 MB / 0.51 GB, free: 91.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02584/1.401, allocations: 6.305 MB / 0.5162 GB, free: 90.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000566/1.402, allocations: 325.5 kB / 0.5165 GB, free: 90.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002873/1.405, allocations: 440 kB / 0.5169 GB, free: 90.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03505/1.44, allocations: 10.92 MB / 0.5276 GB, free: 87.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003637/1.44, allocations: 71.02 kB / 0.5277 GB, free: 87.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00218/1.442, allocations: 208.9 kB / 0.5279 GB, free: 87.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00234/1.445, allocations: 1.015 MB / 0.5289 GB, free: 87.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02914/1.474, allocations: 8.978 MB / 0.5376 GB, free: 87.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06842/1.542, allocations: 47.57 MB / 0.5841 GB, free: 52.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01733/1.56, allocations: 4.096 MB / 0.5881 GB, free: 50.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003591/1.563, allocations: 1.786 MB / 0.5898 GB, free: 50.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01622/1.58, allocations: 7.505 MB / 0.5972 GB, free: 45.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/1.58, allocations: 54.31 kB / 0.5972 GB, free: 45.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 5.991e-06/1.58, allocations: 0 / 0.5972 GB, free: 45.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=236): time 0.1467/1.727, allocations: 25.69 MB / 0.6223 GB, free: 26.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/1.727, allocations: 205.9 kB / 0.6225 GB, free: 26.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0092/1.736, allocations: 3.76 MB / 0.6262 GB, free: 22.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007293/1.737, allocations: 61.7 kB / 0.6262 GB, free: 22.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002782/1.74, allocations: 3.109 MB / 0.6293 GB, free: 19.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001537/1.741, allocations: 0.8745 MB / 0.6301 GB, free: 18.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/1.742, allocations: 124 kB / 0.6302 GB, free: 18.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005336/1.743, allocations: 0.5714 MB / 0.6308 GB, free: 17.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007757/1.751, allocations: 3.37 MB / 0.6341 GB, free: 14.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01017/1.761, allocations: 6.925 MB / 0.6408 GB, free: 5.512 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009863/1.771, allocations: 4.744 MB / 0.6455 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/1.771, allocations: 36 kB / 0.6455 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.06744/1.838, allocations: 14.81 MB / 0.66 GB, free: 1.918 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/1.839, allocations: 60 kB / 0.66 GB, free: 1.859 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002151/1.839, allocations: 128.8 kB / 0.6602 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3503/2.189, allocations: 5.924 MB / 0.6659 GB, free: 95.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/2.199, allocations: 1.43 MB / 0.6673 GB, free: 95.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05583/2.255, allocations: 24.95 MB / 0.6917 GB, free: 92.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008892/2.264, allocations: 394.6 kB / 0.6921 GB, free: 92.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001591/2.266, allocations: 377.9 kB / 0.6924 GB, free: 92.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * 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 (743): * Single equations (assignments): 738 * 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.002035/2.268, allocations: 0.5835 MB / 0.693 GB, free: 92.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/2.269, allocations: 396.4 kB / 0.6934 GB, free: 92.17 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05022/2.319, allocations: 10.75 MB / 0.7039 GB, free: 89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-05/2.32, allocations: 27.58 kB / 0.7039 GB, free: 89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.148e-05/2.32, allocations: 14.56 kB / 0.7039 GB, free: 89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.992e-05/2.32, allocations: 10.27 kB / 0.7039 GB, free: 89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07219/2.392, allocations: 20.14 MB / 0.7236 GB, free: 81.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.443e-05/2.392, allocations: 3.844 kB / 0.7236 GB, free: 81.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003804/2.396, allocations: 382.3 kB / 0.724 GB, free: 81.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03659/2.432, allocations: 4.991 MB / 0.7289 GB, free: 80.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006758/2.433, allocations: 45.89 kB / 0.7289 GB, free: 80.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04235/2.475, allocations: 20.15 MB / 0.7486 GB, free: 70.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/2.476, allocations: 11.12 kB / 0.7486 GB, free: 70.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0525/2.528, allocations: 14.5 MB / 0.7627 GB, free: 59.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003551/2.532, allocations: 0.9589 MB / 0.7637 GB, free: 58.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00161/2.533, allocations: 39.95 kB / 0.7637 GB, free: 58.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005138/2.538, allocations: 173.9 kB / 0.7639 GB, free: 58.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001092/2.54, allocations: 154.5 kB / 0.764 GB, free: 58.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004049/2.54, allocations: 61.8 kB / 0.7641 GB, free: 58.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006577/2.547, allocations: 2.651 MB / 0.7667 GB, free: 55.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.91e-07/2.547, allocations: 0 / 0.7667 GB, free: 55.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009316/2.556, allocations: 1.321 MB / 0.768 GB, free: 54.19 MB / 442.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 (167): * Single equations (assignments): 162 * 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.05372/2.61, allocations: 16.31 MB / 0.7839 GB, free: 37.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.017/2.627, allocations: 7.656 MB / 0.7914 GB, free: 30.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/2.627, allocations: 0 / 0.7914 GB, free: 30.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006992/2.634, allocations: 3.046 MB / 0.7943 GB, free: 27.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004365/2.638, allocations: 485.8 kB / 0.7948 GB, free: 26.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03533/2.674, allocations: 11.89 MB / 0.8064 GB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007563/2.681, allocations: 3.608 MB / 0.8099 GB, free: 11.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005407/2.687, allocations: 2.108 MB / 0.812 GB, free: 9.281 MB / 442.7 MB Notification: Performance of SimCode: time 1.734e-06/2.687, allocations: 0 / 0.812 GB, free: 9.281 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.935/7.622, allocations: 131 MB / 0.94 GB, free: 45.5 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat