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 2.096/2.096, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.284e-05/4.3e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.5473, allocations: 90.43 MB / 412.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.5477, allocations: 71.97 kB / 412.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1499/0.6976, allocations: 33.22 MB / 445.6 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6977, allocations: 0 / 445.6 MB, free: 13.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001286/0.6978, allocations: 32 kB / 445.6 MB, free: 13.91 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.006023/0.7038, allocations: 1.655 MB / 447.3 MB, free: 12.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.7039, allocations: 11.97 kB / 447.3 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008492/0.7048, allocations: 240.8 kB / 447.5 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003516/0.7083, allocations: 401.8 kB / 447.9 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/0.7203, allocations: 2.9 MB / 450.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.7205, allocations: 106.8 kB / 450.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006117/0.7211, allocations: 147.9 kB / 451.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009953/0.7311, allocations: 2.863 MB / 453.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.624e-05/0.7312, allocations: 11.94 kB / 453.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/0.7315, allocations: 59.98 kB / 454 MB, free: 5.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007663/0.7323, allocations: 266 kB / 454.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008493/0.7408, allocations: 2.038 MB / 456.3 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02153/0.7623, allocations: 11.25 MB / 467.5 MB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00639/0.7688, allocations: 1.067 MB / 468.6 MB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00094/0.7698, allocations: 370.9 kB / 469 MB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00581/0.7756, allocations: 2.649 MB / 471.6 MB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.839e-05/0.7757, allocations: 34.56 kB / 471.6 MB, free: 2.988 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.587e-06/0.7758, allocations: 0 / 471.6 MB, free: 2.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.01868/0.7945, allocations: 3.151 MB / 474.8 MB, free: 15.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.7945, allocations: 85.53 kB / 474.9 MB, free: 15.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.7969, allocations: 1.04 MB / 475.9 MB, free: 14.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.7971, allocations: 37.7 kB / 476 MB, free: 14.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008725/0.7979, allocations: 0.9301 MB / 476.9 MB, free: 13.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.7983, allocations: 193.5 kB / 477.1 MB, free: 13.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.7984, allocations: 32 kB / 477.1 MB, free: 13.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.7986, allocations: 370.8 kB / 477.5 MB, free: 13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009517/0.7996, allocations: 371.9 kB / 477.8 MB, free: 12.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.8012, allocations: 1.179 MB / 479 MB, free: 11.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.8028, allocations: 0.6456 MB / 479.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.18e-05/0.8029, allocations: 8 kB / 479.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004171/0.807, allocations: 1.487 MB / 481.1 MB, free: 8.906 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.8071, allocations: 16.97 kB / 481.2 MB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-05/0.8072, allocations: 32.06 kB / 481.2 MB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000334/0.8075, allocations: 96.83 kB / 481.3 MB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/0.8098, allocations: 343.3 kB / 481.6 MB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.812, allocations: 1.702 MB / 483.3 MB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.8137, allocations: 71.88 kB / 483.4 MB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/0.814, allocations: 84 kB / 483.5 MB, free: 6.438 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.0004048/0.8144, allocations: 234.5 kB / 483.7 MB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.8147, allocations: 110.6 kB / 483.8 MB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.8165, allocations: 0.6408 MB / 484.5 MB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.8166, allocations: 7.938 kB / 484.5 MB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.8166, allocations: 4 kB / 484.5 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.8166, allocations: 3.984 kB / 484.5 MB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00612/0.8227, allocations: 2.13 MB / 486.6 MB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.8228, allocations: 4.438 kB / 486.6 MB, free: 3.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007698/0.8236, allocations: 95.95 kB / 486.7 MB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002978/0.8239, allocations: 60.83 kB / 486.8 MB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/0.824, allocations: 19.98 kB / 486.8 MB, free: 3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.8263, allocations: 1.741 MB / 488.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.8263, allocations: 4 kB / 488.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.8287, allocations: 1.172 MB / 489.7 MB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005689/0.8293, allocations: 223.6 kB / 489.9 MB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.8295, allocations: 19.98 kB / 489.9 MB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006602/0.8302, allocations: 23.98 kB / 490 MB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.8303, allocations: 43.84 kB / 490 MB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.764e-05/0.8304, allocations: 16 kB / 490 MB, free: 15.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001656/0.832, allocations: 0.745 MB / 490.8 MB, free: 14.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.8321, allocations: 0 / 490.8 MB, free: 14.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002214/0.8343, allocations: 299.9 kB / 491.1 MB, free: 14.43 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.003123/0.8375, allocations: 2.694 MB / 493.8 MB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002532/0.8401, allocations: 0.9522 MB / 494.7 MB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.8401, allocations: 4 kB / 494.7 MB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008174/0.8409, allocations: 366.3 kB / 495.1 MB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.8424, allocations: 168.5 kB / 495.2 MB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008609/0.8511, allocations: 2.638 MB / 497.9 MB, free: 7.387 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/0.8529, allocations: 1.454 MB / 499.3 MB, free: 5.898 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/0.8541, allocations: 0.5618 MB / 499.9 MB, free: 5.336 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/0.8542, allocations: 4 kB / 499.9 MB, free: 5.332 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.399/4.253, allocations: 28.34 MB / 0.5158 GB, free: 120 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