Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.52/2.52, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.538e-05/4.55e-05, allocations: 0 / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4515, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2001/0.6517, allocations: 107.2 MB / 489.5 MB, free: 1.164 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.6521, allocations: 71.95 kB / 489.6 MB, free: 1.094 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8084/1.461, allocations: 103.8 MB / 0.5795 GB, free: 96.21 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.416e-06/1.461, allocations: 4 kB / 0.5795 GB, free: 96.2 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003852/1.461, allocations: 104 kB / 0.5796 GB, free: 96.1 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02088/1.482, allocations: 5.214 MB / 0.5847 GB, free: 90.82 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.482, allocations: 8.031 kB / 0.5847 GB, free: 90.81 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003872/1.486, allocations: 1.024 MB / 0.5857 GB, free: 89.77 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04872/1.535, allocations: 6.892 MB / 0.5924 GB, free: 82.86 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02653/1.561, allocations: 7.492 MB / 0.5998 GB, free: 75.29 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005456/1.562, allocations: 377.8 kB / 0.6001 GB, free: 74.91 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003125/1.565, allocations: 0.4958 MB / 0.6006 GB, free: 74.42 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03685/1.602, allocations: 12.21 MB / 0.6125 GB, free: 61.09 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003504/1.602, allocations: 67.41 kB / 0.6126 GB, free: 61.02 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002059/1.604, allocations: 239.9 kB / 0.6128 GB, free: 60.79 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002397/1.607, allocations: 1.141 MB / 0.6139 GB, free: 59.64 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.031/1.638, allocations: 9.939 MB / 0.6236 GB, free: 49.69 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08251/1.72, allocations: 55.73 MB / 0.6781 GB, free: 8.211 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02564/1.746, allocations: 5.656 MB / 0.6836 GB, free: 2.406 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006059/1.752, allocations: 2.819 MB / 0.6863 GB, free: 15.58 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02354/1.776, allocations: 8.813 MB / 0.6949 GB, free: 6.602 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.952e-05/1.776, allocations: 51.88 kB / 0.695 GB, free: 6.543 MB / 490.8 MB Notification: Performance of pre-optimization done (n=206): time 6.583e-06/1.776, allocations: 4 kB / 0.695 GB, free: 6.539 MB / 490.8 MB Notification: Performance of matching and sorting (n=265): time 0.5613/2.337, allocations: 29.43 MB / 0.7237 GB, free: 134 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/2.337, allocations: 211.6 kB / 0.7239 GB, free: 133.8 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0157/2.353, allocations: 4.19 MB / 0.728 GB, free: 133.4 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009043/2.354, allocations: 65.53 kB / 0.7281 GB, free: 133.4 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004956/2.359, allocations: 3.605 MB / 0.7316 GB, free: 131.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002187/2.361, allocations: 0.9793 MB / 0.7326 GB, free: 131.1 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/2.363, allocations: 134.3 kB / 0.7327 GB, free: 131.1 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0007122/2.363, allocations: 0.5885 MB / 0.7333 GB, free: 130.8 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009709/2.373, allocations: 2.949 MB / 0.7361 GB, free: 130.8 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009463/2.383, allocations: 6.713 MB / 0.7427 GB, free: 126 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00954/2.392, allocations: 4.426 MB / 0.747 GB, free: 125 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001777/2.392, allocations: 38.66 kB / 0.7471 GB, free: 125 MB / 0.4949 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.04203/2.434, allocations: 12.59 MB / 0.7593 GB, free: 121.1 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/2.435, allocations: 62.28 kB / 0.7594 GB, free: 121.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001983/2.435, allocations: 139.9 kB / 0.7595 GB, free: 121.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02058/2.455, allocations: 4.079 MB / 0.7635 GB, free: 120.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008989/2.465, allocations: 1.422 MB / 0.7649 GB, free: 120.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05509/2.52, allocations: 25.81 MB / 0.7901 GB, free: 103.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009098/2.529, allocations: 395 kB / 0.7905 GB, free: 102.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001792/2.531, allocations: 399.2 kB / 0.7909 GB, free: 102.6 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 42 (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.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 (763): * Single equations (assignments): 757 * 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.002141/2.533, allocations: 0.6108 MB / 0.7915 GB, free: 101.9 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/2.534, allocations: 446.2 kB / 0.7919 GB, free: 101.5 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03657/2.571, allocations: 8.067 MB / 0.7998 GB, free: 95.23 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.521e-05/2.571, allocations: 29.56 kB / 0.7998 GB, free: 95.2 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.694e-05/2.571, allocations: 12 kB / 0.7998 GB, free: 95.19 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.034e-05/2.571, allocations: 11.67 kB / 0.7998 GB, free: 95.19 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07013/2.641, allocations: 16.67 MB / 0.8161 GB, free: 81.76 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-05/2.641, allocations: 8 kB / 0.8161 GB, free: 81.75 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003852/2.645, allocations: 292 kB / 0.8164 GB, free: 81.51 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02296/2.668, allocations: 3.762 MB / 0.8201 GB, free: 78.14 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000748/2.669, allocations: 51.94 kB / 0.8201 GB, free: 78.09 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05028/2.719, allocations: 24.55 MB / 0.8441 GB, free: 53.15 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/2.719, allocations: 19.92 kB / 0.8441 GB, free: 53.13 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03357/2.753, allocations: 12.55 MB / 0.8564 GB, free: 40.3 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003463/2.756, allocations: 0.952 MB / 0.8573 GB, free: 39.32 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001243/2.758, allocations: 47.56 kB / 0.8573 GB, free: 39.28 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004122/2.762, allocations: 171.7 kB / 0.8575 GB, free: 39.11 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008899/2.763, allocations: 198 kB / 0.8577 GB, free: 38.92 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003047/2.763, allocations: 68 kB / 0.8578 GB, free: 38.86 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006446/2.77, allocations: 2.962 MB / 0.8606 GB, free: 35.9 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.022e-06/2.77, allocations: 0 / 0.8606 GB, free: 35.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0092/2.779, allocations: 1.423 MB / 0.862 GB, free: 34.48 MB / 0.4949 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 (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.03495/2.814, allocations: 14.34 MB / 0.876 GB, free: 19.92 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01975/2.834, allocations: 7.782 MB / 0.8836 GB, free: 12.13 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/2.834, allocations: 4 kB / 0.8836 GB, free: 12.12 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.008804/2.842, allocations: 3.351 MB / 0.8869 GB, free: 8.746 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00477/2.847, allocations: 0.5515 MB / 0.8875 GB, free: 8.203 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03792/2.885, allocations: 12.06 MB / 0.8992 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009585/2.895, allocations: 4.046 MB / 0.9032 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01017/2.905, allocations: 2.03 MB / 0.9052 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3687/3.274, allocations: 2.398 MB / 0.9075 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.044e-06/3.274, allocations: 0 / 0.9075 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3355/3.609, allocations: 117.1 MB / 1.022 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/3.61, allocations: 211.9 kB / 1.022 GB, free: 63.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/10.32, allocations: 8 kB / 1.022 GB, free: 63.79 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat