Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.879/1.879, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.822e-05/2.833e-05, allocations: 8 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09639/0.09644, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3928/0.4893, allocations: 75.36 MB / 391.7 MB, free: 1.004 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.4896, allocations: 79.88 kB / 391.7 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01688/0.5065, allocations: 4.047 MB / 395.8 MB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5066, allocations: 0 / 395.8 MB, free: 13.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.5066, allocations: 0 / 395.8 MB, free: 13.56 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.0005184/0.5071, allocations: 426.5 kB / 396.2 MB, free: 13.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.5072, allocations: 16.03 kB / 396.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.5072, allocations: 7.906 kB / 396.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.5075, allocations: 197.6 kB / 396.4 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.5076, allocations: 0 / 396.4 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.5076, allocations: 7.984 kB / 396.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.672e-05/0.5077, allocations: 11.06 kB / 396.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.5078, allocations: 50.98 kB / 396.5 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5078, allocations: 0 / 396.5 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.5079, allocations: 3.938 kB / 396.5 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.5079, allocations: 0 / 396.5 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.5083, allocations: 272.9 kB / 396.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.5085, allocations: 41.88 kB / 396.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.5086, allocations: 12.05 kB / 396.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.5086, allocations: 0 / 396.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.5088, allocations: 61.98 kB / 396.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.5088, allocations: 4 kB / 396.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000423/0.5092, allocations: 103.8 kB / 397 MB, free: 12.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.5093, allocations: 51.41 kB / 397 MB, free: 12.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.5095, allocations: 169.2 kB / 397.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.5095, allocations: 28.45 kB / 397.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.5096, allocations: 160.7 kB / 397.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.5097, allocations: 15.25 kB / 397.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.5097, allocations: 0 / 397.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5098, allocations: 326.1 kB / 397.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.397e-05/0.5099, allocations: 22.38 kB / 397.7 MB, free: 11.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.624e-05/0.51, allocations: 18.75 kB / 397.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.161e-05/0.51, allocations: 24.55 kB / 397.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5101, allocations: 3.938 kB / 397.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000229/0.5103, allocations: 83.81 kB / 397.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.5104, allocations: 43.41 kB / 397.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5104, allocations: 0 / 397.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.5104, allocations: 0 / 397.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.5105, allocations: 8 kB / 397.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.5105, allocations: 8 kB / 397.9 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.5106, allocations: 3.938 kB / 397.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.5106, allocations: 7.984 kB / 397.9 MB, free: 11.34 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.542e-05/0.5107, allocations: 113 kB / 398 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001564/0.5109, allocations: 69.28 kB / 398.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.5109, allocations: 11.91 kB / 398.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.5112, allocations: 88.14 kB / 398.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5112, allocations: 0 / 398.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.5112, allocations: 4 kB / 398.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5112, allocations: 3.953 kB / 398.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.5117, allocations: 327.8 kB / 398.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.5117, allocations: 0 / 398.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.5117, allocations: 11.94 kB / 398.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5118, allocations: 0 / 398.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.5118, allocations: 0 / 398.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5118, allocations: 4 kB / 398.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.5118, allocations: 3.953 kB / 398.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.512, allocations: 170.1 kB / 398.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/0.5121, allocations: 92.77 kB / 398.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.5122, allocations: 144 / 398.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.5123, allocations: 0 / 398.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.5123, allocations: 15.92 kB / 398.8 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.5123, allocations: 4 kB / 398.8 MB, free: 10.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001458/0.5125, allocations: 131.9 kB / 399 MB, free: 10.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5125, allocations: 0 / 399 MB, free: 10.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000398/0.5129, allocations: 39.56 kB / 399 MB, free: 10.25 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.001239/0.5142, allocations: 0.9128 MB / 399.9 MB, free: 9.367 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.5144, allocations: 110.7 kB / 400 MB, free: 9.266 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5144, allocations: 0 / 400 MB, free: 9.266 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.72e-05/0.5145, allocations: 15.38 kB / 400 MB, free: 9.254 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.5148, allocations: 15.48 kB / 400.1 MB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006542/0.5155, allocations: 229.1 kB / 400.3 MB, free: 8.992 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.5158, allocations: 0.7077 MB / 401 MB, free: 8.262 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.5159, allocations: 29.55 kB / 401 MB, free: 8.242 MB / 330.7 MB Notification: Performance of SimCode: time 6.92e-07/0.5159, allocations: 0 / 401 MB, free: 8.242 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.849/3.365, allocations: 2.212 MB / 403.2 MB, free: 6.039 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat