Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.889/1.889, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.323e-05/4.33e-05, allocations: 5.547 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4394/0.5462, allocations: 94.23 MB / 416.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.5466, allocations: 79.89 kB / 416.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7188/1.265, allocations: 103.1 MB / 0.5071 GB, free: 90.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.265, allocations: 1.156 kB / 0.5071 GB, free: 90.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004187/1.266, allocations: 103.6 kB / 0.5072 GB, free: 90.93 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: 1723 * Number of variables: 1723 Notification: Performance of Generate backend data structure: time 0.0234/1.289, allocations: 5.202 MB / 0.5123 GB, free: 88.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/1.289, allocations: 11.78 kB / 0.5123 GB, free: 88.89 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004899/1.294, allocations: 1.012 MB / 0.5133 GB, free: 88.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0508/1.345, allocations: 6.896 MB / 0.52 GB, free: 88.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02671/1.372, allocations: 7.481 MB / 0.5273 GB, free: 87.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000496/1.373, allocations: 370.8 kB / 0.5277 GB, free: 87.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002697/1.375, allocations: 0.4964 MB / 0.5282 GB, free: 87.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03664/1.412, allocations: 12.17 MB / 0.5401 GB, free: 84.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003496/1.412, allocations: 75.16 kB / 0.5401 GB, free: 84.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002237/1.415, allocations: 245.1 kB / 0.5404 GB, free: 84.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003353/1.418, allocations: 1.132 MB / 0.5415 GB, free: 84.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04155/1.46, allocations: 9.932 MB / 0.5512 GB, free: 82.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08975/1.549, allocations: 55.59 MB / 0.6055 GB, free: 40.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02405/1.574, allocations: 5.668 MB / 0.611 GB, free: 35.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005479/1.579, allocations: 2.808 MB / 0.6137 GB, free: 32.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0209/1.6, allocations: 8.81 MB / 0.6223 GB, free: 25.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/1.6, allocations: 55.48 kB / 0.6224 GB, free: 25.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=206): time 6.031e-06/1.6, allocations: 4 kB / 0.6224 GB, free: 25.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.1679/1.768, allocations: 29.41 MB / 0.6511 GB, free: 13.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/1.768, allocations: 213.9 kB / 0.6513 GB, free: 13.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/1.779, allocations: 4.162 MB / 0.6554 GB, free: 8.867 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007312/1.78, allocations: 61.7 kB / 0.6554 GB, free: 8.801 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004279/1.784, allocations: 3.584 MB / 0.6589 GB, free: 5.211 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001814/1.786, allocations: 0.9811 MB / 0.6599 GB, free: 4.238 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000935/1.787, allocations: 132 kB / 0.66 GB, free: 4.109 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005494/1.787, allocations: 0.5911 MB / 0.6606 GB, free: 3.512 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008123/1.795, allocations: 2.946 MB / 0.6635 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.31/2.106, allocations: 6.692 MB / 0.67 GB, free: 94.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/2.118, allocations: 4.408 MB / 0.6743 GB, free: 94.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002512/2.118, allocations: 38.06 kB / 0.6744 GB, free: 94.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.04608/2.164, allocations: 12.58 MB / 0.6866 GB, free: 94.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/2.164, allocations: 60.38 kB / 0.6867 GB, free: 94.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001844/2.164, allocations: 133.2 kB / 0.6868 GB, free: 94.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02024/2.185, allocations: 4.074 MB / 0.6908 GB, free: 94.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008827/2.194, allocations: 1.416 MB / 0.6922 GB, free: 94.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05605/2.25, allocations: 25.82 MB / 0.7174 GB, free: 83.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009389/2.259, allocations: 394.8 kB / 0.7178 GB, free: 83.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00186/2.261, allocations: 402.3 kB / 0.7182 GB, free: 83.76 MB / 442.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.001951/2.263, allocations: 0.6079 MB / 0.7188 GB, free: 83.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00127/2.264, allocations: 450.1 kB / 0.7192 GB, free: 83.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02793/2.292, allocations: 8.06 MB / 0.7271 GB, free: 80.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.525e-05/2.292, allocations: 27.97 kB / 0.7271 GB, free: 80.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.638e-05/2.292, allocations: 12.88 kB / 0.7271 GB, free: 80.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.945e-05/2.292, allocations: 14.23 kB / 0.7271 GB, free: 80.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05216/2.345, allocations: 16.63 MB / 0.7433 GB, free: 74.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.985e-05/2.345, allocations: 10.77 kB / 0.7434 GB, free: 74.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002891/2.348, allocations: 298.4 kB / 0.7436 GB, free: 74.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01883/2.366, allocations: 3.773 MB / 0.7473 GB, free: 73.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007358/2.367, allocations: 47.78 kB / 0.7474 GB, free: 73.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05001/2.417, allocations: 24.55 MB / 0.7713 GB, free: 52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/2.417, allocations: 10.94 kB / 0.7714 GB, free: 51.99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03438/2.452, allocations: 12.55 MB / 0.7836 GB, free: 41.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004002/2.456, allocations: 0.9585 MB / 0.7846 GB, free: 40.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001626/2.458, allocations: 40 kB / 0.7846 GB, free: 40.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004679/2.462, allocations: 168.1 kB / 0.7847 GB, free: 40.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/2.463, allocations: 197.6 kB / 0.7849 GB, free: 39.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003171/2.464, allocations: 73.31 kB / 0.785 GB, free: 39.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007426/2.471, allocations: 2.941 MB / 0.7879 GB, free: 37.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.71e-07/2.471, allocations: 0 / 0.7879 GB, free: 37.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01009/2.481, allocations: 1.425 MB / 0.7893 GB, free: 35.85 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 (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.03566/2.517, allocations: 14.34 MB / 0.8033 GB, free: 21.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0208/2.538, allocations: 7.778 MB / 0.8109 GB, free: 14.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/2.538, allocations: 4 kB / 0.8109 GB, free: 14.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009071/2.547, allocations: 3.347 MB / 0.8141 GB, free: 10.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005088/2.552, allocations: 0.5434 MB / 0.8147 GB, free: 10.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3588/2.911, allocations: 12.02 MB / 0.8264 GB, free: 87.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0112/2.922, allocations: 4.038 MB / 0.8304 GB, free: 86.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01006/2.932, allocations: 2.023 MB / 0.8323 GB, free: 86.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005402/2.938, allocations: 2.388 MB / 0.8347 GB, free: 86.32 MB / 442.7 MB Notification: Performance of SimCode: time 2.665e-06/2.938, allocations: 0 / 0.8347 GB, free: 86.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2521/3.19, allocations: 116.7 MB / 0.9487 GB, free: 24.05 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/3.19, allocations: 200 kB / 0.9489 GB, free: 23.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.419/9.609, allocations: 0 / 0.9489 GB, free: 23.82 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat