Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.909/1.909, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.529e-05, allocations: 8 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 48.71 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3931/0.4994, allocations: 75.37 MB / 391.7 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.4997, allocations: 66.78 kB / 391.8 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01714/0.5168, allocations: 4.283 MB / 396 MB, free: 13.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5169, allocations: 0 / 396 MB, free: 13.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.5169, allocations: 4 kB / 396 MB, free: 13.28 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.000515/0.5174, allocations: 445.2 kB / 396.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.5175, allocations: 8.031 kB / 396.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.5176, allocations: 11.81 kB / 396.5 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.5179, allocations: 217.3 kB / 396.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.5179, allocations: 0 / 396.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.518, allocations: 7.984 kB / 396.7 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.199e-05/0.5181, allocations: 11.56 kB / 396.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.5182, allocations: 48.98 kB / 396.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.5182, allocations: 0 / 396.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.5182, allocations: 4 kB / 396.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.5182, allocations: 0 / 396.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.5187, allocations: 280.6 kB / 397 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.519, allocations: 41.19 kB / 397.1 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/0.519, allocations: 12.86 kB / 397.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.519, allocations: 0 / 397.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.5192, allocations: 65.86 kB / 397.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.964e-06/0.5192, allocations: 0 / 397.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004192/0.5196, allocations: 111.3 kB / 397.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.5197, allocations: 51.41 kB / 397.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.52, allocations: 222.1 kB / 397.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.52, allocations: 25.7 kB / 397.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.5201, allocations: 171.3 kB / 397.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.5202, allocations: 15.8 kB / 397.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/0.5202, allocations: 0 / 397.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.5203, allocations: 321.6 kB / 398.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.344e-05/0.5204, allocations: 21.5 kB / 398.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.689e-05/0.5205, allocations: 17.38 kB / 398.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.808e-05/0.5206, allocations: 26.86 kB / 398.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.5206, allocations: 0 / 398.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002275/0.5208, allocations: 89.73 kB / 398.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.5209, allocations: 33.7 kB / 398.2 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.5209, allocations: 96 / 398.2 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.5209, allocations: 11.88 kB / 398.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/0.521, allocations: 8 kB / 398.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.521, allocations: 0 / 398.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.039e-05/0.5211, allocations: 12.05 kB / 398.3 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.5211, allocations: 4 kB / 398.3 MB, free: 10.97 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.674e-05/0.5212, allocations: 108.2 kB / 398.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001654/0.5214, allocations: 72.5 kB / 398.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.5214, allocations: 11.91 kB / 398.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.5217, allocations: 100.8 kB / 398.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.5217, allocations: 7.984 kB / 398.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5217, allocations: 0 / 398.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5217, allocations: 3.953 kB / 398.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.5222, allocations: 343.8 kB / 398.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5222, allocations: 0 / 398.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.5223, allocations: 11.94 kB / 398.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5223, allocations: 0 / 398.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.5223, allocations: 7.484 kB / 398.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5223, allocations: 4 kB / 398.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5224, allocations: 3.953 kB / 398.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.5226, allocations: 170.7 kB / 399.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-05/0.5227, allocations: 96.91 kB / 399.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.5227, allocations: 0 / 399.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.5229, allocations: 4.391 kB / 399.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.5229, allocations: 11.88 kB / 399.2 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.5229, allocations: 15.98 kB / 399.2 MB, free: 9.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002181/0.5232, allocations: 174.3 kB / 399.4 MB, free: 9.848 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5232, allocations: 0 / 399.4 MB, free: 9.848 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004075/0.5236, allocations: 32 kB / 399.4 MB, free: 9.816 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.001227/0.5248, allocations: 0.918 MB / 400.4 MB, free: 8.934 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.5251, allocations: 109.5 kB / 400.5 MB, free: 8.832 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5251, allocations: 3.938 kB / 400.5 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.669e-05/0.5252, allocations: 15.56 kB / 400.5 MB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.5255, allocations: 23.52 kB / 400.5 MB, free: 8.793 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007203/0.5262, allocations: 283.4 kB / 400.8 MB, free: 8.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.5266, allocations: 0.7189 MB / 401.5 MB, free: 7.754 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.598e-05/0.5267, allocations: 30.05 kB / 401.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5267, allocations: 0 / 401.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.63/3.156, allocations: 2.549 MB / 404.1 MB, free: 5.203 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat