Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.028/2.028, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.24e-05/2.28e-05, allocations: 0 / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4113/0.5237, allocations: 73.96 MB / 390.3 MB, free: 2.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.524, allocations: 75.53 kB / 390.3 MB, free: 2.527 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01921/0.5432, allocations: 5.179 MB / 395.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5433, allocations: 0 / 395.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.002e-05/0.5433, allocations: 4 kB / 395.5 MB, free: 13.87 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.0008337/0.5442, allocations: 0.5946 MB / 396.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.5443, allocations: 8.031 kB / 396.1 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.5444, allocations: 43.44 kB / 396.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006287/0.545, allocations: 313.2 kB / 396.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.5451, allocations: 4 kB / 396.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.5451, allocations: 0 / 396.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001155/0.5452, allocations: 22.36 kB / 396.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.5453, allocations: 45 kB / 396.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.5454, allocations: 0 / 396.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5454, allocations: 0 / 396.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.5454, allocations: 4 kB / 396.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007915/0.5462, allocations: 405.7 kB / 396.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.944e-05/0.5463, allocations: 33.69 kB / 397 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/0.5464, allocations: 20.11 kB / 397 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.5464, allocations: 0 / 397 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.5465, allocations: 34.5 kB / 397 MB, free: 12.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.5465, allocations: 0 / 397 MB, free: 12.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008028/0.5473, allocations: 217.9 kB / 397.2 MB, free: 12.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.5474, allocations: 55.41 kB / 397.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.5492, allocations: 0.7382 MB / 398 MB, free: 11.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.5493, allocations: 25.7 kB / 398.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.5495, allocations: 234.3 kB / 398.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.5495, allocations: 26.2 kB / 398.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.5495, allocations: 0 / 398.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5497, allocations: 314 kB / 398.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-05/0.5498, allocations: 14.94 kB / 398.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.486e-05/0.5498, allocations: 14.45 kB / 398.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.232e-05/0.5499, allocations: 34.78 kB / 398.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.55, allocations: 0 / 398.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000207/0.5502, allocations: 63.39 kB / 398.7 MB, free: 10.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.311e-05/0.5502, allocations: 33.69 kB / 398.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.5503, allocations: 0 / 398.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5503, allocations: 3.938 kB / 398.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.5505, allocations: 27.94 kB / 398.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.5505, allocations: 0 / 398.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.5507, allocations: 19.98 kB / 398.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.5508, allocations: 3.562 kB / 398.8 MB, free: 10.75 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.196e-05/0.5509, allocations: 105 kB / 398.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002586/0.5511, allocations: 104.9 kB / 399 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.5512, allocations: 43.41 kB / 399.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.5516, allocations: 128.7 kB / 399.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.5516, allocations: 4 kB / 399.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5516, allocations: 0 / 399.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5517, allocations: 0 / 399.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.5528, allocations: 0.5538 MB / 399.8 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5528, allocations: 0 / 399.8 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.553, allocations: 23.98 kB / 399.8 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.553, allocations: 7.953 kB / 399.8 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.5531, allocations: 0 / 399.8 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5531, allocations: 4 kB / 399.8 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5531, allocations: 0 / 399.8 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.5534, allocations: 205 kB / 400 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/0.5537, allocations: 159.1 kB / 400.1 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.259e-05/0.5538, allocations: 3.953 kB / 400.2 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.554, allocations: 15.98 kB / 400.2 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.5541, allocations: 11.36 kB / 400.2 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.5541, allocations: 4 kB / 400.2 MB, free: 9.426 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001017/0.5551, allocations: 0.5966 MB / 400.8 MB, free: 9 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.82e-07/0.5551, allocations: 0 / 400.8 MB, free: 9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005135/0.5557, allocations: 52 kB / 400.8 MB, free: 8.949 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.001168/0.5569, allocations: 0.8468 MB / 401.7 MB, free: 8.129 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.5571, allocations: 102.8 kB / 401.8 MB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5572, allocations: 0 / 401.8 MB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.858e-05/0.5572, allocations: 22.25 kB / 401.8 MB, free: 8.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.5576, allocations: 23.61 kB / 401.8 MB, free: 8.004 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.5598, allocations: 0.8568 MB / 402.7 MB, free: 7.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.5604, allocations: 0.8215 MB / 403.5 MB, free: 6.348 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.5607, allocations: 111.6 kB / 403.6 MB, free: 6.312 MB / 330.7 MB Notification: Performance of SimCode: time 1.243e-06/0.5607, allocations: 0 / 403.6 MB, free: 6.312 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.642/3.203, allocations: 6.975 MB / 410.6 MB, free: 15.36 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat does not exist to compare? outputFormat=mat