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.955/1.955, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.574e-05/3.588e-05, allocations: 4 kB / 273.1 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 48.7 MB / 321.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4339/0.5399, allocations: 94.23 MB / 416.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.5403, allocations: 79.05 kB / 416.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7197/1.26, allocations: 103.1 MB / 0.5071 GB, free: 90.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.375e-06/1.26, allocations: 1.406 kB / 0.5071 GB, free: 90.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004296/1.26, allocations: 103.8 kB / 0.5072 GB, free: 90.95 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.02402/1.285, allocations: 5.2 MB / 0.5123 GB, free: 88.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/1.285, allocations: 8.969 kB / 0.5123 GB, free: 88.91 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004883/1.29, allocations: 1.014 MB / 0.5133 GB, free: 88.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0512/1.341, allocations: 6.89 MB / 0.52 GB, free: 88.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0272/1.368, allocations: 7.484 MB / 0.5273 GB, free: 87.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005043/1.369, allocations: 371.5 kB / 0.5277 GB, free: 87.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002834/1.371, allocations: 0.4925 MB / 0.5281 GB, free: 87.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03779/1.409, allocations: 12.23 MB / 0.5401 GB, free: 84.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004474/1.41, allocations: 76.45 kB / 0.5402 GB, free: 84.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002545/1.412, allocations: 239.8 kB / 0.5404 GB, free: 84.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002581/1.415, allocations: 1.138 MB / 0.5415 GB, free: 84.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03223/1.447, allocations: 10.12 MB / 0.5514 GB, free: 81.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08278/1.53, allocations: 55.6 MB / 0.6057 GB, free: 39.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02367/1.554, allocations: 5.676 MB / 0.6112 GB, free: 35.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005192/1.559, allocations: 2.818 MB / 0.614 GB, free: 32.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01982/1.579, allocations: 8.812 MB / 0.6226 GB, free: 24.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/1.579, allocations: 55.88 kB / 0.6226 GB, free: 24.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=206): time 6.092e-06/1.579, allocations: 0 / 0.6226 GB, free: 24.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.1693/1.748, allocations: 29.41 MB / 0.6514 GB, free: 13.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/1.749, allocations: 209.9 kB / 0.6516 GB, free: 12.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01178/1.76, allocations: 4.162 MB / 0.6556 GB, free: 8.719 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007388/1.761, allocations: 65.7 kB / 0.6557 GB, free: 8.648 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004667/1.766, allocations: 3.588 MB / 0.6592 GB, free: 5.059 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002031/1.768, allocations: 0.9817 MB / 0.6601 GB, free: 4.086 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000982/1.769, allocations: 136 kB / 0.6603 GB, free: 3.953 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006584/1.77, allocations: 0.5872 MB / 0.6608 GB, free: 3.359 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008345/1.778, allocations: 2.946 MB / 0.6637 GB, free: 420 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3269/2.105, allocations: 6.728 MB / 0.6703 GB, free: 94.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/2.12, allocations: 4.41 MB / 0.6746 GB, free: 94.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002677/2.121, allocations: 38.19 kB / 0.6746 GB, free: 94.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.05908/2.18, allocations: 12.94 MB / 0.6873 GB, free: 94.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001658/2.18, allocations: 63.53 kB / 0.6873 GB, free: 94.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002219/2.18, allocations: 131.8 kB / 0.6875 GB, free: 94.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0209/2.201, allocations: 4.082 MB / 0.6915 GB, free: 94.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009052/2.21, allocations: 1.412 MB / 0.6928 GB, free: 94.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05484/2.265, allocations: 25.81 MB / 0.718 GB, free: 83.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008814/2.274, allocations: 395.1 kB / 0.7184 GB, free: 83.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001789/2.276, allocations: 400.9 kB / 0.7188 GB, free: 83.28 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.00167/2.278, allocations: 0.6047 MB / 0.7194 GB, free: 82.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/2.279, allocations: 447.9 kB / 0.7198 GB, free: 82.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02704/2.306, allocations: 8.059 MB / 0.7277 GB, free: 80.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.84e-05/2.306, allocations: 29.41 kB / 0.7277 GB, free: 80.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.839e-05/2.306, allocations: 16.62 kB / 0.7277 GB, free: 80.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-05/2.306, allocations: 18.53 kB / 0.7277 GB, free: 80.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05107/2.357, allocations: 16.65 MB / 0.744 GB, free: 73.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.54e-05/2.357, allocations: 8.094 kB / 0.744 GB, free: 73.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002896/2.36, allocations: 298.9 kB / 0.7443 GB, free: 73.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01889/2.379, allocations: 3.766 MB / 0.748 GB, free: 73.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007203/2.38, allocations: 51.06 kB / 0.748 GB, free: 73.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04974/2.43, allocations: 24.56 MB / 0.772 GB, free: 51.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/2.43, allocations: 7.938 kB / 0.772 GB, free: 51.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03417/2.464, allocations: 12.55 MB / 0.7843 GB, free: 40.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00362/2.468, allocations: 0.9461 MB / 0.7852 GB, free: 39.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001547/2.469, allocations: 48 kB / 0.7852 GB, free: 39.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004697/2.474, allocations: 168.6 kB / 0.7854 GB, free: 39.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00113/2.475, allocations: 188.9 kB / 0.7856 GB, free: 39.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003325/2.475, allocations: 77.2 kB / 0.7857 GB, free: 39.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006934/2.482, allocations: 2.948 MB / 0.7885 GB, free: 36.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.61e-07/2.482, allocations: 0 / 0.7885 GB, free: 36.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008931/2.491, allocations: 1.423 MB / 0.7899 GB, free: 35.27 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.03461/2.526, allocations: 14.34 MB / 0.8039 GB, free: 21.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02029/2.546, allocations: 8.017 MB / 0.8118 GB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/2.546, allocations: 2.406 kB / 0.8118 GB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009079/2.555, allocations: 3.413 MB / 0.8151 GB, free: 9.938 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004866/2.56, allocations: 0.5406 MB / 0.8156 GB, free: 9.406 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3341/2.894, allocations: 12.03 MB / 0.8274 GB, free: 87.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01028/2.905, allocations: 4.038 MB / 0.8313 GB, free: 86.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009557/2.914, allocations: 2.025 MB / 0.8333 GB, free: 86.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00539/2.92, allocations: 2.386 MB / 0.8356 GB, free: 86.67 MB / 442.7 MB Notification: Performance of SimCode: time 1.623e-06/2.92, allocations: 0 / 0.8356 GB, free: 86.67 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2528/3.173, allocations: 117.6 MB / 0.9504 GB, free: 23.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/3.173, allocations: 201.3 kB / 0.9506 GB, free: 23.08 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.551/9.724, allocations: 64 / 0.9506 GB, free: 23.08 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