Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.08/2.08, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.354e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 48.7 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4028/0.5118, allocations: 74.04 MB / 390.3 MB, free: 2.234 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.5121, allocations: 68.47 kB / 390.4 MB, free: 2.199 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01805/0.5302, allocations: 5.131 MB / 395.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5303, allocations: 0 / 395.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.131e-05/0.5303, allocations: 12 kB / 395.6 MB, free: 13.58 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.0007509/0.5311, allocations: 0.5683 MB / 396.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.5311, allocations: 8.031 kB / 396.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.5313, allocations: 43.44 kB / 396.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.5319, allocations: 314.9 kB / 396.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.5319, allocations: 4 kB / 396.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.5319, allocations: 3.938 kB / 396.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001006/0.5321, allocations: 19.92 kB / 396.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.5322, allocations: 45.56 kB / 396.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.5322, allocations: 3.984 kB / 396.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.5322, allocations: 0 / 396.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.5322, allocations: 7.922 kB / 396.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/0.5329, allocations: 398.8 kB / 397 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.5332, allocations: 42.19 kB / 397 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.5332, allocations: 16.73 kB / 397 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.5332, allocations: 0 / 397 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.5333, allocations: 30.56 kB / 397 MB, free: 12.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.5333, allocations: 0 / 397 MB, free: 12.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005836/0.5339, allocations: 183.8 kB / 397.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.5339, allocations: 55.41 kB / 397.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.5356, allocations: 0.7357 MB / 398 MB, free: 11.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.5357, allocations: 29.7 kB / 398 MB, free: 11.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.5359, allocations: 239 kB / 398.3 MB, free: 11.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.5359, allocations: 11.81 kB / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.5359, allocations: 0 / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5361, allocations: 314.7 kB / 398.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.5361, allocations: 15.92 kB / 398.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.534e-05/0.5362, allocations: 11.94 kB / 398.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.416e-05/0.5362, allocations: 7.5 kB / 398.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5362, allocations: 4 kB / 398.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001643/0.5364, allocations: 65.31 kB / 398.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.5365, allocations: 33.64 kB / 398.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5365, allocations: 4.188 kB / 398.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.5365, allocations: 0 / 398.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.5367, allocations: 19.98 kB / 398.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.5367, allocations: 3.953 kB / 398.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.5368, allocations: 8 kB / 398.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.5368, allocations: 4 kB / 398.8 MB, free: 10.54 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.395e-05/0.5369, allocations: 105 kB / 398.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002176/0.5372, allocations: 88.91 kB / 399 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.5373, allocations: 43.44 kB / 399 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.5376, allocations: 120.3 kB / 399.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5376, allocations: 0 / 399.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5376, allocations: 0 / 399.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5376, allocations: 0 / 399.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009641/0.5386, allocations: 0.53 MB / 399.6 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5386, allocations: 0 / 399.6 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.5387, allocations: 15.94 kB / 399.7 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/0.5388, allocations: 3.953 kB / 399.7 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.5388, allocations: 3.984 kB / 399.7 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5388, allocations: 0 / 399.7 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5388, allocations: 0 / 399.7 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.5391, allocations: 195.8 kB / 399.9 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/0.5394, allocations: 157.1 kB / 400 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/0.5394, allocations: 4.203 kB / 400 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.5396, allocations: 15.98 kB / 400 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.5397, allocations: 0 / 400 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.5397, allocations: 4 kB / 400 MB, free: 9.289 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001/0.5407, allocations: 0.5945 MB / 400.6 MB, free: 8.863 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5407, allocations: 0 / 400.6 MB, free: 8.863 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004785/0.5412, allocations: 63.44 kB / 400.7 MB, free: 8.805 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.001059/0.5423, allocations: 0.8409 MB / 401.5 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.5425, allocations: 80.84 kB / 401.6 MB, free: 7.906 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5425, allocations: 0 / 401.6 MB, free: 7.906 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.465e-05/0.5426, allocations: 22.69 kB / 401.6 MB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.5429, allocations: 19.72 kB / 401.7 MB, free: 7.879 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.5448, allocations: 0.8301 MB / 402.5 MB, free: 7.082 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.5454, allocations: 0.8316 MB / 403.3 MB, free: 6.242 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.5457, allocations: 105.3 kB / 403.4 MB, free: 6.211 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5457, allocations: 4 kB / 403.4 MB, free: 6.207 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.534/3.08, allocations: 6.817 MB / 410.2 MB, free: 15.41 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat does not exist to compare? outputFormat=mat