Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.056/2.056, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.87e-05/2.882e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.104, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4117/0.5158, allocations: 75.36 MB / 391.7 MB, free: 0.957 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.5161, allocations: 66.02 kB / 391.7 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01792/0.534, allocations: 4.291 MB / 396 MB, free: 13.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5341, allocations: 0 / 396 MB, free: 13.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.5341, allocations: 4 kB / 396 MB, free: 13.29 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.0005467/0.5346, allocations: 434.8 kB / 396.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.5347, allocations: 12.03 kB / 396.5 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.5348, allocations: 11.81 kB / 396.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.5351, allocations: 208.3 kB / 396.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.5351, allocations: 4 kB / 396.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.5352, allocations: 0 / 396.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001018/0.5353, allocations: 21.92 kB / 396.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.882e-05/0.5354, allocations: 48.62 kB / 396.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.5354, allocations: 4 kB / 396.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.5355, allocations: 0 / 396.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.5355, allocations: 0 / 396.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.5359, allocations: 280.2 kB / 397 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.5362, allocations: 42.06 kB / 397.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.5362, allocations: 12.11 kB / 397.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.5362, allocations: 4 kB / 397.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.5364, allocations: 59.36 kB / 397.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.954e-06/0.5364, allocations: 0 / 397.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004433/0.5369, allocations: 114.5 kB / 397.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.5369, allocations: 51.41 kB / 397.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.5373, allocations: 222.2 kB / 397.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.5373, allocations: 29.7 kB / 397.6 MB, free: 11.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.704e-05/0.5374, allocations: 165.8 kB / 397.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.5374, allocations: 19.73 kB / 397.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-06/0.5375, allocations: 0 / 397.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5376, allocations: 318.4 kB / 398 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-05/0.5377, allocations: 18.81 kB / 398.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.924e-05/0.5377, allocations: 19.12 kB / 398.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.01e-05/0.5378, allocations: 27.67 kB / 398.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5378, allocations: 4 kB / 398.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000231/0.5381, allocations: 92.11 kB / 398.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.5381, allocations: 33.27 kB / 398.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5381, allocations: 8.062 kB / 398.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.5382, allocations: 0 / 398.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.872e-05/0.5383, allocations: 11.98 kB / 398.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.5383, allocations: 0 / 398.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.891e-05/0.5384, allocations: 4.094 kB / 398.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.5384, allocations: 3.938 kB / 398.3 MB, free: 11 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.824e-05/0.5385, allocations: 112.9 kB / 398.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001678/0.5387, allocations: 72.62 kB / 398.4 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.5387, allocations: 15.84 kB / 398.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.539, allocations: 93.75 kB / 398.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.539, allocations: 144 / 398.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.539, allocations: 0 / 398.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.539, allocations: 11.94 kB / 398.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.5395, allocations: 348.9 kB / 398.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.5395, allocations: 7.938 kB / 398.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.5396, allocations: 7.984 kB / 398.9 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.5396, allocations: 4 kB / 398.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.5396, allocations: 0 / 398.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5397, allocations: 0 / 398.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.5397, allocations: 3.953 kB / 398.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.5399, allocations: 166.4 kB / 399.1 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.999e-05/0.54, allocations: 100.8 kB / 399.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.5401, allocations: 8.062 kB / 399.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.5402, allocations: 4 kB / 399.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.5402, allocations: 11.94 kB / 399.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.5402, allocations: 4 kB / 399.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002176/0.5405, allocations: 174.3 kB / 399.4 MB, free: 9.875 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5405, allocations: 4 kB / 399.4 MB, free: 9.871 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004192/0.5409, allocations: 32 kB / 399.4 MB, free: 9.84 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.001257/0.5422, allocations: 0.9243 MB / 400.3 MB, free: 8.953 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.5424, allocations: 107.2 kB / 400.5 MB, free: 8.852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5424, allocations: 4 kB / 400.5 MB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.729e-05/0.5425, allocations: 15.81 kB / 400.5 MB, free: 8.836 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.5429, allocations: 18.17 kB / 400.5 MB, free: 8.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007744/0.5436, allocations: 286.5 kB / 400.8 MB, free: 8.516 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.544, allocations: 0.7191 MB / 401.5 MB, free: 7.773 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.5441, allocations: 36.11 kB / 401.5 MB, free: 7.754 MB / 330.7 MB Notification: Performance of SimCode: time 9.71e-07/0.5441, allocations: 3.938 kB / 401.5 MB, free: 7.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.508/3.052, allocations: 2.536 MB / 404.1 MB, free: 5.227 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat