Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.921/1.921, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.406e-05/4.418e-05, allocations: 11.36 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4264/0.5303, allocations: 93.35 MB / 415.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.5306, allocations: 71.97 kB / 415.3 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7183/1.249, allocations: 94.64 MB / 0.498 GB, free: 93.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.354e-06/1.249, allocations: 0 / 0.498 GB, free: 93.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003903/1.249, allocations: 94.27 kB / 0.4981 GB, free: 93.01 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.0208/1.27, allocations: 4.615 MB / 0.5026 GB, free: 91.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/1.27, allocations: 10.44 kB / 0.5026 GB, free: 91.46 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00471/1.275, allocations: 0.9045 MB / 0.5035 GB, free: 91.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05051/1.326, allocations: 6.738 MB / 0.51 GB, free: 91.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02465/1.35, allocations: 6.304 MB / 0.5162 GB, free: 90.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005837/1.351, allocations: 328.4 kB / 0.5165 GB, free: 90.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002712/1.354, allocations: 436.9 kB / 0.5169 GB, free: 90.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03405/1.388, allocations: 10.97 MB / 0.5276 GB, free: 87.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003887/1.388, allocations: 68.66 kB / 0.5277 GB, free: 87.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002191/1.39, allocations: 209.1 kB / 0.5279 GB, free: 87.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002292/1.393, allocations: 1.015 MB / 0.5289 GB, free: 87.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02843/1.421, allocations: 9.164 MB / 0.5378 GB, free: 87.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06791/1.489, allocations: 47.57 MB / 0.5843 GB, free: 52.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01742/1.507, allocations: 4.11 MB / 0.5883 GB, free: 50.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003732/1.51, allocations: 1.787 MB / 0.5901 GB, free: 49.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01688/1.527, allocations: 7.51 MB / 0.5974 GB, free: 45.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/1.527, allocations: 55.78 kB / 0.5974 GB, free: 45.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 6.121e-06/1.528, allocations: 0 / 0.5974 GB, free: 45.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=236): time 0.1449/1.672, allocations: 25.7 MB / 0.6225 GB, free: 25.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/1.673, allocations: 205.9 kB / 0.6227 GB, free: 25.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008727/1.681, allocations: 3.757 MB / 0.6264 GB, free: 21.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007321/1.682, allocations: 61.7 kB / 0.6265 GB, free: 21.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002965/1.685, allocations: 3.237 MB / 0.6296 GB, free: 18.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002098/1.687, allocations: 0.869 MB / 0.6305 GB, free: 17.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/1.688, allocations: 128 kB / 0.6306 GB, free: 17.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000691/1.689, allocations: 0.5744 MB / 0.6312 GB, free: 17.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007817/1.697, allocations: 3.355 MB / 0.6344 GB, free: 13.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01083/1.708, allocations: 6.968 MB / 0.6412 GB, free: 4.887 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/1.718, allocations: 4.742 MB / 0.6459 GB, free: 152 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.692e-05/1.718, allocations: 36 kB / 0.6459 GB, free: 116 kB / 426.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.06723/1.785, allocations: 15.32 MB / 0.6609 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/1.786, allocations: 60 kB / 0.6609 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002081/1.786, allocations: 128 kB / 0.661 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3408/2.127, allocations: 5.927 MB / 0.6668 GB, free: 95.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009698/2.136, allocations: 1.433 MB / 0.6682 GB, free: 95.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05517/2.192, allocations: 24.95 MB / 0.6926 GB, free: 92.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008671/2.2, allocations: 388 kB / 0.693 GB, free: 92.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001589/2.202, allocations: 374.8 kB / 0.6933 GB, free: 92.03 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.002247/2.204, allocations: 0.5846 MB / 0.6939 GB, free: 91.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/2.205, allocations: 398.8 kB / 0.6943 GB, free: 91.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05062/2.256, allocations: 10.76 MB / 0.7048 GB, free: 88.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.93e-05/2.256, allocations: 29.84 kB / 0.7048 GB, free: 88.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/2.256, allocations: 10.84 kB / 0.7048 GB, free: 88.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.066e-05/2.256, allocations: 11.61 kB / 0.7048 GB, free: 88.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07279/2.329, allocations: 20.15 MB / 0.7245 GB, free: 80.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-05/2.329, allocations: 7.281 kB / 0.7245 GB, free: 80.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003778/2.333, allocations: 378.3 kB / 0.7249 GB, free: 80.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03821/2.371, allocations: 4.987 MB / 0.7297 GB, free: 80 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007841/2.372, allocations: 49.52 kB / 0.7298 GB, free: 79.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06268/2.435, allocations: 20.15 MB / 0.7495 GB, free: 70.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.344e-05/2.435, allocations: 14.75 kB / 0.7495 GB, free: 70.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05464/2.49, allocations: 14.49 MB / 0.7636 GB, free: 58.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003672/2.493, allocations: 0.9618 MB / 0.7646 GB, free: 57.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001644/2.495, allocations: 41.83 kB / 0.7646 GB, free: 57.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005077/2.5, allocations: 171.8 kB / 0.7648 GB, free: 56.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001153/2.501, allocations: 153.5 kB / 0.7649 GB, free: 56.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000479/2.502, allocations: 63.98 kB / 0.765 GB, free: 56.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006632/2.508, allocations: 2.643 MB / 0.7676 GB, free: 54.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.91e-07/2.508, allocations: 0 / 0.7676 GB, free: 54.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008354/2.517, allocations: 1.33 MB / 0.7689 GB, free: 52.81 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.05335/2.57, allocations: 16.3 MB / 0.7848 GB, free: 36.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01714/2.587, allocations: 7.851 MB / 0.7925 GB, free: 28.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/2.587, allocations: 0 / 0.7925 GB, free: 28.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006954/2.594, allocations: 3.075 MB / 0.7955 GB, free: 25.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004296/2.599, allocations: 483.8 kB / 0.7959 GB, free: 25.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0343/2.633, allocations: 11.41 MB / 0.8071 GB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007617/2.641, allocations: 3.601 MB / 0.8106 GB, free: 10.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009208/2.65, allocations: 1.967 MB / 0.8125 GB, free: 8.508 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005384/2.655, allocations: 2.073 MB / 0.8145 GB, free: 6.438 MB / 442.7 MB Notification: Performance of SimCode: time 1.834e-06/2.656, allocations: 0 / 0.8145 GB, free: 6.438 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5295/3.185, allocations: 109.6 MB / 0.9215 GB, free: 64.59 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/3.185, allocations: 187.1 kB / 0.9217 GB, free: 64.36 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.87/9.055, allocations: 4.062 kB / 0.9217 GB, free: 64.36 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat