Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.101/2.101, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.722e-05/2.721e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4212/0.5289, allocations: 75.37 MB / 391.7 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.5292, allocations: 74.81 kB / 391.8 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01909/0.5483, allocations: 4.328 MB / 396.1 MB, free: 13.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5484, allocations: 0 / 396.1 MB, free: 13.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.5484, allocations: 0 / 396.1 MB, free: 13.19 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.0006312/0.5491, allocations: 435.5 kB / 396.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.5491, allocations: 8.031 kB / 396.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.5492, allocations: 15.81 kB / 396.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.5495, allocations: 218.5 kB / 396.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.5496, allocations: 4 kB / 396.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.5496, allocations: 3.984 kB / 396.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.673e-05/0.5497, allocations: 15.56 kB / 396.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.5498, allocations: 41.62 kB / 396.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.5499, allocations: 0 / 396.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.5499, allocations: 3.984 kB / 396.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.5499, allocations: 3.938 kB / 396.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.5504, allocations: 282.5 kB / 397.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.5506, allocations: 54.06 kB / 397.1 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.5507, allocations: 8.859 kB / 397.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.5507, allocations: 0 / 397.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.5509, allocations: 53.88 kB / 397.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.843e-06/0.5509, allocations: 4 kB / 397.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000485/0.5514, allocations: 107.2 kB / 397.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.5514, allocations: 63.16 kB / 397.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.5518, allocations: 224.6 kB / 397.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.5518, allocations: 29.7 kB / 397.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.341e-05/0.5519, allocations: 178.5 kB / 397.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.552, allocations: 11.7 kB / 397.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-06/0.552, allocations: 0 / 397.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5521, allocations: 318.8 kB / 398.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.5522, allocations: 19 kB / 398.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-05/0.5523, allocations: 15.5 kB / 398.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.144e-05/0.5524, allocations: 32.86 kB / 398.2 MB, free: 11.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5524, allocations: 0 / 398.2 MB, free: 11.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002426/0.5526, allocations: 100.2 kB / 398.3 MB, free: 10.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.5527, allocations: 33.7 kB / 398.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5527, allocations: 0 / 398.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5527, allocations: 64 / 398.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.5528, allocations: 12 kB / 398.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.5529, allocations: 3.984 kB / 398.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.441e-05/0.5529, allocations: 4 kB / 398.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.553, allocations: 7.375 kB / 398.3 MB, free: 10.88 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.951e-05/0.5531, allocations: 113.1 kB / 398.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001631/0.5532, allocations: 73.78 kB / 398.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.5533, allocations: 19.8 kB / 398.5 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.5536, allocations: 92.47 kB / 398.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5536, allocations: 0 / 398.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5536, allocations: 0 / 398.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.5536, allocations: 3.953 kB / 398.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.5541, allocations: 357.5 kB / 399 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5541, allocations: 0 / 399 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.83e-05/0.5542, allocations: 8 kB / 399 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5542, allocations: 0 / 399 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.5542, allocations: 0 / 399 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.5542, allocations: 0 / 399 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5543, allocations: 3.953 kB / 399 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.5545, allocations: 181.1 kB / 399.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.17e-05/0.5546, allocations: 101.2 kB / 399.3 MB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.5547, allocations: 0 / 399.3 MB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.5548, allocations: 8 kB / 399.3 MB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.5548, allocations: 11.75 kB / 399.3 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.5549, allocations: 4 kB / 399.3 MB, free: 9.891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002336/0.5551, allocations: 183.4 kB / 399.5 MB, free: 9.742 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.5552, allocations: 0 / 399.5 MB, free: 9.742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004203/0.5556, allocations: 43.48 kB / 399.5 MB, free: 9.703 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.001293/0.5569, allocations: 0.923 MB / 400.4 MB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.5572, allocations: 102.8 kB / 400.5 MB, free: 8.719 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5572, allocations: 0 / 400.5 MB, free: 8.719 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.231e-05/0.5572, allocations: 19.48 kB / 400.6 MB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.5576, allocations: 15.06 kB / 400.6 MB, free: 8.691 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008452/0.5585, allocations: 301.6 kB / 400.9 MB, free: 8.375 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.5588, allocations: 0.7267 MB / 401.6 MB, free: 7.625 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/0.559, allocations: 35.3 kB / 401.6 MB, free: 7.605 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.559, allocations: 0 / 401.6 MB, free: 7.605 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.743/3.302, allocations: 2.613 MB / 404.2 MB, free: 5.008 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat