Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.155/2.155, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.583e-05, allocations: 7.984 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 48.69 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4379/0.5506, allocations: 90.02 MB / 406.3 MB, free: 2.523 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.551, allocations: 79.33 kB / 406.4 MB, free: 2.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.173/0.724, allocations: 32.55 MB / 438.9 MB, free: 5.742 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7241, allocations: 0 / 438.9 MB, free: 5.742 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001141/0.7242, allocations: 32 kB / 439 MB, free: 5.711 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005436/0.7297, allocations: 1.655 MB / 440.6 MB, free: 4.004 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.7297, allocations: 8.031 kB / 440.6 MB, free: 3.996 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/0.7332, allocations: 405.8 kB / 441 MB, free: 3.598 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/0.7451, allocations: 2.897 MB / 443.9 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.839e-05/0.7452, allocations: 44 kB / 444 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003944/0.7457, allocations: 91.91 kB / 444.1 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004564/0.7502, allocations: 1.709 MB / 445.8 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005586/0.7559, allocations: 2.432 MB / 448.2 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-05/0.756, allocations: 23.86 kB / 448.2 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.7562, allocations: 8 kB / 448.2 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008073/0.757, allocations: 258.1 kB / 448.5 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02115/0.7782, allocations: 11.62 MB / 460.1 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.7794, allocations: 488 kB / 460.6 MB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000662/0.78, allocations: 307.9 kB / 460.9 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000549/0.7806, allocations: 335.1 kB / 461.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.7807, allocations: 46.5 kB / 461.3 MB, free: 14.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 3.697e-06/0.7807, allocations: 0 / 461.3 MB, free: 14.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.01328/0.794, allocations: 2.878 MB / 464.1 MB, free: 11.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/0.7941, allocations: 111.2 kB / 464.2 MB, free: 11.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.7959, allocations: 0.9138 MB / 465.2 MB, free: 10.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.191e-05/0.7961, allocations: 29.7 kB / 465.2 MB, free: 10.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008851/0.797, allocations: 0.9379 MB / 466.1 MB, free: 9.559 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.7972, allocations: 189.4 kB / 466.3 MB, free: 9.371 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/0.7973, allocations: 4.031 kB / 466.3 MB, free: 9.367 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.7975, allocations: 374.8 kB / 466.7 MB, free: 8.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008042/0.7984, allocations: 339.9 kB / 467 MB, free: 8.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.7999, allocations: 1.163 MB / 468.2 MB, free: 7.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.8013, allocations: 0.5987 MB / 468.8 MB, free: 6.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/0.8014, allocations: 12 kB / 468.8 MB, free: 6.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003482/0.8048, allocations: 1.37 MB / 470.2 MB, free: 5.094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.023e-05/0.8049, allocations: 20 kB / 470.2 MB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.453e-05/0.805, allocations: 28 kB / 470.2 MB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003145/0.8053, allocations: 88.83 kB / 470.3 MB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/0.8074, allocations: 347.9 kB / 470.6 MB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.8096, allocations: 1.646 MB / 472.3 MB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.8111, allocations: 35.98 kB / 472.3 MB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.8113, allocations: 84 kB / 472.4 MB, free: 2.738 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003495/0.8116, allocations: 194.5 kB / 472.6 MB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001483/0.8131, allocations: 0.5698 MB / 473.1 MB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.8134, allocations: 106.6 kB / 473.3 MB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.8151, allocations: 0.609 MB / 473.9 MB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.8151, allocations: 8 kB / 473.9 MB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8151, allocations: 0 / 473.9 MB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.8151, allocations: 8.016 kB / 473.9 MB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004585/0.8197, allocations: 1.843 MB / 475.7 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.8198, allocations: 4 kB / 475.7 MB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007441/0.8205, allocations: 91.89 kB / 475.8 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002821/0.8208, allocations: 60.81 kB / 475.9 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.8209, allocations: 8.125 kB / 475.9 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002196/0.8231, allocations: 1.67 MB / 477.6 MB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/0.8231, allocations: 7.938 kB / 477.6 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.8254, allocations: 1.156 MB / 478.7 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004896/0.8259, allocations: 207.8 kB / 478.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.8261, allocations: 8 kB / 478.9 MB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/0.8268, allocations: 15.98 kB / 478.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.8269, allocations: 39.97 kB / 479 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/0.827, allocations: 23.94 kB / 479 MB, free: 11.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001375/0.8283, allocations: 0.6362 MB / 479.6 MB, free: 11.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8284, allocations: 0 / 479.6 MB, free: 11.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002085/0.8305, allocations: 256 kB / 479.9 MB, free: 10.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003112/0.8336, allocations: 2.744 MB / 482.6 MB, free: 7.938 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.836, allocations: 0.9287 MB / 483.6 MB, free: 7.008 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.836, allocations: 4 kB / 483.6 MB, free: 7.004 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007516/0.8368, allocations: 349.4 kB / 483.9 MB, free: 6.652 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.8381, allocations: 137.5 kB / 484 MB, free: 6.516 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008477/0.8466, allocations: 2.599 MB / 486.6 MB, free: 3.809 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001957/0.8486, allocations: 1.449 MB / 488.1 MB, free: 2.328 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/0.8499, allocations: 0.5618 MB / 488.7 MB, free: 1.766 MB / 410.7 MB Notification: Performance of SimCode: time 1.143e-06/0.8499, allocations: 0 / 488.7 MB, free: 1.766 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.438/4.288, allocations: 27.91 MB / 0.5045 GB, free: 126.3 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat