Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.602/2.602, allocations: 270 MB / 283.6 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.795e-05/5.792e-05, allocations: 8 kB / 348.5 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4515, allocations: 61.87 MB / 410.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2008/0.6523, allocations: 108.4 MB / 0.5066 GB, free: 14.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.6527, allocations: 79.94 kB / 0.5067 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7854/1.438, allocations: 96.44 MB / 0.6008 GB, free: 41.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.438, allocations: 0 / 0.6008 GB, free: 41.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002737/1.438, allocations: 87.94 kB / 0.6009 GB, free: 41.08 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.02028/1.459, allocations: 4.601 MB / 0.6054 GB, free: 36.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.459, allocations: 11.97 kB / 0.6054 GB, free: 36.39 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003795/1.463, allocations: 0.9122 MB / 0.6063 GB, free: 35.47 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0492/1.512, allocations: 6.741 MB / 0.6129 GB, free: 28.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02155/1.533, allocations: 5.988 MB / 0.6187 GB, free: 22.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003465/1.534, allocations: 328.6 kB / 0.6191 GB, free: 22.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00225/1.536, allocations: 443.7 kB / 0.6195 GB, free: 21.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03171/1.568, allocations: 10.94 MB / 0.6302 GB, free: 9.938 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003064/1.568, allocations: 63.41 kB / 0.6302 GB, free: 9.875 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001975/1.57, allocations: 211.9 kB / 0.6304 GB, free: 9.668 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002182/1.572, allocations: 1.022 MB / 0.6314 GB, free: 8.645 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02911/1.602, allocations: 8.985 MB / 0.6402 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08609/1.688, allocations: 47.64 MB / 0.6867 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02062/1.708, allocations: 4.071 MB / 0.6907 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007346/1.716, allocations: 1.803 MB / 0.6925 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02984/1.746, allocations: 7.49 MB / 0.6998 GB, free: 0.5664 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.758e-05/1.746, allocations: 47.56 kB / 0.6998 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=180): time 8.746e-06/1.746, allocations: 0 / 0.6998 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of matching and sorting (n=236): time 0.6329/2.379, allocations: 25.58 MB / 0.7248 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/2.379, allocations: 208.2 kB / 0.725 GB, free: 129 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01365/2.393, allocations: 3.749 MB / 0.7287 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009361/2.394, allocations: 58.14 kB / 0.7287 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004479/2.398, allocations: 3.238 MB / 0.7319 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002078/2.4, allocations: 0.8833 MB / 0.7327 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/2.401, allocations: 123.4 kB / 0.7329 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005489/2.402, allocations: 0.57 MB / 0.7334 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01086/2.413, allocations: 3.36 MB / 0.7367 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01425/2.427, allocations: 6.96 MB / 0.7435 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0143/2.442, allocations: 4.745 MB / 0.7481 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00019/2.442, allocations: 38.69 kB / 0.7482 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=823) (initialization): time 0.06902/2.511, allocations: 14.99 MB / 0.7628 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/2.511, allocations: 67.36 kB / 0.7629 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002489/2.511, allocations: 126.4 kB / 0.763 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04121/2.552, allocations: 5.927 MB / 0.7688 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009487/2.562, allocations: 1.436 MB / 0.7702 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05336/2.615, allocations: 24.97 MB / 0.7946 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008897/2.624, allocations: 389.2 kB / 0.7949 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001637/2.626, allocations: 374.1 kB / 0.7953 GB, free: 100.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 42 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (746): * Single equations (assignments): 741 * 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.002447/2.629, allocations: 0.5915 MB / 0.7959 GB, free: 99.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/2.63, allocations: 394.8 kB / 0.7962 GB, free: 99.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05041/2.68, allocations: 10.76 MB / 0.8067 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.057e-05/2.68, allocations: 28.73 kB / 0.8068 GB, free: 91.56 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/2.68, allocations: 12 kB / 0.8068 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.379e-05/2.681, allocations: 14.83 kB / 0.8068 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07616/2.757, allocations: 20.13 MB / 0.8265 GB, free: 71.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.562e-05/2.757, allocations: 7.969 kB / 0.8265 GB, free: 71.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004507/2.761, allocations: 379.4 kB / 0.8268 GB, free: 71.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03647/2.798, allocations: 4.996 MB / 0.8317 GB, free: 66.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005926/2.799, allocations: 43.39 kB / 0.8317 GB, free: 66.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04113/2.84, allocations: 20.13 MB / 0.8514 GB, free: 45.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/2.84, allocations: 15.12 kB / 0.8514 GB, free: 45.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05177/2.892, allocations: 14.5 MB / 0.8656 GB, free: 31.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/2.893, allocations: 451.8 kB / 0.866 GB, free: 30.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/2.894, allocations: 43.48 kB / 0.8661 GB, free: 30.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00476/2.899, allocations: 172.8 kB / 0.8662 GB, free: 30.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009961/2.9, allocations: 157 kB / 0.8664 GB, free: 30.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003393/2.9, allocations: 60.7 kB / 0.8664 GB, free: 30.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00684/2.907, allocations: 2.638 MB / 0.869 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.452e-06/2.907, allocations: 0 / 0.869 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008594/2.916, allocations: 1.323 MB / 0.8703 GB, free: 26.31 MB / 0.5105 GB 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.05275/2.969, allocations: 16.3 MB / 0.8862 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01713/2.986, allocations: 7.654 MB / 0.8937 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/2.986, allocations: 4 kB / 0.8937 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007236/2.993, allocations: 3.027 MB / 0.8967 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004752/2.998, allocations: 494.8 kB / 0.8971 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0393/3.037, allocations: 11.38 MB / 0.9082 GB, free: 3.203 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3755/3.413, allocations: 3.601 MB / 0.9118 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009673/3.423, allocations: 1.971 MB / 0.9137 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005387/3.428, allocations: 2.075 MB / 0.9157 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.254e-06/3.428, allocations: 0 / 0.9157 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2389/3.667, allocations: 109 MB / 1.022 GB, free: 72.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/3.667, allocations: 190.2 kB / 1.022 GB, free: 72.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.044/9.711, allocations: 0 / 1.022 GB, free: 72.18 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat