Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.103/2.103, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/3.007e-05, allocations: 8 kB / 267.6 MB, free: 5.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 48.7 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3964/0.5067, allocations: 75.37 MB / 391.7 MB, free: 0.875 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.507, allocations: 74.64 kB / 391.7 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01797/0.525, allocations: 4.164 MB / 395.9 MB, free: 13.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.525, allocations: 0 / 395.9 MB, free: 13.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.5251, allocations: 7.938 kB / 395.9 MB, free: 13.32 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.0006182/0.5257, allocations: 423.6 kB / 396.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.5257, allocations: 8.031 kB / 396.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.5258, allocations: 11.91 kB / 396.4 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.5262, allocations: 209.6 kB / 396.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.5262, allocations: 0 / 396.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.5263, allocations: 4 kB / 396.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.066e-05/0.5264, allocations: 19.11 kB / 396.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.5265, allocations: 40.88 kB / 396.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.5265, allocations: 0 / 396.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.5265, allocations: 0 / 396.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5266, allocations: 0 / 396.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.5271, allocations: 285 kB / 396.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.5273, allocations: 41.56 kB / 396.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.5274, allocations: 16.8 kB / 397 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.5274, allocations: 0 / 397 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.5276, allocations: 53.5 kB / 397 MB, free: 12.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.903e-06/0.5276, allocations: 0 / 397 MB, free: 12.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004886/0.5281, allocations: 117.2 kB / 397.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.5281, allocations: 51.41 kB / 397.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.5284, allocations: 180.4 kB / 397.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.5285, allocations: 29.7 kB / 397.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.5286, allocations: 165 kB / 397.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.5286, allocations: 18.62 kB / 397.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-06/0.5286, allocations: 0 / 397.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5288, allocations: 326 kB / 397.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.107e-05/0.5288, allocations: 19.25 kB / 397.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.946e-05/0.5289, allocations: 18.69 kB / 397.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.833e-05/0.529, allocations: 27.11 kB / 397.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.529, allocations: 0 / 397.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002496/0.5293, allocations: 92 kB / 398 MB, free: 11.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.5293, allocations: 33.69 kB / 398.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5294, allocations: 4 kB / 398.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.5294, allocations: 0 / 398.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.5295, allocations: 8 kB / 398.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5295, allocations: 0 / 398.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.392e-05/0.5296, allocations: 12.06 kB / 398.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.5296, allocations: 3.984 kB / 398.1 MB, free: 11.08 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.939e-05/0.5297, allocations: 108.9 kB / 398.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001694/0.5299, allocations: 72.91 kB / 398.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.5299, allocations: 11.81 kB / 398.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.5302, allocations: 85.23 kB / 398.4 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.5302, allocations: 4 kB / 398.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5302, allocations: 0 / 398.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.5303, allocations: 11.94 kB / 398.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.5307, allocations: 336.1 kB / 398.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5307, allocations: 3.938 kB / 398.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-05/0.5308, allocations: 8 kB / 398.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.5308, allocations: 4.125 kB / 398.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.5309, allocations: 0 / 398.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5309, allocations: 4 kB / 398.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.5309, allocations: 3.953 kB / 398.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.5311, allocations: 174.2 kB / 398.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.5312, allocations: 92.91 kB / 399 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.5313, allocations: 7.375 kB / 399 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.606e-05/0.5314, allocations: 256 / 399 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.5314, allocations: 11.89 kB / 399 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.5315, allocations: 7.984 kB / 399 MB, free: 10.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001893/0.5317, allocations: 156.8 kB / 399.2 MB, free: 9.988 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5317, allocations: 0 / 399.2 MB, free: 9.988 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004265/0.5321, allocations: 35.94 kB / 399.2 MB, free: 9.953 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.001275/0.5334, allocations: 0.9029 MB / 400.1 MB, free: 9.086 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.5337, allocations: 113.8 kB / 400.2 MB, free: 8.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5337, allocations: 0 / 400.2 MB, free: 8.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.717e-05/0.5337, allocations: 15.5 kB / 400.2 MB, free: 8.969 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.5341, allocations: 23.62 kB / 400.3 MB, free: 8.949 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007346/0.5348, allocations: 251.9 kB / 400.5 MB, free: 8.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.5352, allocations: 0.7117 MB / 401.2 MB, free: 7.945 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.684e-05/0.5353, allocations: 33.92 kB / 401.2 MB, free: 7.926 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5353, allocations: 0 / 401.2 MB, free: 7.926 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.641/3.177, allocations: 2.34 MB / 403.6 MB, free: 5.594 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat