Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.117/2.117, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.969e-05/3.974e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1125, allocations: 48.71 MB / 316.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4463/0.5589, allocations: 75.37 MB / 391.7 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.5592, allocations: 67.16 kB / 391.8 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01948/0.5787, allocations: 4.23 MB / 396 MB, free: 13.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5788, allocations: 0 / 396 MB, free: 13.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.5788, allocations: 0 / 396 MB, free: 13.34 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.0006384/0.5794, allocations: 438 kB / 396.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.5795, allocations: 8.031 kB / 396.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.5796, allocations: 11.91 kB / 396.4 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.5799, allocations: 206.1 kB / 396.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.58, allocations: 0 / 396.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.58, allocations: 11.89 kB / 396.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.481e-05/0.5801, allocations: 14.19 kB / 396.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.5803, allocations: 40.62 kB / 396.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.5803, allocations: 3.938 kB / 396.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.5803, allocations: 3.984 kB / 396.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5803, allocations: 0 / 396.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.5808, allocations: 277.5 kB / 397 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.5811, allocations: 41.12 kB / 397 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/0.5812, allocations: 16.5 kB / 397 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.5812, allocations: 4 kB / 397 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.5814, allocations: 54.66 kB / 397.1 MB, free: 12.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.657e-06/0.5814, allocations: 7.938 kB / 397.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005463/0.582, allocations: 111 kB / 397.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.582, allocations: 55.39 kB / 397.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.5824, allocations: 197.1 kB / 397.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.5824, allocations: 29.27 kB / 397.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.5825, allocations: 166.6 kB / 397.6 MB, free: 11.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.5826, allocations: 11.8 kB / 397.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.5826, allocations: 4 kB / 397.7 MB, free: 11.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5827, allocations: 322 kB / 398 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.991e-05/0.5828, allocations: 26.5 kB / 398 MB, free: 11.24 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.13e-05/0.5829, allocations: 19.25 kB / 398 MB, free: 11.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.375e-05/0.583, allocations: 18.92 kB / 398 MB, free: 11.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.583, allocations: 4 kB / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000284/0.5833, allocations: 89.52 kB / 398.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.379e-05/0.5834, allocations: 37.58 kB / 398.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5834, allocations: 0 / 398.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.5834, allocations: 0 / 398.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.5835, allocations: 12.08 kB / 398.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.5836, allocations: 7.984 kB / 398.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.5837, allocations: 7.938 kB / 398.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.5837, allocations: 4 kB / 398.2 MB, free: 11.07 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.000103/0.5838, allocations: 108.9 kB / 398.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001824/0.584, allocations: 72.72 kB / 398.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.5841, allocations: 15.81 kB / 398.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.5843, allocations: 98.67 kB / 398.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.5844, allocations: 0 / 398.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5844, allocations: 4 kB / 398.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.5844, allocations: 4.047 kB / 398.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005295/0.5849, allocations: 345.2 kB / 398.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.585, allocations: 0 / 398.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-05/0.5851, allocations: 7.938 kB / 398.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.5851, allocations: 4 kB / 398.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.5851, allocations: 3.688 kB / 398.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5851, allocations: 0 / 398.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.5851, allocations: 3.953 kB / 398.8 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.5854, allocations: 174.9 kB / 399 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.326e-05/0.5855, allocations: 92.92 kB / 399.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.5856, allocations: 0 / 399.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.5857, allocations: 7.984 kB / 399.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.5858, allocations: 3.953 kB / 399.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.5858, allocations: 7.938 kB / 399.1 MB, free: 10.1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002291/0.5861, allocations: 167.2 kB / 399.3 MB, free: 9.961 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5861, allocations: 4 kB / 399.3 MB, free: 9.957 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006951/0.5868, allocations: 43.62 kB / 399.3 MB, free: 9.918 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.001422/0.5882, allocations: 0.9048 MB / 400.2 MB, free: 9.047 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002908/0.5886, allocations: 110.3 kB / 400.4 MB, free: 8.945 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5886, allocations: 0 / 400.4 MB, free: 8.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.064e-05/0.5887, allocations: 19.56 kB / 400.4 MB, free: 8.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.5891, allocations: 11.55 kB / 400.4 MB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.5901, allocations: 271.3 kB / 400.6 MB, free: 8.629 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.5905, allocations: 0.7118 MB / 401.4 MB, free: 7.895 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.5906, allocations: 34.8 kB / 401.4 MB, free: 7.875 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5906, allocations: 0 / 401.4 MB, free: 7.875 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.673/3.264, allocations: 2.445 MB / 403.8 MB, free: 5.441 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat