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 1.956/1.956, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.729e-05/3.744e-05, allocations: 4 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.09999, allocations: 48.71 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4352/0.5353, allocations: 90.42 MB / 412.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.5356, allocations: 71.97 kB / 412.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1456/0.6813, allocations: 33.21 MB / 445.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6813, allocations: 0 / 445.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001229/0.6815, allocations: 32 kB / 445.6 MB, free: 14.08 MB / 378.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.005657/0.6872, allocations: 1.659 MB / 447.2 MB, free: 12.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.6872, allocations: 8.031 kB / 447.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007834/0.688, allocations: 244.8 kB / 447.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/0.6914, allocations: 409.7 kB / 447.9 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/0.7034, allocations: 2.896 MB / 450.8 MB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.7036, allocations: 110.8 kB / 450.9 MB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004033/0.704, allocations: 143.9 kB / 451 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009853/0.7139, allocations: 2.877 MB / 453.9 MB, free: 5.418 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.289e-05/0.714, allocations: 15.88 kB / 453.9 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.7143, allocations: 63.97 kB / 454 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007793/0.7151, allocations: 266 kB / 454.2 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008699/0.7238, allocations: 2.073 MB / 456.3 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02129/0.7451, allocations: 11.26 MB / 467.6 MB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006276/0.7515, allocations: 1.072 MB / 468.6 MB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009029/0.7524, allocations: 370.9 kB / 469 MB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005728/0.7582, allocations: 2.641 MB / 471.6 MB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.7583, allocations: 38.56 kB / 471.7 MB, free: 3.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.987e-06/0.7583, allocations: 4 kB / 471.7 MB, free: 3.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.01821/0.7765, allocations: 3.151 MB / 474.8 MB, free: 15.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.7766, allocations: 85.55 kB / 474.9 MB, free: 15.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/0.7788, allocations: 1.036 MB / 475.9 MB, free: 14.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-05/0.7789, allocations: 33.7 kB / 476 MB, free: 14.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008319/0.7798, allocations: 0.9341 MB / 476.9 MB, free: 13.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.78, allocations: 189.5 kB / 477.1 MB, free: 13.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/0.7801, allocations: 32 kB / 477.1 MB, free: 13.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.7804, allocations: 370.8 kB / 477.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009466/0.7813, allocations: 371.9 kB / 477.9 MB, free: 12.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.783, allocations: 1.199 MB / 479.1 MB, free: 11.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.7845, allocations: 0.6379 MB / 479.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.919e-05/0.7845, allocations: 8 kB / 479.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003958/0.7885, allocations: 1.573 MB / 481.3 MB, free: 8.895 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.7885, allocations: 20 kB / 481.3 MB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.092e-05/0.7886, allocations: 28 kB / 481.3 MB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003261/0.7889, allocations: 88.83 kB / 481.4 MB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/0.7911, allocations: 343.4 kB / 481.7 MB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.7933, allocations: 1.714 MB / 483.5 MB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.7949, allocations: 63.94 kB / 483.5 MB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/0.7951, allocations: 84.09 kB / 483.6 MB, free: 6.43 MB / 410.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.0003591/0.7955, allocations: 234.5 kB / 483.8 MB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.7957, allocations: 110.6 kB / 483.9 MB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.7975, allocations: 0.6447 MB / 484.6 MB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.7975, allocations: 4 kB / 484.6 MB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.7976, allocations: 4 kB / 484.6 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.7976, allocations: 11.92 kB / 484.6 MB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00523/0.8028, allocations: 2.142 MB / 486.7 MB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.8029, allocations: 7.875 kB / 486.8 MB, free: 3.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007228/0.8036, allocations: 87.89 kB / 486.8 MB, free: 3.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00028/0.8039, allocations: 56.83 kB / 486.9 MB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.684e-05/0.804, allocations: 19.98 kB / 486.9 MB, free: 2.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/0.8062, allocations: 1.745 MB / 488.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.8063, allocations: 4 kB / 488.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.8086, allocations: 1.18 MB / 489.8 MB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005764/0.8092, allocations: 223.6 kB / 490.1 MB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.8094, allocations: 12 kB / 490.1 MB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006698/0.8101, allocations: 19.98 kB / 490.1 MB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.8102, allocations: 51.91 kB / 490.1 MB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.8102, allocations: 20 kB / 490.2 MB, free: 15.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001603/0.8119, allocations: 0.7333 MB / 490.9 MB, free: 14.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.8119, allocations: 0 / 490.9 MB, free: 14.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001971/0.8139, allocations: 299.9 kB / 491.2 MB, free: 14.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (47): * Single equations (assignments): 46 * 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.003052/0.8169, allocations: 2.698 MB / 493.9 MB, free: 11.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002526/0.8195, allocations: 1.004 MB / 494.9 MB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.8195, allocations: 4.188 kB / 494.9 MB, free: 10.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000804/0.8204, allocations: 386 kB / 495.3 MB, free: 10.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.8218, allocations: 169.2 kB / 495.4 MB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007839/0.8296, allocations: 2.635 MB / 498.1 MB, free: 7.293 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001888/0.8316, allocations: 1.454 MB / 499.5 MB, free: 5.805 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/0.8328, allocations: 0.5696 MB / 0.4884 GB, free: 5.234 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8328, allocations: 0 / 0.4884 GB, free: 5.234 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.455/4.288, allocations: 28.55 MB / 0.5163 GB, free: 120.5 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