Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.459/2.459, allocations: 235 MB / 247.6 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.192e-05/5.204e-05, allocations: 4 kB / 305 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4687, allocations: 54.84 MB / 359.9 MB, free: 2.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2032/0.6719, allocations: 95.39 MB / 455.2 MB, free: 1.527 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.6723, allocations: 75.95 kB / 455.3 MB, free: 1.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8533/1.526, allocations: 84.68 MB / 0.5273 GB, free: 106.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.366e-06/1.526, allocations: 3.75 kB / 0.5273 GB, free: 106.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003123/1.526, allocations: 72.78 kB / 0.5274 GB, free: 106.8 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: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.02117/1.547, allocations: 3.513 MB / 0.5308 GB, free: 105.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.83e-05/1.547, allocations: 8.562 kB / 0.5308 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005942/1.553, allocations: 0.7805 MB / 0.5316 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03244/1.586, allocations: 3.504 MB / 0.535 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01813/1.604, allocations: 4.186 MB / 0.5391 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006426/1.605, allocations: 297.5 kB / 0.5394 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003023/1.608, allocations: 390.5 kB / 0.5398 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03329/1.641, allocations: 9.81 MB / 0.5494 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000232/1.641, allocations: 28.75 kB / 0.5494 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002386/1.644, allocations: 182.1 kB / 0.5496 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002742/1.647, allocations: 1.164 MB / 0.5507 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02598/1.673, allocations: 9.167 MB / 0.5596 GB, free: 102.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0675/1.74, allocations: 32.44 MB / 0.5913 GB, free: 82.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008837/1.749, allocations: 3.316 MB / 0.5946 GB, free: 81.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002524/1.752, allocations: 1.065 MB / 0.5956 GB, free: 80.74 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/1.753, allocations: 1.308 MB / 0.5969 GB, free: 79.57 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/1.753, allocations: 54.88 kB / 0.5969 GB, free: 79.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=187): time 6.452e-06/1.753, allocations: 0 / 0.5969 GB, free: 79.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=193): time 0.03212/1.786, allocations: 8.685 MB / 0.6054 GB, free: 74.95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/1.786, allocations: 94.42 kB / 0.6055 GB, free: 74.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005012/1.791, allocations: 2.324 MB / 0.6078 GB, free: 72.76 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003416/1.791, allocations: 47.27 kB / 0.6078 GB, free: 72.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001935/1.793, allocations: 2.735 MB / 0.6105 GB, free: 70.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009821/1.794, allocations: 0.7095 MB / 0.6112 GB, free: 69.63 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005046/1.795, allocations: 92 kB / 0.6113 GB, free: 69.54 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003406/1.795, allocations: 0.5238 MB / 0.6118 GB, free: 69.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003661/1.799, allocations: 1.497 MB / 0.6132 GB, free: 67.72 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005654/1.804, allocations: 4.356 MB / 0.6175 GB, free: 62.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005553/1.81, allocations: 2.614 MB / 0.6201 GB, free: 59.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/1.81, allocations: 31.95 kB / 0.6201 GB, free: 59.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.0147/1.825, allocations: 5.458 MB / 0.6254 GB, free: 55.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-05/1.825, allocations: 50.72 kB / 0.6255 GB, free: 55.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001642/1.825, allocations: 104 kB / 0.6256 GB, free: 54.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005097/1.826, allocations: 191.7 kB / 0.6257 GB, free: 54.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008079/1.834, allocations: 1.084 MB / 0.6268 GB, free: 53.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/1.836, allocations: 1.682 MB / 0.6284 GB, free: 52.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007193/1.843, allocations: 208.3 kB / 0.6286 GB, free: 51.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/1.845, allocations: 299 kB / 0.6289 GB, free: 51.61 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (601): * Single equations (assignments): 594 * Array equations: 6 * 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.00138/1.846, allocations: 483.8 kB / 0.6294 GB, free: 51.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008038/1.847, allocations: 248.7 kB / 0.6296 GB, free: 50.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007765/1.855, allocations: 2.499 MB / 0.6321 GB, free: 48.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.011e-05/1.855, allocations: 27.91 kB / 0.6321 GB, free: 48.72 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.855, allocations: 0 / 0.6321 GB, free: 48.72 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.324e-05/1.855, allocations: 10.52 kB / 0.6321 GB, free: 48.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02834/1.883, allocations: 8.124 MB / 0.64 GB, free: 41.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/1.883, allocations: 8 kB / 0.64 GB, free: 41.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002837/1.886, allocations: 264.4 kB / 0.6403 GB, free: 41.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003354/1.887, allocations: 56.73 kB / 0.6404 GB, free: 41.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002869/1.887, allocations: 47.88 kB / 0.6404 GB, free: 41.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/1.889, allocations: 1.48 MB / 0.6418 GB, free: 39.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.811e-05/1.889, allocations: 19.88 kB / 0.6419 GB, free: 39.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/1.9, allocations: 4.875 MB / 0.6466 GB, free: 34.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002331/1.903, allocations: 0.498 MB / 0.6471 GB, free: 34.42 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009155/1.904, allocations: 39.66 kB / 0.6472 GB, free: 34.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/1.906, allocations: 53.78 kB / 0.6472 GB, free: 34.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000432/1.906, allocations: 129.8 kB / 0.6473 GB, free: 34.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002425/1.907, allocations: 63.09 kB / 0.6474 GB, free: 34.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003553/1.91, allocations: 1.576 MB / 0.6489 GB, free: 32.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.91, allocations: 1.031 kB / 0.6489 GB, free: 32.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009444/1.92, allocations: 0.8203 MB / 0.6497 GB, free: 31.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (142): * Single equations (assignments): 135 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.01257/1.932, allocations: 8.224 MB / 0.6578 GB, free: 23.55 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008207/1.941, allocations: 3.641 MB / 0.6613 GB, free: 19.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/1.941, allocations: 0 / 0.6613 GB, free: 19.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002603/1.943, allocations: 1.203 MB / 0.6625 GB, free: 18.72 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/1.946, allocations: 303.7 kB / 0.6628 GB, free: 18.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.028/1.974, allocations: 8.894 MB / 0.6715 GB, free: 9.367 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006348/1.981, allocations: 3.276 MB / 0.6747 GB, free: 6.074 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003954/1.985, allocations: 1.796 MB / 0.6764 GB, free: 4.277 MB / 458.7 MB Notification: Performance of SimCode: time 1.312e-06/1.985, allocations: 0 / 0.6764 GB, free: 4.277 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.284/6.268, allocations: 85.89 MB / 0.7603 GB, free: 87.82 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat