Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.692e-05/2.7e-05, allocations: 8 kB / 267.6 MB, free: 5.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1009, allocations: 48.7 MB / 316.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5158, allocations: 75.33 MB / 391.6 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.5161, allocations: 65.03 kB / 391.7 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.5332, allocations: 3.895 MB / 395.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5332, allocations: 0 / 395.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.5333, allocations: 0 / 395.6 MB, free: 13.68 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.0005356/0.5338, allocations: 422.6 kB / 396 MB, free: 13.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.5339, allocations: 8.031 kB / 396 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.5339, allocations: 11.89 kB / 396 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.5342, allocations: 193.3 kB / 396.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.5343, allocations: 7.984 kB / 396.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.5343, allocations: 3.906 kB / 396.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.287e-05/0.5344, allocations: 11.31 kB / 396.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.5345, allocations: 48.69 kB / 396.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.5345, allocations: 0 / 396.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.5346, allocations: 3.984 kB / 396.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5346, allocations: 0 / 396.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.535, allocations: 267.1 kB / 396.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.5353, allocations: 45.38 kB / 396.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.5353, allocations: 8.859 kB / 396.6 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.5353, allocations: 0 / 396.6 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.5355, allocations: 66.36 kB / 396.7 MB, free: 12.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.804e-06/0.5355, allocations: 0 / 396.7 MB, free: 12.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004428/0.5359, allocations: 99.59 kB / 396.8 MB, free: 12.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.536, allocations: 55.41 kB / 396.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.5362, allocations: 153.6 kB / 397 MB, free: 12.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.5363, allocations: 25.7 kB / 397 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.5364, allocations: 164.7 kB / 397.2 MB, free: 12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.5364, allocations: 23.22 kB / 397.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.5364, allocations: 3.938 kB / 397.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.5365, allocations: 310.8 kB / 397.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.584e-05/0.5366, allocations: 21.81 kB / 397.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-05/0.5367, allocations: 18 kB / 397.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.876e-05/0.5368, allocations: 26.23 kB / 397.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5368, allocations: 3.938 kB / 397.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002422/0.537, allocations: 96.33 kB / 397.7 MB, free: 11.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.5371, allocations: 33.7 kB / 397.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5371, allocations: 0 / 397.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.5371, allocations: 0 / 397.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.5372, allocations: 11.98 kB / 397.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.5372, allocations: 0 / 397.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.142e-05/0.5373, allocations: 7.953 kB / 397.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.5374, allocations: 4 kB / 397.7 MB, free: 11.48 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 8.077e-05/0.5374, allocations: 107.7 kB / 397.8 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001616/0.5376, allocations: 71.88 kB / 397.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.5377, allocations: 11.84 kB / 397.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.5379, allocations: 88.42 kB / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.5379, allocations: 8.125 kB / 398 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.538, allocations: 4 kB / 398 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.538, allocations: 0 / 398 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.5384, allocations: 324 kB / 398.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5384, allocations: 0 / 398.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.5385, allocations: 11.94 kB / 398.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.5385, allocations: 0 / 398.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.5385, allocations: 7.891 kB / 398.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.5385, allocations: 4 kB / 398.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5386, allocations: 3.984 kB / 398.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.5388, allocations: 166.9 kB / 398.5 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.5388, allocations: 89.02 kB / 398.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.5389, allocations: 4 kB / 398.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.539, allocations: 3.953 kB / 398.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.5391, allocations: 7.984 kB / 398.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.5391, allocations: 0 / 398.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001288/0.5392, allocations: 123 kB / 398.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5392, allocations: 0 / 398.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003967/0.5396, allocations: 43.61 kB / 398.8 MB, free: 10.4 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.001243/0.5409, allocations: 0.9043 MB / 399.7 MB, free: 9.527 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.5412, allocations: 115.3 kB / 399.8 MB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5412, allocations: 4 kB / 399.8 MB, free: 9.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.914e-05/0.5412, allocations: 15.44 kB / 399.8 MB, free: 9.406 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.5416, allocations: 20.62 kB / 399.8 MB, free: 9.391 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/0.5423, allocations: 210.1 kB / 400 MB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.5426, allocations: 0.704 MB / 400.7 MB, free: 8.426 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.5427, allocations: 29.56 kB / 400.8 MB, free: 8.406 MB / 330.7 MB Notification: Performance of SimCode: time 2.806e-06/0.5427, allocations: 0 / 400.8 MB, free: 8.406 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.681/3.223, allocations: 2.158 MB / 402.9 MB, free: 6.254 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat