Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.336/2.336, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.91e-05/3.927e-05, allocations: 3.984 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4045, allocations: 54.85 MB / 359.9 MB, free: 2.766 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.5929, allocations: 100.2 MB / 460 MB, free: 12.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004065/0.5934, allocations: 71.97 kB / 460.1 MB, free: 12.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7385/1.332, allocations: 94.7 MB / 0.5418 GB, free: 103 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.156e-06/1.332, allocations: 0 / 0.5418 GB, free: 103 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003585/1.332, allocations: 91.47 kB / 0.5419 GB, free: 102.9 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.02043/1.353, allocations: 4.609 MB / 0.5464 GB, free: 101.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.183e-05/1.353, allocations: 9.75 kB / 0.5464 GB, free: 101.1 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004758/1.358, allocations: 0.9095 MB / 0.5473 GB, free: 101 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0502/1.408, allocations: 6.737 MB / 0.5539 GB, free: 100.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02386/1.432, allocations: 6.306 MB / 0.56 GB, free: 100 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004287/1.432, allocations: 326.7 kB / 0.5603 GB, free: 100 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00261/1.435, allocations: 439.7 kB / 0.5607 GB, free: 100 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03419/1.469, allocations: 10.98 MB / 0.5715 GB, free: 96.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003214/1.47, allocations: 70.53 kB / 0.5715 GB, free: 96.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001705/1.471, allocations: 207.8 kB / 0.5717 GB, free: 96.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00214/1.473, allocations: 1.021 MB / 0.5727 GB, free: 95.96 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02847/1.502, allocations: 9.161 MB / 0.5817 GB, free: 93.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07042/1.572, allocations: 47.58 MB / 0.6281 GB, free: 54.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01735/1.59, allocations: 4.1 MB / 0.6321 GB, free: 50.58 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003606/1.593, allocations: 1.786 MB / 0.6339 GB, free: 48.94 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01597/1.61, allocations: 7.513 MB / 0.6412 GB, free: 41.45 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/1.61, allocations: 51.5 kB / 0.6413 GB, free: 41.39 MB / 458.7 MB Notification: Performance of pre-optimization done (n=180): time 5.42e-06/1.61, allocations: 0 / 0.6413 GB, free: 41.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=236): time 0.1431/1.753, allocations: 25.69 MB / 0.6664 GB, free: 15.69 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/1.753, allocations: 207.8 kB / 0.6666 GB, free: 15.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007547/1.76, allocations: 3.76 MB / 0.6702 GB, free: 11.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006668/1.761, allocations: 57.7 kB / 0.6703 GB, free: 11.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002623/1.764, allocations: 3.236 MB / 0.6734 GB, free: 8.367 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001415/1.765, allocations: 0.8743 MB / 0.6743 GB, free: 7.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008034/1.766, allocations: 124 kB / 0.6744 GB, free: 7.379 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003749/1.766, allocations: 0.5705 MB / 0.675 GB, free: 6.801 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007408/1.774, allocations: 3.363 MB / 0.6783 GB, free: 3.434 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01134/1.785, allocations: 6.964 MB / 0.6851 GB, free: 10.67 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01485/1.8, allocations: 4.742 MB / 0.6897 GB, free: 5.934 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000175/1.8, allocations: 40 kB / 0.6897 GB, free: 5.895 MB / 474.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.08953/1.89, allocations: 15.33 MB / 0.7047 GB, free: 6.551 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001839/1.89, allocations: 60 kB / 0.7048 GB, free: 6.492 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002933/1.891, allocations: 124 kB / 0.7049 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09876/1.989, allocations: 5.921 MB / 0.7107 GB, free: 448 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3379/2.327, allocations: 1.427 MB / 0.712 GB, free: 119.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05924/2.387, allocations: 24.95 MB / 0.7364 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008574/2.395, allocations: 395.4 kB / 0.7368 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001517/2.397, allocations: 378.1 kB / 0.7371 GB, free: 114.6 MB / 490.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.001684/2.398, allocations: 0.5776 MB / 0.7377 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/2.4, allocations: 400.1 kB / 0.7381 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04878/2.448, allocations: 10.76 MB / 0.7486 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-05/2.448, allocations: 32.56 kB / 0.7486 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/2.448, allocations: 10.12 kB / 0.7486 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.983e-05/2.449, allocations: 7.266 kB / 0.7486 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07066/2.519, allocations: 20.14 MB / 0.7683 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.342e-05/2.519, allocations: 5.938 kB / 0.7683 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0038/2.523, allocations: 393.6 kB / 0.7687 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03614/2.559, allocations: 4.993 MB / 0.7736 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000699/2.56, allocations: 38.09 kB / 0.7736 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04268/2.603, allocations: 20.15 MB / 0.7933 GB, free: 93.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/2.603, allocations: 6.406 kB / 0.7933 GB, free: 93.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05263/2.655, allocations: 14.5 MB / 0.8075 GB, free: 82.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003645/2.659, allocations: 0.9526 MB / 0.8084 GB, free: 81.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001534/2.661, allocations: 44 kB / 0.8084 GB, free: 81.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005079/2.666, allocations: 168.9 kB / 0.8086 GB, free: 81.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001218/2.667, allocations: 158.6 kB / 0.8087 GB, free: 81.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003652/2.668, allocations: 62.19 kB / 0.8088 GB, free: 80.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00669/2.674, allocations: 2.639 MB / 0.8114 GB, free: 78.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.232e-06/2.674, allocations: 0 / 0.8114 GB, free: 78.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008422/2.683, allocations: 1.32 MB / 0.8127 GB, free: 77 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 (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.05356/2.736, allocations: 16.3 MB / 0.8286 GB, free: 60.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0172/2.754, allocations: 7.849 MB / 0.8363 GB, free: 53.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/2.754, allocations: 4 kB / 0.8363 GB, free: 53.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006892/2.761, allocations: 3.075 MB / 0.8393 GB, free: 49.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004332/2.765, allocations: 0.4905 MB / 0.8397 GB, free: 49.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03464/2.8, allocations: 11.39 MB / 0.8509 GB, free: 38.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007344/2.807, allocations: 3.603 MB / 0.8544 GB, free: 34.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009038/2.816, allocations: 1.97 MB / 0.8563 GB, free: 32.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005048/2.821, allocations: 2.069 MB / 0.8583 GB, free: 30.55 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/2.821, allocations: 0 / 0.8583 GB, free: 30.55 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5859/3.407, allocations: 109.6 MB / 0.9653 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/3.408, allocations: 179.3 kB / 0.9655 GB, free: 107 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.8/9.208, allocations: 11.94 kB / 0.9655 GB, free: 107 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat