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.918/1.918, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.285e-05/2.283e-05, allocations: 0 / 267.6 MB, free: 4.98 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 48.7 MB / 316.3 MB, free: 4.18 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.418/0.5208, allocations: 93.77 MB / 410.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.5211, allocations: 82.2 kB / 410.2 MB, free: 15.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6853/1.206, allocations: 100.8 MB / 0.499 GB, free: 85.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.206, allocations: 0 / 0.499 GB, free: 85.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004222/1.207, allocations: 104 kB / 0.4991 GB, free: 85.81 MB / 410.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.02292/1.23, allocations: 5.19 MB / 0.5042 GB, free: 83.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.23, allocations: 9.594 kB / 0.5042 GB, free: 83.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0496/1.279, allocations: 6.899 MB / 0.5109 GB, free: 83.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02589/1.305, allocations: 7.468 MB / 0.5182 GB, free: 82.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003134/1.306, allocations: 160 kB / 0.5184 GB, free: 82.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002571/1.308, allocations: 295.2 kB / 0.5187 GB, free: 82.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01748/1.326, allocations: 7.034 MB / 0.5255 GB, free: 82.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02704/1.353, allocations: 10.78 MB / 0.5361 GB, free: 77.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003334/1.353, allocations: 71.92 kB / 0.5361 GB, free: 77.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002373/1.356, allocations: 37.81 kB / 0.5362 GB, free: 77.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00258/1.358, allocations: 1.14 MB / 0.5373 GB, free: 76.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07675/1.435, allocations: 53.92 MB / 0.5899 GB, free: 33.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007282/1.443, allocations: 4.332 MB / 0.5942 GB, free: 29.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004622/1.447, allocations: 2.739 MB / 0.5968 GB, free: 27.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009967/1.448, allocations: 0.5678 MB / 0.5974 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/1.448, allocations: 63.81 kB / 0.5974 GB, free: 26.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=213): time 5.771e-06/1.448, allocations: 0 / 0.5974 GB, free: 26.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=272): time 0.1094/1.558, allocations: 27 MB / 0.6238 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/1.558, allocations: 209.9 kB / 0.624 GB, free: 376 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00814/1.566, allocations: 3.591 MB / 0.6275 GB, free: 12.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000721/1.567, allocations: 25.7 kB / 0.6275 GB, free: 12.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003949/1.571, allocations: 3.629 MB / 0.6311 GB, free: 9.055 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001796/1.573, allocations: 0.9789 MB / 0.632 GB, free: 8.062 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007582/1.573, allocations: 0 / 0.632 GB, free: 8.062 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005483/1.574, allocations: 0.5994 MB / 0.6326 GB, free: 7.457 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007118/1.581, allocations: 2.884 MB / 0.6354 GB, free: 4.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2968/1.878, allocations: 6.769 MB / 0.6421 GB, free: 87.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/1.889, allocations: 4.377 MB / 0.6463 GB, free: 87.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002538/1.889, allocations: 41.03 kB / 0.6464 GB, free: 87.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=907) (initialization): time 0.04308/1.932, allocations: 12.13 MB / 0.6582 GB, free: 86.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/1.932, allocations: 64.81 kB / 0.6583 GB, free: 86.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002396/1.933, allocations: 139.8 kB / 0.6584 GB, free: 86.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01957/1.952, allocations: 3.971 MB / 0.6623 GB, free: 86.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008783/1.961, allocations: 1.466 MB / 0.6637 GB, free: 86.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05076/2.012, allocations: 24.34 MB / 0.6875 GB, free: 77.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00845/2.02, allocations: 270.6 kB / 0.6877 GB, free: 77.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001734/2.022, allocations: 415.3 kB / 0.6881 GB, free: 77.33 MB / 426.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.001457/2.024, allocations: 458.8 kB / 0.6886 GB, free: 77.04 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02636/2.05, allocations: 7.872 MB / 0.6963 GB, free: 74.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/2.051, allocations: 417.8 kB / 0.6967 GB, free: 74.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02477/2.076, allocations: 7.734 MB / 0.7042 GB, free: 71.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.791e-05/2.076, allocations: 28.16 kB / 0.7042 GB, free: 71.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.463e-05/2.076, allocations: 15.12 kB / 0.7043 GB, free: 71.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.087e-05/2.076, allocations: 10.69 kB / 0.7043 GB, free: 71.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04607/2.122, allocations: 15.75 MB / 0.7196 GB, free: 65.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-05/2.123, allocations: 11.94 kB / 0.7197 GB, free: 65.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002896/2.125, allocations: 313.4 kB / 0.72 GB, free: 65.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01835/2.144, allocations: 3.663 MB / 0.7235 GB, free: 63.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006742/2.145, allocations: 15.47 kB / 0.7235 GB, free: 63.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04596/2.191, allocations: 23.09 MB / 0.7461 GB, free: 43.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/2.191, allocations: 6.953 kB / 0.7461 GB, free: 43.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03204/2.223, allocations: 12.29 MB / 0.7581 GB, free: 31.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003515/2.226, allocations: 0.9187 MB / 0.759 GB, free: 30.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001515/2.228, allocations: 4 kB / 0.759 GB, free: 30.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004418/2.232, allocations: 131.7 kB / 0.7591 GB, free: 29.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001361/2.234, allocations: 198.1 kB / 0.7593 GB, free: 29.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005124/2.234, allocations: 68 kB / 0.7594 GB, free: 29.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006174/2.24, allocations: 2.443 MB / 0.7618 GB, free: 27.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.61e-07/2.24, allocations: 0 / 0.7618 GB, free: 27.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0099/2.25, allocations: 1.237 MB / 0.763 GB, free: 26.04 MB / 426.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.03301/2.283, allocations: 14.09 MB / 0.7767 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01837/2.302, allocations: 7.751 MB / 0.7843 GB, free: 3.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/2.302, allocations: 0 / 0.7843 GB, free: 3.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008953/2.311, allocations: 3.355 MB / 0.7876 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004563/2.316, allocations: 470.4 kB / 0.788 GB, free: 144 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3313/2.647, allocations: 11.77 MB / 0.7995 GB, free: 98.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0103/2.657, allocations: 4.036 MB / 0.8035 GB, free: 97.37 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01082/2.668, allocations: 2.095 MB / 0.8055 GB, free: 97.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005426/2.674, allocations: 2.365 MB / 0.8078 GB, free: 97.32 MB / 442.7 MB Notification: Performance of SimCode: time 1.643e-06/2.674, allocations: 0 / 0.8078 GB, free: 97.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2461/2.92, allocations: 109.8 MB / 0.9151 GB, free: 37.11 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/2.92, allocations: 168 kB / 0.9152 GB, free: 36.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.952/8.872, allocations: 4 kB / 0.9152 GB, free: 36.91 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