Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.308/2.308, allocations: 235 MB / 247.6 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.454e-05/3.461e-05, allocations: 0 / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4474, allocations: 54.85 MB / 359.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.6371, allocations: 101.1 MB / 460.9 MB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.6375, allocations: 75.95 kB / 461 MB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7886/1.426, allocations: 103.3 MB / 0.551 GB, free: 102.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.426, allocations: 0 / 0.551 GB, free: 102.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004035/1.427, allocations: 101.6 kB / 0.5511 GB, free: 102.3 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.02267/1.449, allocations: 5.193 MB / 0.5562 GB, free: 100.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/1.449, allocations: 7.625 kB / 0.5562 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004524/1.454, allocations: 1.018 MB / 0.5572 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04944/1.503, allocations: 6.896 MB / 0.5639 GB, free: 99.81 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02647/1.53, allocations: 7.481 MB / 0.5713 GB, free: 98.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004836/1.53, allocations: 378.5 kB / 0.5716 GB, free: 98.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002861/1.533, allocations: 0.4939 MB / 0.5721 GB, free: 98.69 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0371/1.57, allocations: 12.19 MB / 0.584 GB, free: 92.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003717/1.571, allocations: 79.95 kB / 0.5841 GB, free: 92.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002403/1.573, allocations: 238 kB / 0.5843 GB, free: 92.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002379/1.576, allocations: 1.135 MB / 0.5854 GB, free: 92.04 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03084/1.607, allocations: 9.938 MB / 0.5951 GB, free: 88.96 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08054/1.687, allocations: 55.62 MB / 0.6494 GB, free: 34.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02352/1.711, allocations: 5.647 MB / 0.6549 GB, free: 28.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005289/1.716, allocations: 2.827 MB / 0.6577 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02018/1.736, allocations: 8.791 MB / 0.6663 GB, free: 16.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/1.736, allocations: 71.64 kB / 0.6664 GB, free: 16.75 MB / 458.7 MB Notification: Performance of pre-optimization done (n=206): time 6.522e-06/1.736, allocations: 0 / 0.6664 GB, free: 16.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.1736/1.91, allocations: 29.41 MB / 0.6951 GB, free: 3.344 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/1.91, allocations: 213.9 kB / 0.6953 GB, free: 3.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3431/2.253, allocations: 4.154 MB / 0.6993 GB, free: 107.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007562/2.254, allocations: 68.84 kB / 0.6994 GB, free: 107.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003737/2.258, allocations: 3.432 MB / 0.7028 GB, free: 106.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001836/2.26, allocations: 0.9812 MB / 0.7037 GB, free: 105.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/2.261, allocations: 135.2 kB / 0.7038 GB, free: 105.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006991/2.262, allocations: 0.5934 MB / 0.7044 GB, free: 105.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008467/2.27, allocations: 2.945 MB / 0.7073 GB, free: 105.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01154/2.282, allocations: 6.698 MB / 0.7138 GB, free: 100.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/2.294, allocations: 4.417 MB / 0.7182 GB, free: 100.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002508/2.294, allocations: 39.38 kB / 0.7182 GB, free: 100.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.04357/2.338, allocations: 12.39 MB / 0.7303 GB, free: 98.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/2.338, allocations: 64.75 kB / 0.7303 GB, free: 98.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002147/2.338, allocations: 138.8 kB / 0.7305 GB, free: 98.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02036/2.359, allocations: 4.076 MB / 0.7345 GB, free: 97.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008847/2.367, allocations: 1.415 MB / 0.7358 GB, free: 97.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0548/2.422, allocations: 25.8 MB / 0.761 GB, free: 84.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009025/2.431, allocations: 406.6 kB / 0.7614 GB, free: 84.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001941/2.433, allocations: 394 kB / 0.7618 GB, free: 84.18 MB / 474.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.003045/2.436, allocations: 0.6069 MB / 0.7624 GB, free: 83.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/2.438, allocations: 444.7 kB / 0.7628 GB, free: 83.44 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02718/2.465, allocations: 8.063 MB / 0.7707 GB, free: 80.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.628e-05/2.465, allocations: 30.59 kB / 0.7707 GB, free: 80.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.011e-05/2.465, allocations: 15.25 kB / 0.7707 GB, free: 80.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.567e-05/2.465, allocations: 10.69 kB / 0.7707 GB, free: 80.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0492/2.514, allocations: 16.64 MB / 0.787 GB, free: 73.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.461e-05/2.515, allocations: 4 kB / 0.787 GB, free: 73.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002853/2.517, allocations: 300 kB / 0.7873 GB, free: 73.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0186/2.536, allocations: 3.775 MB / 0.791 GB, free: 70.87 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006673/2.537, allocations: 51.38 kB / 0.791 GB, free: 70.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04966/2.586, allocations: 24.55 MB / 0.815 GB, free: 49.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/2.587, allocations: 7.938 kB / 0.815 GB, free: 49.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03379/2.62, allocations: 12.56 MB / 0.8273 GB, free: 36.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003581/2.624, allocations: 0.9481 MB / 0.8282 GB, free: 35.72 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001456/2.625, allocations: 48.62 kB / 0.8282 GB, free: 35.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004548/2.63, allocations: 171.8 kB / 0.8284 GB, free: 35.51 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001061/2.631, allocations: 186.1 kB / 0.8286 GB, free: 35.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003191/2.632, allocations: 73.16 kB / 0.8287 GB, free: 35.26 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006962/2.638, allocations: 2.943 MB / 0.8315 GB, free: 32.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.31e-07/2.639, allocations: 0 / 0.8315 GB, free: 32.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009823/2.648, allocations: 1.425 MB / 0.8329 GB, free: 30.9 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 (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.03544/2.684, allocations: 14.34 MB / 0.8469 GB, free: 16.35 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01998/2.704, allocations: 7.775 MB / 0.8545 GB, free: 8.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/2.704, allocations: 0 / 0.8545 GB, free: 8.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009001/2.713, allocations: 3.365 MB / 0.8578 GB, free: 5.172 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005198/2.718, allocations: 0.5444 MB / 0.8583 GB, free: 4.645 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04352/2.762, allocations: 12.61 MB / 0.8706 GB, free: 7.922 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01061/2.772, allocations: 4.043 MB / 0.8746 GB, free: 3.871 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.374/3.147, allocations: 2.443 MB / 0.877 GB, free: 109.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.763e-06/3.147, allocations: 0 / 0.877 GB, free: 109.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.911/8.058, allocations: 165.7 MB / 1.039 GB, free: 1.852 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat