Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.01/2.01, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.609e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 48.71 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4029/0.5067, allocations: 75.2 MB / 391.5 MB, free: 1.105 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.507, allocations: 70.33 kB / 391.6 MB, free: 1.066 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01586/0.5229, allocations: 3.813 MB / 395.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5229, allocations: 0 / 395.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.523, allocations: 0 / 395.4 MB, free: 13.86 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004863/0.5235, allocations: 414.4 kB / 395.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.5235, allocations: 8.031 kB / 395.8 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.5236, allocations: 4 kB / 395.8 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.5239, allocations: 200.9 kB / 396 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.5239, allocations: 4 kB / 396 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.5239, allocations: 0 / 396 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.548e-05/0.524, allocations: 11.25 kB / 396 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.618e-05/0.5241, allocations: 36.81 kB / 396.1 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.5241, allocations: 0 / 396.1 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.5241, allocations: 7.984 kB / 396.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.5241, allocations: 0 / 396.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.5244, allocations: 164 kB / 396.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.825e-05/0.5244, allocations: 37.5 kB / 396.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.5245, allocations: 11.98 kB / 396.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.5245, allocations: 0 / 396.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.5247, allocations: 54.34 kB / 396.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.5247, allocations: 0 / 396.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002248/0.5249, allocations: 64.27 kB / 396.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.525, allocations: 51.41 kB / 396.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.5252, allocations: 157.1 kB / 396.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.5252, allocations: 29.08 kB / 396.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.5253, allocations: 157 kB / 396.8 MB, free: 12.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.5253, allocations: 11.89 kB / 396.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.5253, allocations: 0 / 396.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5255, allocations: 321.7 kB / 397.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.365e-05/0.5255, allocations: 15.94 kB / 397.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.532e-05/0.5256, allocations: 14.12 kB / 397.1 MB, free: 12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.446e-05/0.5257, allocations: 19.11 kB / 397.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5257, allocations: 4 kB / 397.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000192/0.5259, allocations: 69.31 kB / 397.2 MB, free: 11.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.5259, allocations: 33.7 kB / 397.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.526, allocations: 0 / 397.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.526, allocations: 3.984 kB / 397.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.34e-05/0.5261, allocations: 7.938 kB / 397.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.5261, allocations: 4 kB / 397.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.5262, allocations: 7.75 kB / 397.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.5262, allocations: 7.938 kB / 397.3 MB, free: 11.86 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 (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 8.437e-05/0.5263, allocations: 112.9 kB / 397.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001232/0.5264, allocations: 57.27 kB / 397.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.5264, allocations: 7.906 kB / 397.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.5266, allocations: 73.61 kB / 397.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.5267, allocations: 0 / 397.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5267, allocations: 3.938 kB / 397.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.5267, allocations: 0 / 397.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.5269, allocations: 161.5 kB / 397.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5269, allocations: 0 / 397.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.5269, allocations: 4 kB / 397.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5269, allocations: 4 kB / 397.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.527, allocations: 4 kB / 397.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.527, allocations: 128 / 397.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.527, allocations: 4 kB / 397.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.5271, allocations: 87.91 kB / 397.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.5272, allocations: 88.95 kB / 397.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.5273, allocations: 4 kB / 397.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.713e-05/0.5273, allocations: 192 / 397.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.5274, allocations: 15.8 kB / 397.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.5274, allocations: 3.984 kB / 397.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000127/0.5275, allocations: 121.6 kB / 398 MB, free: 11.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5275, allocations: 0 / 398 MB, free: 11.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000337/0.5279, allocations: 27.98 kB / 398 MB, free: 11.04 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 (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.001075/0.529, allocations: 0.7889 MB / 398.8 MB, free: 10.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.5292, allocations: 97.2 kB / 398.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5292, allocations: 3.938 kB / 398.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.5293, allocations: 11.56 kB / 398.9 MB, free: 10.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.5295, allocations: 20.7 kB / 399 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.5301, allocations: 202.6 kB / 399.2 MB, free: 9.926 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.5304, allocations: 0.704 MB / 399.9 MB, free: 9.199 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.5305, allocations: 19 kB / 399.9 MB, free: 9.188 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5305, allocations: 0 / 399.9 MB, free: 9.188 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.467/2.997, allocations: 1.934 MB / 401.8 MB, free: 7.262 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat