Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.258/2.258, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.456e-05/4.47e-05, allocations: 0 / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4716, allocations: 54.85 MB / 359.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/0.6577, allocations: 101.1 MB / 460.9 MB, free: 11.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.6581, allocations: 75.97 kB / 461 MB, free: 11.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8128/1.471, allocations: 103.3 MB / 0.5511 GB, free: 102.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.364e-06/1.471, allocations: 0 / 0.5511 GB, free: 102.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004717/1.471, allocations: 100.1 kB / 0.5512 GB, free: 102.6 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.02915/1.501, allocations: 5.203 MB / 0.5562 GB, free: 100.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/1.501, allocations: 11.06 kB / 0.5563 GB, free: 100.5 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005789/1.506, allocations: 1.016 MB / 0.5573 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05931/1.566, allocations: 6.89 MB / 0.564 GB, free: 100 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0256/1.591, allocations: 7.475 MB / 0.5713 GB, free: 99.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00049/1.592, allocations: 375.9 kB / 0.5716 GB, free: 99.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002836/1.595, allocations: 0.4999 MB / 0.5721 GB, free: 99.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0357/1.631, allocations: 12.19 MB / 0.584 GB, free: 92.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003382/1.631, allocations: 79 kB / 0.5841 GB, free: 92.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001913/1.633, allocations: 238.5 kB / 0.5843 GB, free: 92.62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002382/1.635, allocations: 1.141 MB / 0.5854 GB, free: 92.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03217/1.668, allocations: 9.937 MB / 0.5951 GB, free: 89.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1006/1.768, allocations: 55.61 MB / 0.6495 GB, free: 34.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02395/1.792, allocations: 5.653 MB / 0.655 GB, free: 28.31 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005128/1.797, allocations: 2.819 MB / 0.6577 GB, free: 25.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02085/1.818, allocations: 8.799 MB / 0.6663 GB, free: 16.58 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/1.818, allocations: 67.64 kB / 0.6664 GB, free: 16.51 MB / 458.7 MB Notification: Performance of pre-optimization done (n=206): time 5.911e-06/1.818, allocations: 0 / 0.6664 GB, free: 16.51 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.1763/1.995, allocations: 29.41 MB / 0.6951 GB, free: 3.105 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/1.995, allocations: 209.9 kB / 0.6953 GB, free: 2.855 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.353/2.348, allocations: 4.16 MB / 0.6994 GB, free: 107.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008658/2.349, allocations: 67.2 kB / 0.6994 GB, free: 107.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004529/2.354, allocations: 3.59 MB / 0.7029 GB, free: 106.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001919/2.356, allocations: 0.9745 MB / 0.7039 GB, free: 106.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001277/2.357, allocations: 135.8 kB / 0.704 GB, free: 106.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000786/2.358, allocations: 0.5885 MB / 0.7046 GB, free: 105.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008795/2.367, allocations: 2.946 MB / 0.7075 GB, free: 105.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01218/2.379, allocations: 6.695 MB / 0.714 GB, free: 100.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01195/2.391, allocations: 4.415 MB / 0.7183 GB, free: 100.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002882/2.391, allocations: 38.97 kB / 0.7184 GB, free: 100.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.045/2.436, allocations: 12.57 MB / 0.7306 GB, free: 98.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001605/2.436, allocations: 61.62 kB / 0.7307 GB, free: 98.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000222/2.437, allocations: 136.9 kB / 0.7308 GB, free: 98.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02123/2.458, allocations: 4.081 MB / 0.7348 GB, free: 97.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009323/2.467, allocations: 1.409 MB / 0.7362 GB, free: 97.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05785/2.525, allocations: 25.81 MB / 0.7614 GB, free: 84.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009093/2.534, allocations: 400.6 kB / 0.7618 GB, free: 84.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001773/2.536, allocations: 403.2 kB / 0.7622 GB, free: 84.29 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * 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 (760): * Single equations (assignments): 754 * 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.002721/2.539, allocations: 0.5987 MB / 0.7627 GB, free: 83.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001356/2.54, allocations: 441.4 kB / 0.7632 GB, free: 83.56 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02927/2.57, allocations: 8.068 MB / 0.771 GB, free: 80.82 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.15e-05/2.57, allocations: 29.62 kB / 0.7711 GB, free: 80.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-05/2.57, allocations: 10.81 kB / 0.7711 GB, free: 80.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.863e-05/2.57, allocations: 10.5 kB / 0.7711 GB, free: 80.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05414/2.624, allocations: 16.65 MB / 0.7874 GB, free: 73.06 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-05/2.624, allocations: 4 kB / 0.7874 GB, free: 73.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002869/2.627, allocations: 300.9 kB / 0.7876 GB, free: 72.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01914/2.646, allocations: 3.768 MB / 0.7913 GB, free: 70.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007328/2.647, allocations: 44.7 kB / 0.7914 GB, free: 70.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05121/2.698, allocations: 24.55 MB / 0.8153 GB, free: 48.38 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.457e-06/2.698, allocations: 11.94 kB / 0.8154 GB, free: 48.37 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0336/2.732, allocations: 12.56 MB / 0.8276 GB, free: 36.06 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003492/2.735, allocations: 0.949 MB / 0.8285 GB, free: 35.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001634/2.737, allocations: 48.78 kB / 0.8286 GB, free: 35.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004791/2.742, allocations: 167.8 kB / 0.8288 GB, free: 34.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001153/2.743, allocations: 195.5 kB / 0.8289 GB, free: 34.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000361/2.743, allocations: 69.39 kB / 0.829 GB, free: 34.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00774/2.751, allocations: 2.946 MB / 0.8319 GB, free: 31.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.032e-06/2.751, allocations: 0 / 0.8319 GB, free: 31.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0104/2.762, allocations: 1.424 MB / 0.8333 GB, free: 30.27 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 (161): * Single equations (assignments): 155 * 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.03643/2.798, allocations: 14.33 MB / 0.8473 GB, free: 15.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02104/2.819, allocations: 7.775 MB / 0.8549 GB, free: 7.938 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/2.819, allocations: 4 kB / 0.8549 GB, free: 7.934 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009651/2.829, allocations: 3.357 MB / 0.8581 GB, free: 4.539 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005496/2.835, allocations: 0.5563 MB / 0.8587 GB, free: 4.008 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04424/2.879, allocations: 12.02 MB / 0.8704 GB, free: 7.883 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01068/2.89, allocations: 4.044 MB / 0.8744 GB, free: 3.832 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.3569/3.247, allocations: 2.021 MB / 0.8763 GB, free: 110.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005866/3.253, allocations: 2.386 MB / 0.8787 GB, free: 110.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.763e-06/3.253, allocations: 2.562 kB / 0.8787 GB, free: 110.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3416/3.594, allocations: 116.8 MB / 0.9927 GB, free: 49.62 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/3.594, allocations: 200 kB / 0.9929 GB, free: 49.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.465/10.06, allocations: 0 / 0.9929 GB, free: 49.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat