Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.989/1.989, allocations: 209.4 MB / 216.9 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.381e-05, allocations: 8 kB / 267.6 MB, free: 5.336 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1055, allocations: 48.7 MB / 316.3 MB, free: 4.539 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3981/0.5037, allocations: 75.36 MB / 391.7 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.504, allocations: 76.06 kB / 391.7 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01728/0.5213, allocations: 4.097 MB / 395.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5213, allocations: 0 / 395.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.5214, allocations: 8 kB / 395.9 MB, free: 13.43 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.000523/0.5219, allocations: 418.8 kB / 396.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.5219, allocations: 8.031 kB / 396.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.522, allocations: 11.91 kB / 396.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.5223, allocations: 205 kB / 396.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.5223, allocations: 0 / 396.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.5224, allocations: 4 kB / 396.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.19e-05/0.5225, allocations: 15.23 kB / 396.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.208e-05/0.5226, allocations: 41.25 kB / 396.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5226, allocations: 4 kB / 396.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.5226, allocations: 0 / 396.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.5226, allocations: 3.938 kB / 396.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.5231, allocations: 273.8 kB / 396.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.5233, allocations: 42 kB / 396.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.5234, allocations: 12.3 kB / 396.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.5234, allocations: 4 kB / 396.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.5235, allocations: 59.23 kB / 396.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.874e-06/0.5236, allocations: 0 / 396.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004301/0.524, allocations: 106.9 kB / 397 MB, free: 12.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.524, allocations: 55.41 kB / 397.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.5243, allocations: 175 kB / 397.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.5243, allocations: 32.64 kB / 397.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.5244, allocations: 161.4 kB / 397.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.5245, allocations: 14.56 kB / 397.5 MB, free: 11.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.5245, allocations: 0 / 397.5 MB, free: 11.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5246, allocations: 322.3 kB / 397.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/0.5247, allocations: 23.38 kB / 397.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.588e-05/0.5248, allocations: 18 kB / 397.8 MB, free: 11.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.5249, allocations: 29.22 kB / 397.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5249, allocations: 3.938 kB / 397.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002359/0.5251, allocations: 85.5 kB / 397.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.5252, allocations: 33.69 kB / 398 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.5252, allocations: 8 kB / 398 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.5252, allocations: 0 / 398 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.839e-05/0.5253, allocations: 8 kB / 398 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.5253, allocations: 0 / 398 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.878e-05/0.5254, allocations: 3.984 kB / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.5254, allocations: 4 kB / 398 MB, free: 11.21 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.972e-05/0.5255, allocations: 113 kB / 398.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001646/0.5257, allocations: 78.75 kB / 398.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.5258, allocations: 7.906 kB / 398.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.526, allocations: 87.7 kB / 398.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.526, allocations: 4 kB / 398.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.526, allocations: 3.938 kB / 398.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.5261, allocations: 7.938 kB / 398.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.5265, allocations: 324 kB / 398.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.5265, allocations: 4 kB / 398.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.5266, allocations: 7.375 kB / 398.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5266, allocations: 0 / 398.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.5266, allocations: 8.141 kB / 398.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5266, allocations: 0 / 398.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.5267, allocations: 7.938 kB / 398.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.5269, allocations: 177.5 kB / 398.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.527, allocations: 85.02 kB / 398.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.527, allocations: 6.609 kB / 398.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.5271, allocations: 4 kB / 398.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.5272, allocations: 11.95 kB / 398.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.5272, allocations: 0 / 398.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.5274, allocations: 142.5 kB / 399 MB, free: 10.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.5274, allocations: 0 / 399 MB, free: 10.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000413/0.5278, allocations: 43.86 kB / 399.1 MB, free: 10.1 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.001276/0.5291, allocations: 0.9052 MB / 400 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.5293, allocations: 99.47 kB / 400.1 MB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5294, allocations: 0 / 400.1 MB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.834e-05/0.5294, allocations: 26.86 kB / 400.1 MB, free: 9.113 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.5298, allocations: 16.14 kB / 400.1 MB, free: 9.098 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007051/0.5305, allocations: 243.9 kB / 400.4 MB, free: 8.832 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.5309, allocations: 0.7072 MB / 401.1 MB, free: 8.102 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.379e-05/0.531, allocations: 25.98 kB / 401.1 MB, free: 8.086 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.531, allocations: 0 / 401.1 MB, free: 8.086 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.503/3.034, allocations: 2.291 MB / 403.4 MB, free: 5.805 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat