Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.988/1.988, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.506e-05/2.514e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4061/0.5092, allocations: 75.35 MB / 391.7 MB, free: 1.258 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.5095, allocations: 70.78 kB / 391.7 MB, free: 1.223 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01849/0.528, allocations: 4.297 MB / 396 MB, free: 13.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.528, allocations: 0 / 396 MB, free: 13.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.5281, allocations: 3.984 kB / 396 MB, free: 13.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005835/0.5287, allocations: 437.6 kB / 396.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.5287, allocations: 8.031 kB / 396.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.461e-05/0.5288, allocations: 19.8 kB / 396.5 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.5292, allocations: 209.1 kB / 396.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.5292, allocations: 0 / 396.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.5292, allocations: 4 kB / 396.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.2e-05/0.5293, allocations: 15.44 kB / 396.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.5294, allocations: 49.48 kB / 396.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5295, allocations: 0 / 396.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.5295, allocations: 0 / 396.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5295, allocations: 4 kB / 396.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.53, allocations: 282.8 kB / 397 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.5302, allocations: 41.12 kB / 397.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.665e-05/0.5303, allocations: 8.859 kB / 397.1 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.5303, allocations: 0 / 397.1 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.5305, allocations: 69.73 kB / 397.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.014e-06/0.5305, allocations: 0 / 397.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000473/0.531, allocations: 113.9 kB / 397.3 MB, free: 12.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.531, allocations: 51.41 kB / 397.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.5314, allocations: 221.7 kB / 397.5 MB, free: 12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.5314, allocations: 25.7 kB / 397.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.5315, allocations: 168.1 kB / 397.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.5316, allocations: 15.69 kB / 397.7 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.5316, allocations: 4 kB / 397.7 MB, free: 11.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5317, allocations: 318.8 kB / 398 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.5318, allocations: 18.88 kB / 398.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.774e-05/0.5319, allocations: 19.31 kB / 398.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.673e-05/0.532, allocations: 24.17 kB / 398.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.532, allocations: 3.938 kB / 398.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002512/0.5322, allocations: 87.06 kB / 398.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/0.5323, allocations: 40.03 kB / 398.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5323, allocations: 0 / 398.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.5323, allocations: 0 / 398.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.5324, allocations: 12 kB / 398.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5325, allocations: 0 / 398.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.258e-05/0.5325, allocations: 4.094 kB / 398.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.5326, allocations: 11.92 kB / 398.3 MB, free: 11.3 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.233e-05/0.5327, allocations: 108.9 kB / 398.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001771/0.5329, allocations: 84.06 kB / 398.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.5329, allocations: 8.047 kB / 398.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.5332, allocations: 96.72 kB / 398.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5332, allocations: 4 kB / 398.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5332, allocations: 0 / 398.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.5332, allocations: 7.938 kB / 398.6 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/0.5337, allocations: 353 kB / 398.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5338, allocations: 4 kB / 398.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.5338, allocations: 4 kB / 398.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5338, allocations: 0 / 398.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.5339, allocations: 7.984 kB / 398.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5339, allocations: 0 / 398.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/0.5339, allocations: 11.94 kB / 398.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.5341, allocations: 166.5 kB / 399.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/0.5342, allocations: 100.3 kB / 399.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.5343, allocations: 0 / 399.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.5344, allocations: 4 kB / 399.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.5345, allocations: 7.953 kB / 399.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.5345, allocations: 3.984 kB / 399.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002244/0.5347, allocations: 176.1 kB / 399.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5347, allocations: 3.938 kB / 399.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000423/0.5352, allocations: 39.98 kB / 399.4 MB, free: 10.13 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001312/0.5365, allocations: 0.9102 MB / 400.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.5368, allocations: 108.3 kB / 400.4 MB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5368, allocations: 0 / 400.4 MB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.957e-05/0.5368, allocations: 22.98 kB / 400.5 MB, free: 9.141 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.5372, allocations: 18.98 kB / 400.5 MB, free: 9.121 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00096/0.5382, allocations: 285.8 kB / 400.8 MB, free: 8.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.5385, allocations: 0.7118 MB / 401.5 MB, free: 8.082 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.517e-05/0.5386, allocations: 37.23 kB / 401.5 MB, free: 8.062 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5387, allocations: 0 / 401.5 MB, free: 8.062 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.75/3.289, allocations: 2.548 MB / 404.1 MB, free: 5.527 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat