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.896/1.896, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.194e-05/4.198e-05, allocations: 1.547 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4297/0.536, allocations: 93.35 MB / 415.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.5363, allocations: 63.97 kB / 415.3 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7404/1.277, allocations: 94.65 MB / 0.498 GB, free: 93.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.043e-06/1.277, allocations: 0 / 0.498 GB, free: 93.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003538/1.277, allocations: 88.19 kB / 0.4981 GB, free: 93.09 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.02115/1.298, allocations: 4.611 MB / 0.5026 GB, free: 91.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/1.298, allocations: 12.12 kB / 0.5026 GB, free: 91.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004831/1.303, allocations: 0.9061 MB / 0.5035 GB, free: 91.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05179/1.355, allocations: 6.738 MB / 0.5101 GB, free: 91.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02541/1.381, allocations: 6.307 MB / 0.5162 GB, free: 90.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006354/1.381, allocations: 329 kB / 0.5165 GB, free: 90.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002841/1.384, allocations: 440.8 kB / 0.517 GB, free: 90.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03615/1.42, allocations: 10.91 MB / 0.5276 GB, free: 87.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003701/1.421, allocations: 72.02 kB / 0.5277 GB, free: 87.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001974/1.423, allocations: 209.4 kB / 0.5279 GB, free: 87.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002272/1.425, allocations: 1.014 MB / 0.5289 GB, free: 87.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03002/1.455, allocations: 8.989 MB / 0.5376 GB, free: 87.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07634/1.531, allocations: 47.57 MB / 0.5841 GB, free: 52.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01877/1.55, allocations: 4.087 MB / 0.5881 GB, free: 50.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004005/1.554, allocations: 1.791 MB / 0.5898 GB, free: 50.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01882/1.573, allocations: 7.505 MB / 0.5972 GB, free: 45.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.555e-05/1.573, allocations: 54.66 kB / 0.5972 GB, free: 45.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 6.652e-06/1.573, allocations: 0 / 0.5972 GB, free: 45.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=236): time 0.1541/1.728, allocations: 25.69 MB / 0.6223 GB, free: 26.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/1.728, allocations: 209.9 kB / 0.6225 GB, free: 25.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009169/1.737, allocations: 3.757 MB / 0.6262 GB, free: 22.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006915/1.738, allocations: 61.7 kB / 0.6262 GB, free: 22.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002948/1.741, allocations: 3.227 MB / 0.6294 GB, free: 18.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001614/1.742, allocations: 0.8787 MB / 0.6303 GB, free: 18.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001316/1.744, allocations: 120 kB / 0.6304 GB, free: 17.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006072/1.744, allocations: 0.5666 MB / 0.6309 GB, free: 17.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007779/1.752, allocations: 3.37 MB / 0.6342 GB, free: 13.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01026/1.762, allocations: 6.929 MB / 0.641 GB, free: 5.262 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/1.773, allocations: 4.743 MB / 0.6456 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001311/1.773, allocations: 36 kB / 0.6456 GB, free: 500 kB / 426.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.06969/1.843, allocations: 14.96 MB / 0.6603 GB, free: 1.516 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/1.843, allocations: 60 kB / 0.6603 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000229/1.843, allocations: 128.1 kB / 0.6604 GB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3729/2.216, allocations: 5.926 MB / 0.6662 GB, free: 95.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01019/2.226, allocations: 1.434 MB / 0.6676 GB, free: 95.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06002/2.286, allocations: 24.95 MB / 0.692 GB, free: 92.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009205/2.296, allocations: 394.9 kB / 0.6924 GB, free: 92.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001804/2.298, allocations: 379.3 kB / 0.6927 GB, free: 92.49 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.003041/2.301, allocations: 0.577 MB / 0.6933 GB, free: 92.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001603/2.302, allocations: 400.4 kB / 0.6937 GB, free: 92.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05248/2.355, allocations: 10.76 MB / 0.7042 GB, free: 89.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.125e-05/2.355, allocations: 29.03 kB / 0.7042 GB, free: 89.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.958e-05/2.355, allocations: 11.12 kB / 0.7042 GB, free: 89.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.707e-05/2.355, allocations: 10.12 kB / 0.7042 GB, free: 89.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07779/2.433, allocations: 20.14 MB / 0.7239 GB, free: 81.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-05/2.433, allocations: 11.91 kB / 0.7239 GB, free: 81.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004/2.437, allocations: 377.3 kB / 0.7243 GB, free: 81.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0378/2.475, allocations: 4.993 MB / 0.7291 GB, free: 80.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007279/2.476, allocations: 41.5 kB / 0.7292 GB, free: 80.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04664/2.522, allocations: 20.15 MB / 0.7489 GB, free: 70.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/2.522, allocations: 7.688 kB / 0.7489 GB, free: 70.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05507/2.578, allocations: 14.49 MB / 0.763 GB, free: 59.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003668/2.581, allocations: 0.9601 MB / 0.764 GB, free: 58.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001777/2.583, allocations: 41.2 kB / 0.764 GB, free: 58.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005458/2.589, allocations: 177.8 kB / 0.7642 GB, free: 57.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001123/2.59, allocations: 151.6 kB / 0.7643 GB, free: 57.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005342/2.59, allocations: 61.02 kB / 0.7644 GB, free: 57.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006886/2.597, allocations: 2.643 MB / 0.767 GB, free: 55.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.032e-06/2.597, allocations: 7.75 kB / 0.767 GB, free: 55.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009172/2.607, allocations: 1.329 MB / 0.7683 GB, free: 53.7 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.0561/2.663, allocations: 16.3 MB / 0.7842 GB, free: 37.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01778/2.68, allocations: 7.642 MB / 0.7916 GB, free: 29.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/2.681, allocations: 0 / 0.7916 GB, free: 29.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007336/2.688, allocations: 3.033 MB / 0.7946 GB, free: 26.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004732/2.693, allocations: 494.4 kB / 0.7951 GB, free: 26.44 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.038/2.731, allocations: 11.38 MB / 0.8062 GB, free: 15.03 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007934/2.739, allocations: 3.608 MB / 0.8097 GB, free: 11.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009462/2.748, allocations: 1.959 MB / 0.8116 GB, free: 9.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005392/2.754, allocations: 2.069 MB / 0.8136 GB, free: 7.52 MB / 442.7 MB Notification: Performance of SimCode: time 2.344e-06/2.754, allocations: 3.5 kB / 0.8136 GB, free: 7.52 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5733/3.327, allocations: 108.9 MB / 0.92 GB, free: 66.38 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/3.327, allocations: 189.9 kB / 0.9202 GB, free: 66.14 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.746/9.073, allocations: 0 / 0.9202 GB, free: 66.14 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