Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.293/2.293, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.87e-05/3.872e-05, allocations: 4 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4248, allocations: 54.86 MB / 359.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1559/0.5807, allocations: 84.98 MB / 444.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.5811, allocations: 72.73 kB / 444.9 MB, free: 11.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0249/0.606, allocations: 5.518 MB / 450.4 MB, free: 6.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.606, allocations: 0 / 450.4 MB, free: 6.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.3e-05/0.6061, allocations: 4 kB / 450.4 MB, free: 6.41 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001556/0.6076, allocations: 0.6112 MB / 451.1 MB, free: 5.758 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.6077, allocations: 8.031 kB / 451.1 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.6078, allocations: 78.52 kB / 451.1 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.608, allocations: 43.44 kB / 451.2 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.6085, allocations: 287.6 kB / 451.5 MB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.664e-05/0.6085, allocations: 24.78 kB / 451.5 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.612e-05/0.6086, allocations: 40 kB / 451.5 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008861/0.6095, allocations: 314.1 kB / 451.8 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.6096, allocations: 0 / 451.8 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.448e-05/0.6096, allocations: 16 kB / 451.8 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.6097, allocations: 8 kB / 451.9 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008303/0.6105, allocations: 265.5 kB / 452.1 MB, free: 4.641 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003552/0.6141, allocations: 1.361 MB / 453.5 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007072/0.6148, allocations: 256 kB / 453.7 MB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/0.6152, allocations: 153.3 kB / 453.9 MB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/0.6153, allocations: 4.281 kB / 453.9 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.6153, allocations: 30.84 kB / 453.9 MB, free: 2.723 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.996e-06/0.6153, allocations: 4 kB / 453.9 MB, free: 2.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007695/0.6161, allocations: 255.8 kB / 454.2 MB, free: 2.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.6162, allocations: 55.41 kB / 454.2 MB, free: 2.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.6166, allocations: 235.1 kB / 454.4 MB, free: 2.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.6166, allocations: 29.7 kB / 454.5 MB, free: 2.129 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.6168, allocations: 254.4 kB / 454.7 MB, free: 1.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.6169, allocations: 126.2 kB / 454.8 MB, free: 1.754 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.617, allocations: 9.031 kB / 454.9 MB, free: 1.746 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6172, allocations: 334.8 kB / 455.2 MB, free: 1.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.6174, allocations: 84.88 kB / 455.3 MB, free: 1.328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.6178, allocations: 154.7 kB / 455.4 MB, free: 1.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.6182, allocations: 113.5 kB / 455.5 MB, free: 1.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6182, allocations: 0 / 455.5 MB, free: 1.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008325/0.619, allocations: 307.2 kB / 455.8 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6191, allocations: 5.719 kB / 455.8 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.6191, allocations: 8.203 kB / 455.8 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.6191, allocations: 11.95 kB / 455.9 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009243/0.6201, allocations: 107.8 kB / 456 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.6201, allocations: 5.516 kB / 456 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.6206, allocations: 39.67 kB / 456 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.6206, allocations: 15.98 kB / 456 MB, free: 0.5508 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.6208, allocations: 124.9 kB / 456.1 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.523e-05/0.6209, allocations: 35.62 kB / 456.2 MB, free: 396 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008155/0.6217, allocations: 296.5 kB / 456.5 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.6217, allocations: 4 kB / 456.5 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.6218, allocations: 4.984 kB / 456.5 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.6218, allocations: 0 / 456.5 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007405/0.6225, allocations: 401.1 kB / 456.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.6225, allocations: 4 kB / 456.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000797/0.6233, allocations: 79.88 kB / 456.9 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.6234, allocations: 8 kB / 457 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.6234, allocations: 4 kB / 457 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.6234, allocations: 4 kB / 457 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6234, allocations: 0 / 457 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.6245, allocations: 486.7 kB / 457.4 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.6247, allocations: 132.7 kB / 457.6 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.385e-05/0.6248, allocations: 9.406 kB / 457.6 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.6252, allocations: 12.06 kB / 457.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/0.6253, allocations: 27.95 kB / 457.6 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.6253, allocations: 7.938 kB / 457.6 MB, free: 14.85 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002862/0.6256, allocations: 191.1 kB / 457.8 MB, free: 14.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6257, allocations: 0 / 457.8 MB, free: 14.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005712/0.6262, allocations: 95.78 kB / 457.9 MB, free: 14.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001498/0.6277, allocations: 1.016 MB / 458.9 MB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007385/0.6285, allocations: 240.2 kB / 459.2 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6285, allocations: 3.938 kB / 459.2 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003416/0.6289, allocations: 127.7 kB / 459.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.6293, allocations: 20.5 kB / 459.3 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.6314, allocations: 0.6438 MB / 459.9 MB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.6319, allocations: 0.7913 MB / 460.7 MB, free: 11.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.6323, allocations: 119.4 kB / 460.9 MB, free: 11.52 MB / 394.7 MB Notification: Performance of SimCode: time 9.41e-07/0.6323, allocations: 0 / 460.9 MB, free: 11.52 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.381/3.013, allocations: 5.193 MB / 466 MB, free: 6.336 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat