Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.032/2.032, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.692e-05/3.698e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.454/0.5589, allocations: 94.22 MB / 416.1 MB, free: 11.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.5592, allocations: 70.47 kB / 416.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7497/1.309, allocations: 103.1 MB / 0.5071 GB, free: 90.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/1.309, allocations: 1.344 kB / 0.5071 GB, free: 90.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004238/1.309, allocations: 103.4 kB / 0.5072 GB, free: 90.77 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.02301/1.332, allocations: 5.201 MB / 0.5122 GB, free: 88.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/1.333, allocations: 10.47 kB / 0.5122 GB, free: 88.72 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004395/1.337, allocations: 1.017 MB / 0.5132 GB, free: 88.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06997/1.407, allocations: 6.889 MB / 0.52 GB, free: 88.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03549/1.442, allocations: 7.47 MB / 0.5273 GB, free: 87.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006346/1.443, allocations: 378.1 kB / 0.5276 GB, free: 87.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003493/1.447, allocations: 0.4937 MB / 0.5281 GB, free: 87.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03833/1.485, allocations: 12.24 MB / 0.5401 GB, free: 84.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003661/1.486, allocations: 71.06 kB / 0.5401 GB, free: 84.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002249/1.488, allocations: 235.7 kB / 0.5404 GB, free: 84.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002433/1.49, allocations: 1.144 MB / 0.5415 GB, free: 84.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03192/1.522, allocations: 10.12 MB / 0.5514 GB, free: 81.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08529/1.608, allocations: 55.59 MB / 0.6056 GB, free: 39.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02386/1.631, allocations: 5.686 MB / 0.6112 GB, free: 35.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005343/1.637, allocations: 2.811 MB / 0.6139 GB, free: 32.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0206/1.658, allocations: 8.808 MB / 0.6225 GB, free: 25.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/1.658, allocations: 59.72 kB / 0.6226 GB, free: 24.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=206): time 7.064e-06/1.658, allocations: 0 / 0.6226 GB, free: 24.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.1688/1.826, allocations: 29.43 MB / 0.6513 GB, free: 13.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/1.827, allocations: 213.8 kB / 0.6515 GB, free: 13.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01056/1.837, allocations: 4.162 MB / 0.6556 GB, free: 8.992 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007769/1.838, allocations: 69.7 kB / 0.6557 GB, free: 8.918 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004085/1.842, allocations: 3.424 MB / 0.659 GB, free: 5.492 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001856/1.844, allocations: 0.9762 MB / 0.66 GB, free: 4.523 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008147/1.845, allocations: 139.7 kB / 0.6601 GB, free: 4.391 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005603/1.846, allocations: 0.5958 MB / 0.6607 GB, free: 3.785 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007972/1.854, allocations: 2.942 MB / 0.6636 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3592/2.213, allocations: 6.732 MB / 0.6701 GB, free: 94.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/2.225, allocations: 4.409 MB / 0.6744 GB, free: 94.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002725/2.225, allocations: 39.44 kB / 0.6745 GB, free: 94.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.04712/2.272, allocations: 12.76 MB / 0.6869 GB, free: 93.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/2.272, allocations: 64.91 kB / 0.687 GB, free: 93.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001954/2.273, allocations: 131.5 kB / 0.6871 GB, free: 93.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02072/2.293, allocations: 4.077 MB / 0.6911 GB, free: 93.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00926/2.303, allocations: 1.415 MB / 0.6925 GB, free: 93.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05658/2.359, allocations: 25.81 MB / 0.7177 GB, free: 83.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008936/2.368, allocations: 396.3 kB / 0.7181 GB, free: 83.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001753/2.37, allocations: 399.3 kB / 0.7185 GB, free: 83.07 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.002173/2.372, allocations: 0.6077 MB / 0.719 GB, free: 82.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001372/2.374, allocations: 441.8 kB / 0.7195 GB, free: 82.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02905/2.403, allocations: 8.074 MB / 0.7273 GB, free: 79.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.504e-05/2.403, allocations: 27.88 kB / 0.7274 GB, free: 79.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.071e-05/2.403, allocations: 12.66 kB / 0.7274 GB, free: 79.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-05/2.403, allocations: 11.39 kB / 0.7274 GB, free: 79.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05241/2.455, allocations: 16.65 MB / 0.7437 GB, free: 73.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.128e-05/2.456, allocations: 9.469 kB / 0.7437 GB, free: 73.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002929/2.458, allocations: 303.5 kB / 0.744 GB, free: 73.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01929/2.478, allocations: 3.769 MB / 0.7476 GB, free: 72.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006954/2.479, allocations: 43.62 kB / 0.7477 GB, free: 72.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04979/2.528, allocations: 24.55 MB / 0.7717 GB, free: 51.83 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/2.528, allocations: 11.94 kB / 0.7717 GB, free: 51.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03535/2.564, allocations: 12.55 MB / 0.7839 GB, free: 40.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003838/2.568, allocations: 0.9482 MB / 0.7848 GB, free: 40.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001791/2.57, allocations: 47.94 kB / 0.7849 GB, free: 40.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00509/2.575, allocations: 170.2 kB / 0.7851 GB, free: 39.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001374/2.576, allocations: 190.7 kB / 0.7852 GB, free: 39.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003862/2.577, allocations: 82.3 kB / 0.7853 GB, free: 39.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008313/2.585, allocations: 2.943 MB / 0.7882 GB, free: 37.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.223e-06/2.585, allocations: 0 / 0.7882 GB, free: 37.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01023/2.595, allocations: 1.418 MB / 0.7896 GB, free: 35.71 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.03707/2.632, allocations: 14.33 MB / 0.8036 GB, free: 21.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02195/2.654, allocations: 8.031 MB / 0.8114 GB, free: 13.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/2.654, allocations: 0 / 0.8114 GB, free: 13.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01317/2.668, allocations: 3.416 MB / 0.8148 GB, free: 10.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007182/2.675, allocations: 0.539 MB / 0.8153 GB, free: 9.957 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4634/3.138, allocations: 12.62 MB / 0.8276 GB, free: 86.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/3.149, allocations: 4.046 MB / 0.8316 GB, free: 86.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005893/3.155, allocations: 2.432 MB / 0.8339 GB, free: 86.13 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/3.155, allocations: 0 / 0.8339 GB, free: 86.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.213/8.368, allocations: 166.6 MB / 0.9967 GB, free: 85.58 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat