Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test11,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.911/1.911, allocations: 209.4 MB / 216.9 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.537e-05/2.542e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 48.69 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3965/0.5003, allocations: 74.22 MB / 390.5 MB, free: 2.336 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.5006, allocations: 72.94 kB / 390.6 MB, free: 2.301 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01509/0.5157, allocations: 3.387 MB / 394 MB, free: 15.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5158, allocations: 0 / 394 MB, free: 15.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.5158, allocations: 0 / 394 MB, free: 15.62 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005768/0.5164, allocations: 396 kB / 394.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.5165, allocations: 12.03 kB / 394.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.5165, allocations: 7.906 kB / 394.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.5168, allocations: 186.5 kB / 394.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.5168, allocations: 4 kB / 394.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.5169, allocations: 0 / 394.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001028/0.517, allocations: 19.31 kB / 394.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.5171, allocations: 63.33 kB / 394.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.5172, allocations: 3.906 kB / 394.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.5172, allocations: 0 / 394.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.5172, allocations: 3.938 kB / 394.7 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.5177, allocations: 257 kB / 394.9 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.5178, allocations: 38 kB / 395 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/0.5179, allocations: 16.73 kB / 395 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.5179, allocations: 0 / 395 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.518, allocations: 30.56 kB / 395 MB, free: 14.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.518, allocations: 0 / 395 MB, free: 14.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006901/0.5187, allocations: 140.6 kB / 395.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.5188, allocations: 81.06 kB / 395.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.5189, allocations: 112.7 kB / 395.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.519, allocations: 25.7 kB / 395.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.5191, allocations: 158.2 kB / 395.5 MB, free: 13.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.5191, allocations: 23.64 kB / 395.5 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-06/0.5191, allocations: 0 / 395.5 MB, free: 13.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5193, allocations: 314.7 kB / 395.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.545e-05/0.5193, allocations: 19.81 kB / 395.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-05/0.5194, allocations: 33.22 kB / 395.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.345e-05/0.5195, allocations: 25.48 kB / 395.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5195, allocations: 0 / 395.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002192/0.5198, allocations: 73.06 kB / 396 MB, free: 13.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/0.5198, allocations: 33.64 kB / 396 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5198, allocations: 4 kB / 396 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.5199, allocations: 0 / 396 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.5201, allocations: 24.02 kB / 396 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5201, allocations: 4 kB / 396 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.5203, allocations: 15.94 kB / 396.1 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.5203, allocations: 4 kB / 396.1 MB, free: 13.42 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 9.983e-05/0.5204, allocations: 104.9 kB / 396.2 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002058/0.5206, allocations: 71.97 kB / 396.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.5207, allocations: 7.906 kB / 396.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.5209, allocations: 86.03 kB / 396.3 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.521, allocations: 3.953 kB / 396.3 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.521, allocations: 0 / 396.3 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.521, allocations: 7.938 kB / 396.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.5215, allocations: 309 kB / 396.6 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5215, allocations: 0 / 396.6 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.5217, allocations: 31.11 kB / 396.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.5218, allocations: 0 / 396.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.5218, allocations: 3.953 kB / 396.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5218, allocations: 0 / 396.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5218, allocations: 0 / 396.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.5221, allocations: 180.2 kB / 396.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.5221, allocations: 89 kB / 396.9 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.5222, allocations: 3.938 kB / 396.9 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.5224, allocations: 19.94 kB / 397 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.5224, allocations: 7.25 kB / 397 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.5224, allocations: 4 kB / 397 MB, free: 12.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.233e-05/0.5225, allocations: 95.33 kB / 397.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5225, allocations: 0 / 397.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004227/0.523, allocations: 35.88 kB / 397.1 MB, free: 12.36 MB / 330.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 (7): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001243/0.5242, allocations: 0.877 MB / 398 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.5245, allocations: 96.58 kB / 398.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5246, allocations: 0 / 398.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.5246, allocations: 30.5 kB / 398.1 MB, free: 11.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.525, allocations: 15.88 kB / 398.1 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.5272, allocations: 0.6029 MB / 398.7 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.5276, allocations: 0.6885 MB / 399.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.5278, allocations: 22.23 kB / 399.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5278, allocations: 0 / 399.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.562/3.09, allocations: 1.913 MB / 401.3 MB, free: 8.363 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test11_res.mat does not exist to compare? outputFormat=mat