Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.091/2.091, allocations: 209.4 MB / 216.9 MB, free: 6.738 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.262e-05, allocations: 4 kB / 267.6 MB, free: 5.398 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.107, allocations: 48.7 MB / 316.3 MB, free: 4.602 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4101/0.5172, allocations: 75.2 MB / 391.5 MB, free: 1.188 MB / 314.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.5175, allocations: 70.33 kB / 391.6 MB, free: 1.148 MB / 314.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01619/0.5337, allocations: 3.79 MB / 395.4 MB, free: 13.96 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5338, allocations: 4 kB / 395.4 MB, free: 13.96 MB / 330.8 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.5338, allocations: 0 / 395.4 MB, free: 13.96 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000555/0.5343, allocations: 407.6 kB / 395.8 MB, free: 13.52 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.5344, allocations: 11.97 kB / 395.8 MB, free: 13.5 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.5345, allocations: 8 kB / 395.8 MB, free: 13.5 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.5348, allocations: 202.6 kB / 396 MB, free: 13.26 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.5348, allocations: 0 / 396 MB, free: 13.26 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.5349, allocations: 3.984 kB / 396 MB, free: 13.26 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.328e-05/0.5349, allocations: 15.86 kB / 396 MB, free: 13.25 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.169e-05/0.5351, allocations: 37.69 kB / 396 MB, free: 13.2 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.5351, allocations: 0 / 396 MB, free: 13.2 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5351, allocations: 3.938 kB / 396 MB, free: 13.2 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.5351, allocations: 0 / 396 MB, free: 13.2 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/0.5353, allocations: 169 kB / 396.2 MB, free: 13.01 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.336e-05/0.5354, allocations: 30.39 kB / 396.2 MB, free: 12.97 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.681e-05/0.5355, allocations: 12.73 kB / 396.3 MB, free: 12.96 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.5356, allocations: 4 kB / 396.3 MB, free: 12.96 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.5357, allocations: 54.95 kB / 396.3 MB, free: 12.89 MB / 330.8 MB Notification: Performance of pre-optimization done (n=3): time 2.305e-06/0.5357, allocations: 0 / 396.3 MB, free: 12.89 MB / 330.8 MB Notification: Performance of matching and sorting (n=3): time 0.0002465/0.536, allocations: 57.53 kB / 396.4 MB, free: 12.84 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.536, allocations: 51.41 kB / 396.4 MB, free: 12.77 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.5363, allocations: 148.2 kB / 396.6 MB, free: 12.64 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.5363, allocations: 33.64 kB / 396.6 MB, free: 12.6 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.355e-05/0.5364, allocations: 166.4 kB / 396.8 MB, free: 12.44 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.5365, allocations: 7.906 kB / 396.8 MB, free: 12.43 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-06/0.5365, allocations: 0 / 396.8 MB, free: 12.43 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.5367, allocations: 318.7 kB / 397.1 MB, free: 12.12 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.654e-05/0.5367, allocations: 11.94 kB / 397.1 MB, free: 12.11 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.479e-05/0.5368, allocations: 23.73 kB / 397.1 MB, free: 12.09 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.323e-05/0.5369, allocations: 11.94 kB / 397.1 MB, free: 12.09 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.5369, allocations: 0 / 397.1 MB, free: 12.09 MB / 330.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002399/0.5372, allocations: 73.3 kB / 397.2 MB, free: 12.02 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.583e-05/0.5372, allocations: 37.58 kB / 397.2 MB, free: 11.98 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.5372, allocations: 4 kB / 397.2 MB, free: 11.98 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.5373, allocations: 0 / 397.2 MB, free: 11.98 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.5374, allocations: 4 kB / 397.2 MB, free: 11.97 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.5374, allocations: 3.938 kB / 397.2 MB, free: 11.97 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.072e-05/0.5375, allocations: 7.938 kB / 397.3 MB, free: 11.96 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.5375, allocations: 7.984 kB / 397.3 MB, free: 11.95 MB / 330.8 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 (5): * Single equations (assignments): 4 * 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 0.0001157/0.5377, allocations: 112.9 kB / 397.4 MB, free: 11.84 MB / 330.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001515/0.5378, allocations: 53.53 kB / 397.4 MB, free: 11.78 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.5379, allocations: 7.906 kB / 397.4 MB, free: 11.77 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.5381, allocations: 73.55 kB / 397.5 MB, free: 11.7 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.5381, allocations: 4 kB / 397.5 MB, free: 11.7 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5381, allocations: 0 / 397.5 MB, free: 11.7 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5381, allocations: 0 / 397.5 MB, free: 11.7 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.5383, allocations: 169.8 kB / 397.7 MB, free: 11.51 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5384, allocations: 0 / 397.7 MB, free: 11.51 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/0.5384, allocations: 7.938 kB / 397.7 MB, free: 11.5 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.5384, allocations: 0 / 397.7 MB, free: 11.5 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.5385, allocations: 0 / 397.7 MB, free: 11.5 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.5385, allocations: 3.984 kB / 397.7 MB, free: 11.5 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5385, allocations: 8 kB / 397.7 MB, free: 11.49 MB / 330.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.5387, allocations: 88.86 kB / 397.8 MB, free: 11.39 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.5388, allocations: 89 kB / 397.9 MB, free: 11.29 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.5388, allocations: 8 kB / 397.9 MB, free: 11.28 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.532e-05/0.5389, allocations: 0 / 397.9 MB, free: 11.28 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.539, allocations: 0 / 397.9 MB, free: 11.28 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.539, allocations: 4 kB / 397.9 MB, free: 11.27 MB / 330.8 MB Notification: Performance of sorting global known variables: time 0.0001513/0.5391, allocations: 130.9 kB / 398 MB, free: 11.16 MB / 330.8 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5392, allocations: 0 / 398 MB, free: 11.16 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.0003772/0.5395, allocations: 23.5 kB / 398 MB, free: 11.14 MB / 330.8 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 (4): * Single equations (assignments): 3 * 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.001173/0.5407, allocations: 0.7901 MB / 398.8 MB, free: 10.37 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.541, allocations: 102.7 kB / 398.9 MB, free: 10.27 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.541, allocations: 0 / 398.9 MB, free: 10.27 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 5.161e-05/0.541, allocations: 15.62 kB / 398.9 MB, free: 10.26 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.5413, allocations: 17.2 kB / 398.9 MB, free: 10.25 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.5419, allocations: 203.5 kB / 399.1 MB, free: 10.02 MB / 330.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.5422, allocations: 0.6963 MB / 399.8 MB, free: 9.297 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.5423, allocations: 27.17 kB / 399.9 MB, free: 9.277 MB / 330.8 MB Notification: Performance of SimCode: time 7.82e-07/0.5423, allocations: 3.938 kB / 399.9 MB, free: 9.273 MB / 330.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.517/3.059, allocations: 1.939 MB / 401.8 MB, free: 7.344 MB / 330.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat