Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.431/2.431, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.246e-05/4.263e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4131, allocations: 54.85 MB / 359.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.227/0.6401, allocations: 95.38 MB / 455.2 MB, free: 1.414 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/0.6405, allocations: 71.97 kB / 455.3 MB, free: 1.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7759/1.416, allocations: 84.68 MB / 0.5273 GB, free: 107.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.416, allocations: 0 / 0.5273 GB, free: 107.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002329/1.417, allocations: 75.03 kB / 0.5274 GB, free: 107.2 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.01512/1.432, allocations: 3.512 MB / 0.5308 GB, free: 105.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.28e-05/1.432, allocations: 9.594 kB / 0.5308 GB, free: 105.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004203/1.436, allocations: 0.7788 MB / 0.5316 GB, free: 105.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02905/1.465, allocations: 3.505 MB / 0.535 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01837/1.484, allocations: 4.188 MB / 0.5391 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000576/1.484, allocations: 299.8 kB / 0.5394 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002894/1.487, allocations: 392.6 kB / 0.5398 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03086/1.518, allocations: 9.856 MB / 0.5494 GB, free: 103.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002162/1.518, allocations: 23.09 kB / 0.5494 GB, free: 103.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001669/1.52, allocations: 178.1 kB / 0.5496 GB, free: 103.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002546/1.523, allocations: 1.165 MB / 0.5507 GB, free: 103.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02598/1.549, allocations: 9.292 MB / 0.5598 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06654/1.615, allocations: 32.43 MB / 0.5915 GB, free: 83.13 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008473/1.624, allocations: 3.335 MB / 0.5947 GB, free: 81.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002309/1.626, allocations: 1.064 MB / 0.5958 GB, free: 80.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/1.628, allocations: 1.309 MB / 0.597 GB, free: 79.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/1.628, allocations: 59.03 kB / 0.5971 GB, free: 79.74 MB / 458.7 MB Notification: Performance of pre-optimization done (n=187): time 6.122e-06/1.628, allocations: 0 / 0.5971 GB, free: 79.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=193): time 0.02945/1.657, allocations: 8.686 MB / 0.6056 GB, free: 74.73 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/1.657, allocations: 90.42 kB / 0.6057 GB, free: 74.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004096/1.661, allocations: 2.324 MB / 0.6079 GB, free: 72.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003349/1.662, allocations: 54.56 kB / 0.608 GB, free: 72.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001722/1.664, allocations: 2.731 MB / 0.6107 GB, free: 70.04 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008609/1.664, allocations: 0.7143 MB / 0.6114 GB, free: 69.42 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003577/1.665, allocations: 96 kB / 0.6115 GB, free: 69.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003018/1.665, allocations: 0.5109 MB / 0.612 GB, free: 68.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003253/1.668, allocations: 1.501 MB / 0.6134 GB, free: 67.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005338/1.674, allocations: 4.382 MB / 0.6177 GB, free: 61.94 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00562/1.679, allocations: 2.616 MB / 0.6203 GB, free: 59.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-05/1.68, allocations: 28 kB / 0.6203 GB, free: 59.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.01478/1.694, allocations: 5.8 MB / 0.6259 GB, free: 54.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.689e-05/1.695, allocations: 51.94 kB / 0.626 GB, free: 54.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001263/1.695, allocations: 100 kB / 0.6261 GB, free: 54.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004595/1.695, allocations: 196.6 kB / 0.6263 GB, free: 54.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006472/1.702, allocations: 1.089 MB / 0.6273 GB, free: 53.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/1.703, allocations: 1.685 MB / 0.629 GB, free: 51.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004451/1.708, allocations: 211 kB / 0.6292 GB, free: 51.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009374/1.709, allocations: 295.4 kB / 0.6295 GB, free: 51.02 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.001012/1.71, allocations: 479.8 kB / 0.6299 GB, free: 50.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006929/1.711, allocations: 252.8 kB / 0.6302 GB, free: 50.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007147/1.718, allocations: 2.493 MB / 0.6326 GB, free: 48.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.037e-05/1.718, allocations: 20 kB / 0.6326 GB, free: 48.14 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.718, allocations: 4 kB / 0.6326 GB, free: 48.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/1.718, allocations: 10.83 kB / 0.6326 GB, free: 48.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02541/1.743, allocations: 8.156 MB / 0.6406 GB, free: 41.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.683e-05/1.743, allocations: 16.03 kB / 0.6406 GB, free: 41.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/1.746, allocations: 256.2 kB / 0.6409 GB, free: 40.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003088/1.747, allocations: 56.27 kB / 0.6409 GB, free: 40.81 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/1.747, allocations: 43.94 kB / 0.641 GB, free: 40.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/1.749, allocations: 1.496 MB / 0.6424 GB, free: 39.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.691e-05/1.749, allocations: 15.94 kB / 0.6424 GB, free: 39.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/1.759, allocations: 4.867 MB / 0.6472 GB, free: 34.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002019/1.761, allocations: 0.5026 MB / 0.6477 GB, free: 33.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006034/1.762, allocations: 43.31 kB / 0.6477 GB, free: 33.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/1.764, allocations: 63.66 kB / 0.6478 GB, free: 33.72 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003704/1.764, allocations: 121.6 kB / 0.6479 GB, free: 33.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002533/1.765, allocations: 60 kB / 0.6479 GB, free: 33.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004312/1.769, allocations: 1.582 MB / 0.6495 GB, free: 32.17 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.769, allocations: 0 / 0.6495 GB, free: 32.17 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007896/1.777, allocations: 0.8123 MB / 0.6503 GB, free: 31.36 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.01134/1.788, allocations: 8.234 MB / 0.6583 GB, free: 22.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007983/1.796, allocations: 3.791 MB / 0.662 GB, free: 19.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/1.796, allocations: 4.5 kB / 0.662 GB, free: 19.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002397/1.799, allocations: 1.233 MB / 0.6632 GB, free: 17.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/1.801, allocations: 309.1 kB / 0.6635 GB, free: 17.49 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02516/1.827, allocations: 8.445 MB / 0.6718 GB, free: 8.875 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005322/1.832, allocations: 3.272 MB / 0.675 GB, free: 5.594 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007411/1.84, allocations: 1.732 MB / 0.6767 GB, free: 3.863 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003901/1.843, allocations: 1.749 MB / 0.6784 GB, free: 2.113 MB / 458.7 MB Notification: Performance of SimCode: time 1.743e-06/1.844, allocations: 4 kB / 0.6784 GB, free: 2.109 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4737/2.317, allocations: 56.96 MB / 0.734 GB, free: 104.1 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/2.318, allocations: 163.9 kB / 0.7342 GB, free: 103.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.29/6.608, allocations: 3.938 kB / 0.7342 GB, free: 103.9 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat