Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 235 MB / 247.2 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.966e-05/3.974e-05, allocations: 8 kB / 305 MB, free: 5.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.38, allocations: 54.85 MB / 359.9 MB, free: 2.703 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.5683, allocations: 102.9 MB / 462.8 MB, free: 9.922 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.5687, allocations: 81.14 kB / 462.9 MB, free: 9.844 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8588/1.428, allocations: 126.4 MB / 0.5754 GB, free: 100.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.975e-06/1.428, allocations: 3.938 kB / 0.5754 GB, free: 100.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003813/1.428, allocations: 127.8 kB / 0.5756 GB, free: 100.6 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2239 * Number of variables: 2239 Notification: Performance of Generate backend data structure: time 0.02664/1.455, allocations: 6.323 MB / 0.5817 GB, free: 97.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.455, allocations: 18.88 kB / 0.5818 GB, free: 97.65 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006263/1.461, allocations: 1.311 MB / 0.583 GB, free: 97.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06098/1.522, allocations: 8.314 MB / 0.5912 GB, free: 94.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02816/1.55, allocations: 7.364 MB / 0.5983 GB, free: 89.83 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006242/1.551, allocations: 454.4 kB / 0.5988 GB, free: 89.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003844/1.555, allocations: 0.589 MB / 0.5994 GB, free: 88.89 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04671/1.602, allocations: 15.54 MB / 0.6145 GB, free: 72.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004694/1.602, allocations: 75.25 kB / 0.6146 GB, free: 72.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003562/1.606, allocations: 285.2 kB / 0.6149 GB, free: 72.01 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0036/1.609, allocations: 1.61 MB / 0.6164 GB, free: 70.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04084/1.65, allocations: 13.59 MB / 0.6297 GB, free: 56.81 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1078/1.758, allocations: 64.01 MB / 0.6922 GB, free: 7.316 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02486/1.783, allocations: 6.385 MB / 0.6985 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3362/2.119, allocations: 3.523 MB / 0.7019 GB, free: 108.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03827/2.158, allocations: 14.44 MB / 0.716 GB, free: 105.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.481e-05/2.158, allocations: 70.2 kB / 0.7161 GB, free: 105.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=289): time 7.183e-06/2.158, allocations: 0 / 0.7161 GB, free: 105.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=339): time 0.157/2.315, allocations: 29.75 MB / 0.7451 GB, free: 99.14 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.546e-05/2.315, allocations: 218.1 kB / 0.7453 GB, free: 98.92 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/2.325, allocations: 4.771 MB / 0.75 GB, free: 97.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009355/2.326, allocations: 72.41 kB / 0.7501 GB, free: 97.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00403/2.33, allocations: 4.432 MB / 0.7544 GB, free: 93.74 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002274/2.332, allocations: 1.247 MB / 0.7556 GB, free: 92.83 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001354/2.334, allocations: 173 kB / 0.7558 GB, free: 92.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009039/2.335, allocations: 0.6769 MB / 0.7564 GB, free: 92.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01073/2.345, allocations: 4.488 MB / 0.7608 GB, free: 90.57 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01453/2.36, allocations: 9.369 MB / 0.77 GB, free: 82.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0142/2.374, allocations: 6.417 MB / 0.7762 GB, free: 80.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002551/2.375, allocations: 48.22 kB / 0.7763 GB, free: 80.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.07439/2.449, allocations: 18.07 MB / 0.7939 GB, free: 67.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/2.449, allocations: 83.52 kB / 0.794 GB, free: 67.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002754/2.45, allocations: 172 kB / 0.7942 GB, free: 67.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03923/2.489, allocations: 5.627 MB / 0.7997 GB, free: 63.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01357/2.502, allocations: 2.059 MB / 0.8017 GB, free: 62.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04681/2.549, allocations: 23.62 MB / 0.8247 GB, free: 39.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01154/2.561, allocations: 0.5506 MB / 0.8253 GB, free: 38.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00231/2.563, allocations: 0.5014 MB / 0.8258 GB, free: 38.19 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1058): * Single equations (assignments): 1050 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003259/2.567, allocations: 0.7447 MB / 0.8265 GB, free: 37.44 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001631/2.568, allocations: 0.5029 MB / 0.827 GB, free: 36.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06655/2.635, allocations: 12.35 MB / 0.839 GB, free: 24.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001543/2.635, allocations: 53.16 kB / 0.8391 GB, free: 24.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.198e-05/2.635, allocations: 11.94 kB / 0.8391 GB, free: 24.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.13e-05/2.635, allocations: 11.95 kB / 0.8391 GB, free: 24.44 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1019/2.737, allocations: 23.95 MB / 0.8625 GB, free: 8 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-05/2.737, allocations: 4.562 kB / 0.8625 GB, free: 4 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006061/2.743, allocations: 0.5739 MB / 0.8631 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03674/2.78, allocations: 4.643 MB / 0.8676 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009047/2.781, allocations: 60.53 kB / 0.8677 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4084/3.189, allocations: 18.92 MB / 0.8861 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.43e-05/3.189, allocations: 5.594 kB / 0.8862 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06292/3.252, allocations: 17.38 MB / 0.9031 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004521/3.257, allocations: 1.215 MB / 0.9043 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00208/3.259, allocations: 59.34 kB / 0.9044 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006416/3.266, allocations: 250.5 kB / 0.9046 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001405/3.267, allocations: 190.5 kB / 0.9048 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006507/3.268, allocations: 89.5 kB / 0.9049 GB, free: 106.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00874/3.276, allocations: 3.311 MB / 0.9081 GB, free: 105.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.483e-06/3.276, allocations: 0 / 0.9081 GB, free: 105.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01167/3.288, allocations: 1.713 MB / 0.9098 GB, free: 105.5 MB / 490.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 (254): * Single equations (assignments): 246 * Array equations: 6 * 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 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06024/3.348, allocations: 19.09 MB / 0.9284 GB, free: 97.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02278/3.371, allocations: 10.11 MB / 0.9383 GB, free: 94.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/3.371, allocations: 3.344 kB / 0.9383 GB, free: 94.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009053/3.38, allocations: 3.899 MB / 0.9421 GB, free: 92.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005344/3.386, allocations: 0.5705 MB / 0.9427 GB, free: 92.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04854/3.434, allocations: 15.56 MB / 0.9579 GB, free: 84.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0112/3.446, allocations: 4.759 MB / 0.9625 GB, free: 81.35 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01386/3.46, allocations: 2.997 MB / 0.9654 GB, free: 79.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007853/3.468, allocations: 2.916 MB / 0.9683 GB, free: 76.88 MB / 490.7 MB Notification: Performance of SimCode: time 2.264e-06/3.468, allocations: 0 / 0.9683 GB, free: 76.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.676/4.144, allocations: 134.2 MB / 1.099 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003846/4.144, allocations: 184.8 kB / 1.099 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/11.17, allocations: 0 / 1.099 GB, free: 122.4 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat