Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.963/1.963, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.122e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 48.71 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3923/0.4951, allocations: 75.36 MB / 391.7 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.4955, allocations: 73.89 kB / 391.7 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01848/0.514, allocations: 4.155 MB / 395.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.514, allocations: 0 / 395.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.514, allocations: 0 / 395.9 MB, free: 13.37 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.0005604/0.5146, allocations: 427.3 kB / 396.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.5147, allocations: 8.031 kB / 396.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.911e-05/0.5147, allocations: 11.91 kB / 396.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.5151, allocations: 201.7 kB / 396.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.5151, allocations: 4 kB / 396.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.5151, allocations: 7.938 kB / 396.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.878e-05/0.5152, allocations: 15.36 kB / 396.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.803e-05/0.5153, allocations: 40.62 kB / 396.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.5154, allocations: 0 / 396.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.5154, allocations: 0 / 396.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.5154, allocations: 0 / 396.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.5159, allocations: 289.6 kB / 396.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.5161, allocations: 53.5 kB / 396.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.5162, allocations: 8.859 kB / 396.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.5162, allocations: 3.5 kB / 396.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.5164, allocations: 58.55 kB / 397 MB, free: 12.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.334e-06/0.5164, allocations: 0 / 397 MB, free: 12.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004805/0.5169, allocations: 100.7 kB / 397.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.517, allocations: 55.41 kB / 397.2 MB, free: 12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.5172, allocations: 186 kB / 397.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.5173, allocations: 25.7 kB / 397.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.5174, allocations: 172.7 kB / 397.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.5174, allocations: 15.19 kB / 397.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.5174, allocations: 4 kB / 397.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5176, allocations: 314.8 kB / 397.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.82e-05/0.5177, allocations: 21.56 kB / 397.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.967e-05/0.5177, allocations: 22.11 kB / 397.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.212e-05/0.5178, allocations: 17.94 kB / 397.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5178, allocations: 3.938 kB / 397.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002551/0.5181, allocations: 93.36 kB / 398 MB, free: 11.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.5182, allocations: 37.45 kB / 398 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.5182, allocations: 0 / 398 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.5182, allocations: 0 / 398 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/0.5183, allocations: 11.98 kB / 398.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.5183, allocations: 0 / 398.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.828e-05/0.5184, allocations: 8.062 kB / 398.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.5185, allocations: 4 kB / 398.1 MB, free: 11.12 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.138e-05/0.5186, allocations: 108.9 kB / 398.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001809/0.5188, allocations: 75.78 kB / 398.3 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.5188, allocations: 15.89 kB / 398.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.5191, allocations: 92.45 kB / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.5191, allocations: 144 / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5191, allocations: 0 / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.5192, allocations: 7.938 kB / 398.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005082/0.5197, allocations: 341.4 kB / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5197, allocations: 0 / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.5198, allocations: 4 kB / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.5198, allocations: 0 / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.5198, allocations: 4 kB / 398.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5198, allocations: 0 / 398.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/0.5198, allocations: 7.938 kB / 398.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.5201, allocations: 169.3 kB / 398.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.092e-05/0.5202, allocations: 104.1 kB / 399 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.5202, allocations: 0 / 399 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.5203, allocations: 256 / 399 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.5204, allocations: 11.94 kB / 399 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.5204, allocations: 8 kB / 399 MB, free: 10.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001861/0.5206, allocations: 153 kB / 399.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5206, allocations: 0 / 399.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004679/0.5211, allocations: 35.92 kB / 399.2 MB, free: 9.996 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.001314/0.5224, allocations: 0.9063 MB / 400.1 MB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.5228, allocations: 107.8 kB / 400.2 MB, free: 9.027 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5228, allocations: 0 / 400.2 MB, free: 9.027 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.134e-05/0.5228, allocations: 19.8 kB / 400.2 MB, free: 9.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.5232, allocations: 19.41 kB / 400.2 MB, free: 8.996 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007782/0.524, allocations: 255.2 kB / 400.5 MB, free: 8.723 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.5244, allocations: 0.7105 MB / 401.2 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.052e-05/0.5245, allocations: 31.92 kB / 401.2 MB, free: 7.973 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5245, allocations: 4 kB / 401.2 MB, free: 7.969 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.988/3.513, allocations: 2.333 MB / 403.6 MB, free: 5.641 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat