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.487/2.487, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.506e-05/2.507e-05, allocations: 0 / 299.5 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.515/0.5151, allocations: 54.86 MB / 354.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2249/0.7401, allocations: 99.49 MB / 453.8 MB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.7404, allocations: 75.97 kB / 453.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7655/1.506, allocations: 92.87 MB / 0.534 GB, free: 93.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.506, allocations: 0 / 0.534 GB, free: 93.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002988/1.506, allocations: 88 kB / 0.534 GB, free: 93.23 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01822/1.525, allocations: 4.609 MB / 0.5385 GB, free: 88.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/1.525, allocations: 12.03 kB / 0.5386 GB, free: 88.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04885/1.573, allocations: 6.733 MB / 0.5451 GB, free: 81.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02239/1.596, allocations: 6.293 MB / 0.5513 GB, free: 75.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002863/1.596, allocations: 144 kB / 0.5514 GB, free: 75.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002336/1.599, allocations: 264.3 kB / 0.5517 GB, free: 75.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01661/1.615, allocations: 6.584 MB / 0.5581 GB, free: 68.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0296/1.645, allocations: 9.558 MB / 0.5674 GB, free: 57.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002954/1.645, allocations: 67.45 kB / 0.5675 GB, free: 57.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001582/1.647, allocations: 28 kB / 0.5675 GB, free: 57.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002291/1.649, allocations: 1.02 MB / 0.5685 GB, free: 56.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06506/1.714, allocations: 45.93 MB / 0.6134 GB, free: 9.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005486/1.72, allocations: 3.068 MB / 0.6164 GB, free: 6.469 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003461/1.723, allocations: 1.725 MB / 0.618 GB, free: 4.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002434/1.726, allocations: 1.939 MB / 0.6199 GB, free: 2.488 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.358e-05/1.726, allocations: 55.86 kB / 0.62 GB, free: 2.422 MB / 426.7 MB Notification: Performance of pre-optimization done (n=186): time 7.754e-06/1.726, allocations: 0 / 0.62 GB, free: 2.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=242): time 0.1221/1.848, allocations: 26.23 MB / 0.6456 GB, free: 8.191 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/1.848, allocations: 213.9 kB / 0.6458 GB, free: 7.938 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008008/1.856, allocations: 3.265 MB / 0.649 GB, free: 4.648 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007123/1.857, allocations: 29.7 kB / 0.649 GB, free: 4.613 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003819/1.861, allocations: 3.278 MB / 0.6522 GB, free: 1.289 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001742/1.863, allocations: 0.8749 MB / 0.6531 GB, free: 412 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008891/1.864, allocations: 0 / 0.6531 GB, free: 412 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005942/1.864, allocations: 0.5828 MB / 0.6537 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008143/1.872, allocations: 3.305 MB / 0.6569 GB, free: 12.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/1.884, allocations: 7.028 MB / 0.6638 GB, free: 3.605 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3566/2.241, allocations: 4.715 MB / 0.6684 GB, free: 124.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001532/2.241, allocations: 37.38 kB / 0.6684 GB, free: 124.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=852) (initialization): time 0.06294/2.304, allocations: 14.66 MB / 0.6827 GB, free: 123.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/2.304, allocations: 64 kB / 0.6828 GB, free: 123.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001846/2.304, allocations: 134.9 kB / 0.6829 GB, free: 123.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04105/2.346, allocations: 5.92 MB / 0.6887 GB, free: 123.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01078/2.356, allocations: 1.49 MB / 0.6901 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06868/2.425, allocations: 22.88 MB / 0.7125 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01187/2.437, allocations: 271.6 kB / 0.7127 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003234/2.44, allocations: 391 kB / 0.7131 GB, free: 114.1 MB / 474.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.003124/2.444, allocations: 453 kB / 0.7135 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05075/2.494, allocations: 10.6 MB / 0.7239 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/2.496, allocations: 376.6 kB / 0.7243 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04929/2.545, allocations: 10.56 MB / 0.7346 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.206e-05/2.545, allocations: 24 kB / 0.7346 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/2.545, allocations: 12 kB / 0.7346 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.505e-05/2.545, allocations: 16.23 kB / 0.7346 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06799/2.613, allocations: 19.46 MB / 0.7536 GB, free: 82.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/2.613, allocations: 4 kB / 0.7536 GB, free: 82.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003887/2.617, allocations: 390.6 kB / 0.754 GB, free: 81.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03628/2.654, allocations: 4.975 MB / 0.7589 GB, free: 76.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006893/2.654, allocations: 11.44 kB / 0.7589 GB, free: 76.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03901/2.693, allocations: 18.44 MB / 0.7769 GB, free: 58.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/2.693, allocations: 11.83 kB / 0.7769 GB, free: 58.19 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05228/2.746, allocations: 14.36 MB / 0.7909 GB, free: 43.61 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00353/2.749, allocations: 0.9259 MB / 0.7918 GB, free: 42.67 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001678/2.751, allocations: 11.98 kB / 0.7918 GB, free: 42.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004895/2.756, allocations: 131.8 kB / 0.792 GB, free: 42.53 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/2.757, allocations: 156.1 kB / 0.7921 GB, free: 42.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004266/2.758, allocations: 73.88 kB / 0.7922 GB, free: 42.31 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005688/2.763, allocations: 2.206 MB / 0.7943 GB, free: 40.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.823e-06/2.764, allocations: 0 / 0.7943 GB, free: 40.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008855/2.772, allocations: 1.165 MB / 0.7955 GB, free: 38.94 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 (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.05336/2.826, allocations: 16.18 MB / 0.8113 GB, free: 22.62 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01688/2.843, allocations: 7.627 MB / 0.8187 GB, free: 15 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/2.843, allocations: 0 / 0.8187 GB, free: 15 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006856/2.85, allocations: 3.029 MB / 0.8217 GB, free: 11.97 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004188/2.854, allocations: 397.3 kB / 0.8221 GB, free: 11.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03476/2.889, allocations: 11.17 MB / 0.833 GB, free: 328 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009316/2.898, allocations: 3.602 MB / 0.8365 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01097/2.909, allocations: 2.047 MB / 0.8385 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006228/2.915, allocations: 2.061 MB / 0.8405 GB, free: 8.602 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/2.915, allocations: 0 / 0.8405 GB, free: 8.602 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5782/3.494, allocations: 103.5 MB / 0.9416 GB, free: 74.99 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004197/3.494, allocations: 154.7 kB / 0.9418 GB, free: 74.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.034/9.528, allocations: 0 / 0.9418 GB, free: 74.79 MB / 490.7 MB 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