Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.509/2.509, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.467e-05/2.487e-05, allocations: 0 / 299.5 MB, free: 6.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.3993, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.5882, allocations: 100.4 MB / 454.7 MB, free: 13.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.5885, allocations: 75.97 kB / 454.8 MB, free: 13.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7241/1.313, allocations: 101 MB / 0.5427 GB, free: 84.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/1.313, allocations: 0 / 0.5427 GB, free: 84.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003857/1.313, allocations: 103.4 kB / 0.5428 GB, free: 84.53 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.02143/1.334, allocations: 5.208 MB / 0.5479 GB, free: 79.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.335, allocations: 8.031 kB / 0.5479 GB, free: 79.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04867/1.383, allocations: 6.885 MB / 0.5547 GB, free: 72.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02556/1.409, allocations: 7.475 MB / 0.562 GB, free: 64.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003261/1.409, allocations: 160.3 kB / 0.5621 GB, free: 64.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00243/1.412, allocations: 299.9 kB / 0.5624 GB, free: 64.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01815/1.43, allocations: 7.043 MB / 0.5693 GB, free: 57.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02664/1.457, allocations: 10.79 MB / 0.5798 GB, free: 45.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003856/1.457, allocations: 75.3 kB / 0.5799 GB, free: 45.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002404/1.459, allocations: 32 kB / 0.5799 GB, free: 45.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00285/1.462, allocations: 1.136 MB / 0.581 GB, free: 44.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08172/1.544, allocations: 53.95 MB / 0.6337 GB, free: 4.855 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009297/1.553, allocations: 4.33 MB / 0.6379 GB, free: 392 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006012/1.56, allocations: 2.756 MB / 0.6406 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/1.561, allocations: 0.5669 MB / 0.6412 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.415e-05/1.561, allocations: 63.83 kB / 0.6412 GB, free: 12.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=213): time 6.572e-06/1.561, allocations: 0 / 0.6412 GB, free: 12.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=272): time 0.1504/1.711, allocations: 27.01 MB / 0.6676 GB, free: 1.895 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/1.712, allocations: 209.9 kB / 0.6678 GB, free: 1.648 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3665/2.078, allocations: 3.587 MB / 0.6713 GB, free: 122.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007533/2.079, allocations: 26.42 kB / 0.6714 GB, free: 122.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003609/2.083, allocations: 3.638 MB / 0.6749 GB, free: 121.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001629/2.084, allocations: 0.9702 MB / 0.6759 GB, free: 120.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008412/2.085, allocations: 0 / 0.6759 GB, free: 120.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005032/2.086, allocations: 0.5959 MB / 0.6764 GB, free: 120.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007345/2.093, allocations: 2.88 MB / 0.6792 GB, free: 120.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01018/2.103, allocations: 6.776 MB / 0.6859 GB, free: 115.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009746/2.113, allocations: 4.377 MB / 0.6901 GB, free: 115.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002297/2.113, allocations: 38.81 kB / 0.6902 GB, free: 115.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=907) (initialization): time 0.04087/2.154, allocations: 12.12 MB / 0.702 GB, free: 113.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/2.154, allocations: 70.7 kB / 0.7021 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002025/2.155, allocations: 138 kB / 0.7022 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01986/2.174, allocations: 3.967 MB / 0.7061 GB, free: 112.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009084/2.184, allocations: 1.467 MB / 0.7075 GB, free: 112.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05253/2.236, allocations: 24.35 MB / 0.7313 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009049/2.245, allocations: 262.6 kB / 0.7315 GB, free: 100.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001991/2.247, allocations: 417.2 kB / 0.7319 GB, free: 100.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * 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 (791): * Single equations (assignments): 785 * 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.002643/2.25, allocations: 463.1 kB / 0.7324 GB, free: 99.81 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02773/2.278, allocations: 7.866 MB / 0.7401 GB, free: 94.24 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/2.279, allocations: 410.7 kB / 0.7405 GB, free: 93.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02676/2.306, allocations: 7.74 MB / 0.748 GB, free: 87.85 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-05/2.306, allocations: 28 kB / 0.748 GB, free: 87.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.961e-05/2.306, allocations: 12 kB / 0.7481 GB, free: 87.81 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.067e-05/2.306, allocations: 16.89 kB / 0.7481 GB, free: 87.81 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0504/2.357, allocations: 15.75 MB / 0.7635 GB, free: 75.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.411e-05/2.357, allocations: 8 kB / 0.7635 GB, free: 75.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002826/2.36, allocations: 306.1 kB / 0.7638 GB, free: 74.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01803/2.378, allocations: 3.67 MB / 0.7673 GB, free: 72.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006337/2.379, allocations: 12 kB / 0.7674 GB, free: 72.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04521/2.424, allocations: 23.08 MB / 0.7899 GB, free: 49.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/2.424, allocations: 7.938 kB / 0.7899 GB, free: 49.38 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03148/2.455, allocations: 12.3 MB / 0.8019 GB, free: 36.75 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003374/2.459, allocations: 0.9095 MB / 0.8028 GB, free: 35.81 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001485/2.46, allocations: 8 kB / 0.8028 GB, free: 35.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004246/2.465, allocations: 123.8 kB / 0.8029 GB, free: 35.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001178/2.466, allocations: 210 kB / 0.8031 GB, free: 35.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003483/2.466, allocations: 75.81 kB / 0.8032 GB, free: 35.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0054/2.472, allocations: 2.439 MB / 0.8056 GB, free: 32.96 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.32e-07/2.472, allocations: 0 / 0.8056 GB, free: 32.96 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009408/2.481, allocations: 1.235 MB / 0.8068 GB, free: 31.73 MB / 474.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 (168): * 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): 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.03281/2.514, allocations: 14.08 MB / 0.8205 GB, free: 17.43 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01859/2.533, allocations: 7.764 MB / 0.8281 GB, free: 9.664 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/2.533, allocations: 0 / 0.8281 GB, free: 9.664 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0088/2.541, allocations: 3.359 MB / 0.8314 GB, free: 6.277 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004725/2.546, allocations: 464.7 kB / 0.8318 GB, free: 5.832 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04016/2.586, allocations: 11.79 MB / 0.8434 GB, free: 9.934 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3491/2.936, allocations: 4.031 MB / 0.8473 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009955/2.946, allocations: 2.091 MB / 0.8493 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005188/2.951, allocations: 2.363 MB / 0.8516 GB, free: 129.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.243e-06/2.951, allocations: 3.25 kB / 0.8516 GB, free: 129.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3041/3.255, allocations: 109.8 MB / 0.9589 GB, free: 58.66 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/3.255, allocations: 150.5 kB / 0.959 GB, free: 58.47 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.215/9.47, allocations: 0 / 0.959 GB, free: 58.47 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat