Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.081/2.081, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.666e-05/2.665e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 48.71 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3981/0.5065, allocations: 74.25 MB / 390.6 MB, free: 2.012 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.5068, allocations: 72.38 kB / 390.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01466/0.5215, allocations: 3.415 MB / 394 MB, free: 15.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5215, allocations: 0 / 394 MB, free: 15.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.5216, allocations: 7.062 kB / 394.1 MB, free: 15.26 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.0004658/0.522, allocations: 387.1 kB / 394.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.5221, allocations: 8.031 kB / 394.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.5222, allocations: 11.91 kB / 394.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.5224, allocations: 192.4 kB / 394.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.5225, allocations: 0 / 394.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.5225, allocations: 0 / 394.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.566e-05/0.5226, allocations: 10.69 kB / 394.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.5227, allocations: 61.84 kB / 394.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5228, allocations: 3.938 kB / 394.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5228, allocations: 0 / 394.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5228, allocations: 0 / 394.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.5232, allocations: 262.6 kB / 395 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.5235, allocations: 41.19 kB / 395 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.5236, allocations: 12.84 kB / 395 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.5236, allocations: 0 / 395 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.5237, allocations: 37.75 kB / 395.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.267e-06/0.5237, allocations: 0 / 395.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005148/0.5242, allocations: 111.4 kB / 395.2 MB, free: 14.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.5243, allocations: 77.11 kB / 395.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.5244, allocations: 108.2 kB / 395.3 MB, free: 13.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.5244, allocations: 29.7 kB / 395.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.5245, allocations: 153.8 kB / 395.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.5245, allocations: 23.64 kB / 395.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.5246, allocations: 0 / 395.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5247, allocations: 326.1 kB / 395.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/0.5248, allocations: 13.62 kB / 395.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.075e-05/0.5248, allocations: 31.45 kB / 395.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.533e-05/0.5249, allocations: 13.19 kB / 395.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5249, allocations: 0 / 395.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001706/0.5251, allocations: 70.62 kB / 396 MB, free: 13.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.5252, allocations: 41.16 kB / 396 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5252, allocations: 0 / 396 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5252, allocations: 0 / 396 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.5253, allocations: 12 kB / 396 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.5253, allocations: 0 / 396 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.5254, allocations: 11.98 kB / 396.1 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.5255, allocations: 0 / 396.1 MB, free: 13.12 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 9.032e-05/0.5256, allocations: 116.9 kB / 396.2 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000153/0.5257, allocations: 59 kB / 396.2 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.5258, allocations: 7.906 kB / 396.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.526, allocations: 75.95 kB / 396.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.526, allocations: 0 / 396.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.526, allocations: 4.062 kB / 396.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.526, allocations: 0 / 396.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.5265, allocations: 311.6 kB / 396.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5265, allocations: 0 / 396.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.5266, allocations: 19.98 kB / 396.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.5266, allocations: 0 / 396.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.5267, allocations: 0 / 396.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5267, allocations: 0 / 396.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5267, allocations: 0 / 396.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.5269, allocations: 166 kB / 396.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.527, allocations: 89 kB / 396.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.527, allocations: 7.938 kB / 396.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.5271, allocations: 4 kB / 396.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.5272, allocations: 11.17 kB / 396.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.5272, allocations: 0 / 396.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.5273, allocations: 109.7 kB / 397 MB, free: 12.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5273, allocations: 0 / 397 MB, free: 12.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004074/0.5278, allocations: 24 kB / 397 MB, free: 12.11 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.001195/0.529, allocations: 0.8814 MB / 397.9 MB, free: 11.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.5292, allocations: 86.58 kB / 398 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.5292, allocations: 4 kB / 398 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.15e-05/0.5293, allocations: 15.62 kB / 398 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.5296, allocations: 11.36 kB / 398 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.5316, allocations: 0.6119 MB / 398.6 MB, free: 10.76 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.532, allocations: 0.6885 MB / 399.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.64e-05/0.5321, allocations: 26.86 kB / 399.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5321, allocations: 0 / 399.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.54/3.072, allocations: 1.817 MB / 401.2 MB, free: 8.207 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test20_res.mat does not exist to compare? outputFormat=mat