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.023/2.023, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.541e-05/5.546e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1411, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4516/0.5928, allocations: 90.44 MB / 412.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/0.5931, allocations: 71.97 kB / 412.4 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1543/0.7474, allocations: 33.2 MB / 445.6 MB, free: 13.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.759e-06/0.7475, allocations: 0 / 445.6 MB, free: 13.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001027/0.7476, allocations: 43.92 kB / 445.6 MB, free: 13.64 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.005452/0.7531, allocations: 1.647 MB / 447.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.7531, allocations: 12.03 kB / 447.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006469/0.7538, allocations: 244.8 kB / 447.5 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003284/0.7571, allocations: 409.8 kB / 447.9 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/0.7692, allocations: 2.893 MB / 450.8 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.7694, allocations: 102.8 kB / 450.9 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004148/0.7698, allocations: 147.8 kB / 451.1 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00986/0.7797, allocations: 2.875 MB / 453.9 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-05/0.7798, allocations: 11.88 kB / 454 MB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000272/0.7801, allocations: 63.98 kB / 454 MB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008152/0.781, allocations: 254.1 kB / 454.3 MB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008928/0.7899, allocations: 2.038 MB / 456.3 MB, free: 2.629 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02147/0.8115, allocations: 11.26 MB / 467.6 MB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006355/0.8179, allocations: 1.056 MB / 468.6 MB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009174/0.8189, allocations: 382.9 kB / 469 MB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005695/0.8246, allocations: 2.633 MB / 471.6 MB, free: 2.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.8247, allocations: 38.56 kB / 471.7 MB, free: 2.723 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.577e-06/0.8247, allocations: 0 / 471.7 MB, free: 2.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.01833/0.843, allocations: 3.151 MB / 474.8 MB, free: 15.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.8432, allocations: 85.55 kB / 474.9 MB, free: 15.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/0.8454, allocations: 1.048 MB / 476 MB, free: 14.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.8455, allocations: 33.7 kB / 476 MB, free: 14.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009823/0.8465, allocations: 0.9199 MB / 476.9 MB, free: 13.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/0.8469, allocations: 193.5 kB / 477.1 MB, free: 13.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.845e-05/0.847, allocations: 28 kB / 477.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.8472, allocations: 365.9 kB / 477.5 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009917/0.8482, allocations: 371.9 kB / 477.8 MB, free: 12.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.8499, allocations: 1.187 MB / 479 MB, free: 10.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.8514, allocations: 0.6417 MB / 479.7 MB, free: 10.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-05/0.8514, allocations: 8 kB / 479.7 MB, free: 10.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003876/0.8553, allocations: 1.542 MB / 481.2 MB, free: 8.598 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.8554, allocations: 16 kB / 481.2 MB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.828e-05/0.8555, allocations: 36.11 kB / 481.3 MB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003278/0.8558, allocations: 92.83 kB / 481.4 MB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/0.858, allocations: 347.3 kB / 481.7 MB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.8601, allocations: 1.706 MB / 483.4 MB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.8617, allocations: 64.17 kB / 483.5 MB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.8618, allocations: 88 kB / 483.6 MB, free: 6.125 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.0003445/0.8622, allocations: 230.5 kB / 483.8 MB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.8624, allocations: 110.6 kB / 483.9 MB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.8642, allocations: 0.6447 MB / 484.5 MB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.8642, allocations: 4 kB / 484.5 MB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8642, allocations: 0 / 484.5 MB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.8642, allocations: 7.984 kB / 484.5 MB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00512/0.8694, allocations: 2.131 MB / 486.7 MB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.8694, allocations: 11.97 kB / 486.7 MB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007498/0.8702, allocations: 91.83 kB / 486.8 MB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002869/0.8705, allocations: 60.81 kB / 486.8 MB, free: 2.707 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.8705, allocations: 15.94 kB / 486.9 MB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/0.8729, allocations: 1.737 MB / 488.6 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.8729, allocations: 4 kB / 488.6 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.8752, allocations: 1.182 MB / 489.8 MB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005027/0.8757, allocations: 215.6 kB / 490 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/0.8759, allocations: 12 kB / 490 MB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006768/0.8766, allocations: 23.98 kB / 490 MB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.8767, allocations: 43.84 kB / 490.1 MB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.8767, allocations: 20.06 kB / 490.1 MB, free: 15.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001641/0.8784, allocations: 0.7411 MB / 490.8 MB, free: 14.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.8784, allocations: 0 / 490.8 MB, free: 14.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001967/0.8804, allocations: 303.9 kB / 491.1 MB, free: 14.13 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.00302/0.8834, allocations: 2.702 MB / 493.8 MB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.8859, allocations: 0.948 MB / 494.8 MB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.886, allocations: 4 kB / 494.8 MB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007663/0.8867, allocations: 370.8 kB / 495.1 MB, free: 9.973 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.8881, allocations: 160.6 kB / 495.3 MB, free: 9.816 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007163/0.8953, allocations: 2.488 MB / 497.8 MB, free: 7.238 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/0.8971, allocations: 1.458 MB / 499.2 MB, free: 5.746 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001889/0.899, allocations: 401.6 kB / 499.6 MB, free: 5.352 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.9001, allocations: 0.554 MB / 0.4885 GB, free: 4.797 MB / 426.7 MB Notification: Performance of SimCode: time 1.263e-06/0.9001, allocations: 4 kB / 0.4885 GB, free: 4.793 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3566/1.257, allocations: 21.82 MB / 0.5098 GB, free: 121.9 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002885/1.257, allocations: 172.2 kB / 0.5099 GB, free: 121.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.16/4.418, allocations: 0 / 0.5099 GB, free: 121.7 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