Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.038/2.038, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.501e-05/4.51e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.439/0.552, allocations: 90.42 MB / 412.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.5524, allocations: 75.95 kB / 412.4 MB, free: 15.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1512/0.7036, allocations: 33.21 MB / 445.6 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7037, allocations: 4 kB / 445.6 MB, free: 13.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001197/0.7038, allocations: 32 kB / 445.6 MB, free: 13.75 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.005912/0.7097, allocations: 1.658 MB / 447.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/0.7098, allocations: 12.03 kB / 447.3 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008085/0.7106, allocations: 240.8 kB / 447.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003525/0.7142, allocations: 401.8 kB / 447.9 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01212/0.7263, allocations: 2.908 MB / 450.8 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.7265, allocations: 110.8 kB / 450.9 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005991/0.7272, allocations: 143.9 kB / 451.1 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009789/0.737, allocations: 2.873 MB / 453.9 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.21e-05/0.7371, allocations: 15.86 kB / 453.9 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002526/0.7374, allocations: 71.97 kB / 454 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007729/0.7382, allocations: 262 kB / 454.3 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008461/0.7466, allocations: 2.077 MB / 456.3 MB, free: 2.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02089/0.7676, allocations: 11.24 MB / 467.6 MB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006259/0.7739, allocations: 1.068 MB / 468.7 MB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009546/0.775, allocations: 366.9 kB / 469 MB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005764/0.7807, allocations: 2.653 MB / 471.7 MB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.7808, allocations: 34.56 kB / 471.7 MB, free: 2.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.427e-06/0.7809, allocations: 0 / 471.7 MB, free: 2.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.01805/0.7989, allocations: 3.163 MB / 474.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.799, allocations: 81.55 kB / 474.9 MB, free: 15.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.8013, allocations: 1.036 MB / 476 MB, free: 14.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.8015, allocations: 41.7 kB / 476 MB, free: 14.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009342/0.8024, allocations: 0.9238 MB / 476.9 MB, free: 13.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.8027, allocations: 193.5 kB / 477.1 MB, free: 13.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.8028, allocations: 28 kB / 477.2 MB, free: 13.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.803, allocations: 369.9 kB / 477.5 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009603/0.804, allocations: 371.9 kB / 477.9 MB, free: 12.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.8057, allocations: 1.195 MB / 479.1 MB, free: 10.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.8073, allocations: 0.6378 MB / 479.7 MB, free: 10.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.985e-05/0.8073, allocations: 8 kB / 479.7 MB, free: 10.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004324/0.8117, allocations: 1.619 MB / 481.3 MB, free: 8.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.8118, allocations: 20.98 kB / 481.4 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.823e-05/0.8118, allocations: 36 kB / 481.4 MB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.8122, allocations: 96.83 kB / 481.5 MB, free: 8.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/0.8143, allocations: 343.4 kB / 481.8 MB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.8166, allocations: 1.702 MB / 483.5 MB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.8182, allocations: 71.88 kB / 483.6 MB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.8184, allocations: 84 kB / 483.7 MB, free: 6.059 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.0003875/0.8188, allocations: 222.6 kB / 483.9 MB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.819, allocations: 114.6 kB / 484 MB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.8209, allocations: 0.6486 MB / 484.7 MB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.821, allocations: 8 kB / 484.7 MB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.821, allocations: 0 / 484.7 MB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.8211, allocations: 0 / 484.7 MB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00627/0.8273, allocations: 2.146 MB / 486.8 MB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.8274, allocations: 8.375 kB / 486.8 MB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007486/0.8282, allocations: 92.02 kB / 486.9 MB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003087/0.8285, allocations: 60.83 kB / 487 MB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/0.8286, allocations: 12 kB / 487 MB, free: 2.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/0.8311, allocations: 1.745 MB / 488.7 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.8311, allocations: 4 kB / 488.7 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.8336, allocations: 1.182 MB / 489.9 MB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006278/0.8342, allocations: 215.7 kB / 490.1 MB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.8344, allocations: 19.98 kB / 490.1 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007055/0.8351, allocations: 19.98 kB / 490.2 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.8353, allocations: 47.84 kB / 490.2 MB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.8353, allocations: 16 kB / 490.2 MB, free: 15.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001703/0.837, allocations: 0.7411 MB / 491 MB, free: 14.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.8371, allocations: 0 / 491 MB, free: 14.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00218/0.8393, allocations: 299.9 kB / 491.3 MB, free: 14.06 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.003436/0.8428, allocations: 2.694 MB / 494 MB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002769/0.8456, allocations: 1.004 MB / 495 MB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.8457, allocations: 0 / 495 MB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009048/0.8466, allocations: 387 kB / 495.3 MB, free: 9.836 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.8481, allocations: 164.4 kB / 495.5 MB, free: 9.672 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008104/0.8562, allocations: 2.489 MB / 498 MB, free: 7.094 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.8581, allocations: 1.454 MB / 499.4 MB, free: 5.605 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001949/0.8601, allocations: 405.4 kB / 499.8 MB, free: 5.207 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/0.8613, allocations: 0.554 MB / 0.4887 GB, free: 4.652 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/0.8614, allocations: 4 kB / 0.4887 GB, free: 4.648 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3531/1.214, allocations: 21.96 MB / 0.5101 GB, free: 122.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/1.215, allocations: 169.6 kB / 0.5103 GB, free: 122.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.111/4.326, allocations: 0 / 0.5103 GB, free: 122.2 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat