Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test23,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.956/1.956, allocations: 209.4 MB / 216.9 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.253e-05, allocations: 0 / 267.6 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1024, allocations: 48.71 MB / 316.3 MB, free: 4.551 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4011/0.5035, allocations: 74.25 MB / 390.6 MB, free: 2.066 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.5038, allocations: 71.02 kB / 390.6 MB, free: 2.027 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01424/0.5181, allocations: 3.426 MB / 394 MB, free: 15.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5181, allocations: 0 / 394 MB, free: 15.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.5182, allocations: 0 / 394 MB, free: 15.31 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004603/0.5186, allocations: 388 kB / 394.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.5187, allocations: 8.031 kB / 394.4 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.5188, allocations: 7.906 kB / 394.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.519, allocations: 186.8 kB / 394.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.519, allocations: 4 kB / 394.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.5191, allocations: 4 kB / 394.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.82e-05/0.5192, allocations: 15.73 kB / 394.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.5193, allocations: 58.09 kB / 394.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.5193, allocations: 3.938 kB / 394.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.5194, allocations: 0 / 394.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.5194, allocations: 4 kB / 394.7 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.5198, allocations: 264.1 kB / 395 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.52, allocations: 37.25 kB / 395 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.5201, allocations: 11.92 kB / 395 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.5201, allocations: 0 / 395 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.5202, allocations: 34.56 kB / 395.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.834e-06/0.5202, allocations: 4 kB / 395.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000488/0.5207, allocations: 109.4 kB / 395.2 MB, free: 14.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.5207, allocations: 77.11 kB / 395.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.5209, allocations: 111.7 kB / 395.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.5209, allocations: 25.7 kB / 395.4 MB, free: 13.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.636e-05/0.521, allocations: 153.8 kB / 395.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.521, allocations: 23.03 kB / 395.5 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.521, allocations: 7.938 kB / 395.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5212, allocations: 318.8 kB / 395.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.731e-05/0.5212, allocations: 14.75 kB / 395.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-05/0.5213, allocations: 28.22 kB / 395.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.993e-05/0.5214, allocations: 20.86 kB / 395.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5214, allocations: 0 / 395.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001664/0.5215, allocations: 64.38 kB / 396 MB, free: 13.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.5216, allocations: 33.7 kB / 396 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5216, allocations: 4.031 kB / 396 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5216, allocations: 0 / 396 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.5218, allocations: 15.98 kB / 396 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.5218, allocations: 0 / 396 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.5219, allocations: 7.984 kB / 396 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.5219, allocations: 7.125 kB / 396.1 MB, free: 13.17 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 (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.066e-05/0.522, allocations: 104.9 kB / 396.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001775/0.5222, allocations: 67.38 kB / 396.2 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.5222, allocations: 7.906 kB / 396.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.5224, allocations: 73.02 kB / 396.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.5225, allocations: 0 / 396.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.5225, allocations: 4.062 kB / 396.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5225, allocations: 4 kB / 396.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.5229, allocations: 306 kB / 396.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.523, allocations: 0 / 396.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.5231, allocations: 19.98 kB / 396.6 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.5231, allocations: 0 / 396.6 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.5231, allocations: 3 kB / 396.6 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.5231, allocations: 4 kB / 396.6 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5231, allocations: 3.938 kB / 396.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.5233, allocations: 163.7 kB / 396.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.5234, allocations: 88.98 kB / 396.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.5234, allocations: 0 / 396.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.5236, allocations: 8 kB / 396.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.5236, allocations: 11.92 kB / 396.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.5236, allocations: 0 / 396.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.698e-05/0.5237, allocations: 101.5 kB / 397 MB, free: 12.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5237, allocations: 0 / 397 MB, free: 12.19 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000395/0.5241, allocations: 31.17 kB / 397 MB, free: 12.16 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 (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.001127/0.5253, allocations: 0.8696 MB / 397.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.5255, allocations: 95.95 kB / 398 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5255, allocations: 0 / 398 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.375e-05/0.5256, allocations: 15.19 kB / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.5259, allocations: 11.12 kB / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.5279, allocations: 0.6172 MB / 398.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.5283, allocations: 0.6924 MB / 399.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.612e-05/0.5284, allocations: 22.05 kB / 399.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5284, allocations: 3.938 kB / 399.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.822/3.351, allocations: 1.813 MB / 401.2 MB, free: 8.258 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test23_res.mat does not exist to compare? outputFormat=mat