Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.34/2.34, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.72e-05/3.732e-05, allocations: 3.984 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.398, allocations: 54.86 MB / 359.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1757/0.5737, allocations: 83.23 MB / 443.1 MB, free: 13.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.5741, allocations: 67.97 kB / 443.2 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03099/0.6051, allocations: 6.541 MB / 449.7 MB, free: 7.051 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6052, allocations: 0 / 449.7 MB, free: 7.051 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.6052, allocations: 8.562 kB / 449.7 MB, free: 7.043 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001269/0.6065, allocations: 0.5342 MB / 450.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.6065, allocations: 8.031 kB / 450.3 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.832e-05/0.6066, allocations: 62.47 kB / 450.3 MB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.856e-05/0.6067, allocations: 39.58 kB / 450.4 MB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005987/0.6073, allocations: 275.1 kB / 450.6 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.6074, allocations: 18.16 kB / 450.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.6075, allocations: 24 kB / 450.7 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/0.6081, allocations: 227.7 kB / 450.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.6081, allocations: 0 / 450.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.6082, allocations: 8 kB / 450.9 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.6082, allocations: 15.95 kB / 450.9 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006106/0.6089, allocations: 197.1 kB / 451.1 MB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.611, allocations: 0.869 MB / 452 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.6123, allocations: 323.9 kB / 452.3 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.6126, allocations: 136.8 kB / 452.4 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.725e-05/0.6127, allocations: 7.984 kB / 452.4 MB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.6127, allocations: 38.5 kB / 452.5 MB, free: 4.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 3.266e-06/0.6128, allocations: 0 / 452.5 MB, free: 4.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.003006/0.6158, allocations: 0.489 MB / 453 MB, free: 3.594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.6158, allocations: 55.41 kB / 453 MB, free: 3.527 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.6162, allocations: 189 kB / 453.2 MB, free: 3.336 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.6162, allocations: 33.7 kB / 453.2 MB, free: 3.297 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.6164, allocations: 223.6 kB / 453.4 MB, free: 3.078 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.6165, allocations: 102.5 kB / 453.5 MB, free: 2.977 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.6166, allocations: 4 kB / 453.5 MB, free: 2.973 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.6167, allocations: 326.8 kB / 453.9 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.617, allocations: 83.94 kB / 453.9 MB, free: 2.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.6173, allocations: 102 kB / 454 MB, free: 2.453 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.6176, allocations: 93.27 kB / 454.1 MB, free: 2.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6176, allocations: 0 / 454.1 MB, free: 2.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002934/0.6206, allocations: 0.5025 MB / 454.6 MB, free: 1.844 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.6206, allocations: 4 kB / 454.6 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6206, allocations: 0.5625 kB / 454.6 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002839/0.6235, allocations: 311.2 kB / 455 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.6238, allocations: 27.92 kB / 455 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.6345, allocations: 6.362 MB / 461.3 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.635, allocations: 31.69 kB / 461.4 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.6351, allocations: 11.98 kB / 461.4 MB, free: 10.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.6352, allocations: 121 kB / 461.5 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.392e-05/0.6353, allocations: 23.72 kB / 461.5 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/0.6382, allocations: 0.5193 MB / 462 MB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.6382, allocations: 0 / 462 MB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.6383, allocations: 11.95 kB / 462.1 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.6383, allocations: 4 kB / 462.1 MB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006447/0.6389, allocations: 349.3 kB / 462.4 MB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6389, allocations: 0 / 462.4 MB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.6392, allocations: 23.98 kB / 462.4 MB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002685/0.6419, allocations: 307.2 kB / 462.7 MB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.6419, allocations: 8 kB / 462.7 MB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/0.6524, allocations: 6.312 MB / 469 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/0.6525, allocations: 0 / 469 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002986/0.6555, allocations: 0.5881 MB / 469.6 MB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.6556, allocations: 100.8 kB / 469.7 MB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/0.6557, allocations: 11.95 kB / 469.7 MB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.6561, allocations: 15.98 kB / 469.8 MB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.6562, allocations: 39.83 kB / 469.8 MB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.6563, allocations: 8 kB / 469.8 MB, free: 1.465 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000226/0.6565, allocations: 153.4 kB / 470 MB, free: 1.316 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6565, allocations: 0 / 470 MB, free: 1.316 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007675/0.6573, allocations: 123.8 kB / 470.1 MB, free: 1.195 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003258/0.6606, allocations: 1.149 MB / 471.2 MB, free: 8 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.662, allocations: 0.6798 MB / 471.9 MB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.662, allocations: 0 / 471.9 MB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.6634, allocations: 0.6121 MB / 472.5 MB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.6638, allocations: 17.3 kB / 472.5 MB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.6652, allocations: 448.2 kB / 473 MB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.6656, allocations: 0.7756 MB / 473.7 MB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.6658, allocations: 75.41 kB / 473.8 MB, free: 13.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6658, allocations: 0 / 473.8 MB, free: 13.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.709/3.374, allocations: 8.852 MB / 482.7 MB, free: 4.391 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat