Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.009/2.009, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.164e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.09999, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3973/0.4973, allocations: 75.37 MB / 391.7 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.4976, allocations: 70.06 kB / 391.7 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01713/0.5148, allocations: 3.976 MB / 395.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5148, allocations: 0 / 395.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.5149, allocations: 4 kB / 395.7 MB, free: 13.59 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.0005272/0.5154, allocations: 418.5 kB / 396.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.5155, allocations: 8.031 kB / 396.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.5155, allocations: 7.906 kB / 396.1 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.5158, allocations: 198.1 kB / 396.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.5159, allocations: 3.938 kB / 396.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.5159, allocations: 7.906 kB / 396.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.89e-05/0.516, allocations: 15.05 kB / 396.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.5161, allocations: 43.88 kB / 396.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5161, allocations: 0 / 396.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.5162, allocations: 4 kB / 396.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.5162, allocations: 0 / 396.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.5166, allocations: 266.2 kB / 396.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.5168, allocations: 41.19 kB / 396.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/0.5169, allocations: 20.44 kB / 396.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.5169, allocations: 0 / 396.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.5171, allocations: 54.66 kB / 396.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 4.067e-06/0.5171, allocations: 0 / 396.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000438/0.5175, allocations: 107.2 kB / 396.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.5176, allocations: 59.39 kB / 397 MB, free: 12.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.5178, allocations: 148.7 kB / 397.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.5178, allocations: 28.27 kB / 397.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.5179, allocations: 164.7 kB / 397.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.518, allocations: 19 kB / 397.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.518, allocations: 0 / 397.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5181, allocations: 314.8 kB / 397.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.4e-05/0.5182, allocations: 21.44 kB / 397.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.5183, allocations: 22.06 kB / 397.7 MB, free: 11.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.376e-05/0.5184, allocations: 22.67 kB / 397.7 MB, free: 11.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5184, allocations: 3.938 kB / 397.7 MB, free: 11.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000247/0.5186, allocations: 90.97 kB / 397.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.5187, allocations: 33.69 kB / 397.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.5187, allocations: 0 / 397.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.5187, allocations: 4.094 kB / 397.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.5188, allocations: 15.88 kB / 397.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.5189, allocations: 4 kB / 397.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.463e-05/0.5189, allocations: 3.953 kB / 397.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.519, allocations: 6.812 kB / 397.8 MB, free: 11.39 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 9.268e-05/0.5191, allocations: 111.9 kB / 397.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000163/0.5192, allocations: 70.84 kB / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.5193, allocations: 11.89 kB / 398 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.5195, allocations: 88.95 kB / 398.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.5196, allocations: 3.953 kB / 398.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5196, allocations: 4 kB / 398.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.5196, allocations: 0 / 398.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.52, allocations: 317.8 kB / 398.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5201, allocations: 4 kB / 398.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.5201, allocations: 4 kB / 398.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.5202, allocations: 0 / 398.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.5202, allocations: 11.94 kB / 398.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.5202, allocations: 7.938 kB / 398.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5202, allocations: 0 / 398.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.5204, allocations: 162.5 kB / 398.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.5205, allocations: 93 kB / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.5206, allocations: 0 / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.5207, allocations: 3.953 kB / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.5207, allocations: 7.938 kB / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.5208, allocations: 8 kB / 398.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001332/0.5209, allocations: 123.1 kB / 398.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5209, allocations: 4 kB / 398.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003995/0.5213, allocations: 31.94 kB / 398.9 MB, free: 10.33 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.001236/0.5226, allocations: 0.9167 MB / 399.8 MB, free: 9.441 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.5228, allocations: 110.6 kB / 399.9 MB, free: 9.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5229, allocations: 0 / 399.9 MB, free: 9.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.554e-05/0.5229, allocations: 19.62 kB / 399.9 MB, free: 9.324 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.5233, allocations: 19.44 kB / 399.9 MB, free: 9.309 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006724/0.524, allocations: 215.5 kB / 400.2 MB, free: 9.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.5243, allocations: 0.7001 MB / 400.9 MB, free: 8.344 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.5244, allocations: 30.92 kB / 400.9 MB, free: 8.324 MB / 330.7 MB Notification: Performance of SimCode: time 9.01e-07/0.5244, allocations: 0 / 400.9 MB, free: 8.324 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.639/3.164, allocations: 2.155 MB / 403 MB, free: 6.176 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat