Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.096/2.096, allocations: 209.4 MB / 216.9 MB, free: 6.73 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 2.254e-05/2.265e-05, allocations: 0 / 267.6 MB, free: 5.402 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 48.69 MB / 316.3 MB, free: 4.609 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4014/0.5076, allocations: 74.24 MB / 390.5 MB, free: 2.102 MB / 314.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.5079, allocations: 74.19 kB / 390.6 MB, free: 2.062 MB / 314.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01442/0.5224, allocations: 3.405 MB / 394 MB, free: 15.37 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5224, allocations: 0 / 394 MB, free: 15.37 MB / 330.8 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.5224, allocations: 4 kB / 394 MB, free: 15.36 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004738/0.5229, allocations: 391.3 kB / 394.4 MB, free: 14.93 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.523, allocations: 8.031 kB / 394.4 MB, free: 14.93 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.523, allocations: 7.906 kB / 394.4 MB, free: 14.92 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.5233, allocations: 192.8 kB / 394.6 MB, free: 14.7 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.5233, allocations: 3.938 kB / 394.6 MB, free: 14.69 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.5234, allocations: 0 / 394.6 MB, free: 14.69 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.995e-05/0.5235, allocations: 15.05 kB / 394.6 MB, free: 14.68 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.5236, allocations: 61.73 kB / 394.7 MB, free: 14.61 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.5236, allocations: 3.984 kB / 394.7 MB, free: 14.61 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.5236, allocations: 0 / 394.7 MB, free: 14.61 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.5237, allocations: 0 / 394.7 MB, free: 14.61 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.5241, allocations: 246 kB / 394.9 MB, free: 14.34 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.5243, allocations: 36.38 kB / 395 MB, free: 14.3 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.5243, allocations: 12.86 kB / 395 MB, free: 14.29 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.5244, allocations: 4 kB / 395 MB, free: 14.29 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.5244, allocations: 33.69 kB / 395 MB, free: 14.25 MB / 330.8 MB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/0.5244, allocations: 0 / 395 MB, free: 14.25 MB / 330.8 MB Notification: Performance of matching and sorting (n=5): time 0.0004774/0.5249, allocations: 98.94 kB / 395.1 MB, free: 14.15 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.525, allocations: 77.11 kB / 395.2 MB, free: 14.06 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.5251, allocations: 114.4 kB / 395.3 MB, free: 13.95 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.5251, allocations: 29.7 kB / 395.3 MB, free: 13.91 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.5252, allocations: 153.8 kB / 395.5 MB, free: 13.77 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.5253, allocations: 27.39 kB / 395.5 MB, free: 13.74 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.5253, allocations: 0 / 395.5 MB, free: 13.74 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5254, allocations: 318.7 kB / 395.8 MB, free: 13.42 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.103e-05/0.5255, allocations: 11 kB / 395.8 MB, free: 13.41 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.5255, allocations: 23.59 kB / 395.9 MB, free: 13.39 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.966e-05/0.5256, allocations: 28.2 kB / 395.9 MB, free: 13.37 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5256, allocations: 0 / 395.9 MB, free: 13.37 MB / 330.8 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001604/0.5258, allocations: 59 kB / 395.9 MB, free: 13.32 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.5259, allocations: 33.7 kB / 396 MB, free: 13.28 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5259, allocations: 0 / 396 MB, free: 13.28 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.5259, allocations: 0 / 396 MB, free: 13.28 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.526, allocations: 15.98 kB / 396 MB, free: 13.26 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.5261, allocations: 0 / 396 MB, free: 13.26 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-05/0.5262, allocations: 4 kB / 396 MB, free: 13.26 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.5262, allocations: 8 kB / 396 MB, free: 13.25 MB / 330.8 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 (6): * Single equations (assignments): 5 * 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 8.209e-05/0.5263, allocations: 104.9 kB / 396.1 MB, free: 13.14 MB / 330.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001433/0.5264, allocations: 63.12 kB / 396.2 MB, free: 13.08 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.5265, allocations: 7.906 kB / 396.2 MB, free: 13.07 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.5267, allocations: 63.47 kB / 396.2 MB, free: 13.02 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.5267, allocations: 3.984 kB / 396.2 MB, free: 13.02 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.5267, allocations: 4.062 kB / 396.2 MB, free: 13.01 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5267, allocations: 0 / 396.2 MB, free: 13.01 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.5272, allocations: 301.9 kB / 396.5 MB, free: 12.7 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5272, allocations: 4 kB / 396.5 MB, free: 12.69 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.5273, allocations: 15.92 kB / 396.6 MB, free: 12.68 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.5274, allocations: 4 kB / 396.6 MB, free: 12.67 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.5274, allocations: 0 / 396.6 MB, free: 12.67 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5274, allocations: 0 / 396.6 MB, free: 12.67 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.5274, allocations: 0 / 396.6 MB, free: 12.67 MB / 330.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.5276, allocations: 161.7 kB / 396.7 MB, free: 12.51 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.5277, allocations: 85.02 kB / 396.8 MB, free: 12.41 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.5277, allocations: 0 / 396.8 MB, free: 12.41 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.5279, allocations: 7.984 kB / 396.8 MB, free: 12.4 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.5279, allocations: 7.938 kB / 396.8 MB, free: 12.39 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.528, allocations: 0 / 396.8 MB, free: 12.39 MB / 330.8 MB Notification: Performance of sorting global known variables: time 8.462e-05/0.5281, allocations: 105.8 kB / 396.9 MB, free: 12.29 MB / 330.8 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5281, allocations: 0 / 396.9 MB, free: 12.29 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.0003983/0.5285, allocations: 35.17 kB / 397 MB, free: 12.26 MB / 330.8 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 (5): * Single equations (assignments): 5 * 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.001162/0.5297, allocations: 0.8621 MB / 397.8 MB, free: 11.42 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.5299, allocations: 89.53 kB / 397.9 MB, free: 11.33 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5299, allocations: 0 / 397.9 MB, free: 11.33 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 4.773e-05/0.5299, allocations: 17.75 kB / 397.9 MB, free: 11.32 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.5302, allocations: 4 kB / 397.9 MB, free: 11.32 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.5323, allocations: 0.6118 MB / 398.5 MB, free: 10.92 MB / 330.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.5326, allocations: 0.6885 MB / 399.2 MB, free: 10.21 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/0.5327, allocations: 26.19 kB / 399.2 MB, free: 10.19 MB / 330.8 MB Notification: Performance of SimCode: time 9.72e-07/0.5327, allocations: 0 / 399.2 MB, free: 10.19 MB / 330.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.53/3.063, allocations: 1.766 MB / 401 MB, free: 8.422 MB / 330.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat does not exist to compare? outputFormat=mat