Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.941/1.941, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/2.996e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4206/0.5223, allocations: 75.34 MB / 391.6 MB, free: 1.211 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.5227, allocations: 76.52 kB / 391.7 MB, free: 1.172 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01827/0.5409, allocations: 4.279 MB / 396 MB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.541, allocations: 0 / 396 MB, free: 13.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.541, allocations: 4 kB / 396 MB, free: 13.55 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.0005721/0.5416, allocations: 430.5 kB / 396.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.5417, allocations: 16.03 kB / 396.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.5417, allocations: 11.81 kB / 396.5 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.5421, allocations: 208.7 kB / 396.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.5421, allocations: 4 kB / 396.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.5422, allocations: 3.812 kB / 396.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.374e-05/0.5423, allocations: 15.92 kB / 396.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.884e-05/0.5424, allocations: 41.5 kB / 396.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.5424, allocations: 0 / 396.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5424, allocations: 4 kB / 396.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5425, allocations: 3.938 kB / 396.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.5429, allocations: 287.2 kB / 397 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.5432, allocations: 37.38 kB / 397 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.5433, allocations: 11.11 kB / 397.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.5433, allocations: 3.938 kB / 397.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.5434, allocations: 65.98 kB / 397.1 MB, free: 12.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.475e-06/0.5435, allocations: 0 / 397.1 MB, free: 12.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004777/0.5439, allocations: 110.9 kB / 397.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.544, allocations: 55.34 kB / 397.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.5443, allocations: 217.9 kB / 397.5 MB, free: 11.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.5444, allocations: 29.7 kB / 397.5 MB, free: 11.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.252e-05/0.5445, allocations: 166.6 kB / 397.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.5445, allocations: 15.8 kB / 397.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-06/0.5445, allocations: 0 / 397.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5447, allocations: 321.8 kB / 398 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.5448, allocations: 20.81 kB / 398 MB, free: 11.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.074e-05/0.5448, allocations: 18.94 kB / 398.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.687e-05/0.5449, allocations: 26.92 kB / 398.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.545, allocations: 0 / 398.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002466/0.5452, allocations: 94.48 kB / 398.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.5453, allocations: 29.7 kB / 398.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5453, allocations: 0 / 398.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.5453, allocations: 4 kB / 398.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/0.5454, allocations: 11.98 kB / 398.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5454, allocations: 4 kB / 398.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.52e-05/0.5455, allocations: 0 / 398.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.5455, allocations: 4 kB / 398.2 MB, free: 11.27 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 0.0001017/0.5457, allocations: 109 kB / 398.3 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001762/0.5458, allocations: 87.19 kB / 398.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.5459, allocations: 11.91 kB / 398.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.5462, allocations: 93.14 kB / 398.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.5462, allocations: 7.984 kB / 398.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5462, allocations: 0 / 398.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.5463, allocations: 7.953 kB / 398.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005127/0.5468, allocations: 353.4 kB / 398.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5468, allocations: 0 / 398.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.5469, allocations: 7.984 kB / 398.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.5469, allocations: 4 kB / 398.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.5469, allocations: 0 / 398.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.5469, allocations: 0 / 398.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.5469, allocations: 3.953 kB / 398.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.5472, allocations: 170 kB / 399.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-05/0.5473, allocations: 99.97 kB / 399.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.5473, allocations: 4 kB / 399.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.5475, allocations: 0 / 399.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.5475, allocations: 11.94 kB / 399.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.5475, allocations: 0 / 399.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002305/0.5478, allocations: 180.3 kB / 399.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5478, allocations: 4 kB / 399.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004237/0.5482, allocations: 39.25 kB / 399.4 MB, free: 10.1 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.001338/0.5496, allocations: 0.9178 MB / 400.3 MB, free: 9.219 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.5499, allocations: 107.9 kB / 400.4 MB, free: 9.117 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5499, allocations: 0 / 400.4 MB, free: 9.117 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.55, allocations: 15.88 kB / 400.4 MB, free: 9.105 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.5503, allocations: 19.77 kB / 400.5 MB, free: 9.086 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008286/0.5512, allocations: 293.8 kB / 400.7 MB, free: 8.777 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.5516, allocations: 0.7157 MB / 401.5 MB, free: 8.039 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.5517, allocations: 36.42 kB / 401.5 MB, free: 8.02 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5517, allocations: 0 / 401.5 MB, free: 8.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.689/3.24, allocations: 2.54 MB / 404 MB, free: 5.492 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat