Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.087/2.087, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.565e-05/2.574e-05, allocations: 8 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1192, allocations: 48.7 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4245/0.5438, allocations: 75.37 MB / 391.7 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.5441, allocations: 78.41 kB / 391.7 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01747/0.5616, allocations: 3.979 MB / 395.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5617, allocations: 0.875 kB / 395.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.5617, allocations: 4 kB / 395.7 MB, free: 13.48 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.0005535/0.5623, allocations: 417.7 kB / 396.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.5623, allocations: 12.03 kB / 396.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.5624, allocations: 7.906 kB / 396.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.5627, allocations: 190.6 kB / 396.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.5627, allocations: 0 / 396.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.5627, allocations: 7.906 kB / 396.4 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.835e-05/0.5628, allocations: 15.36 kB / 396.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.563, allocations: 56.17 kB / 396.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.563, allocations: 4 kB / 396.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.563, allocations: 0 / 396.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.563, allocations: 0 / 396.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.5634, allocations: 266.1 kB / 396.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.5637, allocations: 44.94 kB / 396.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.875e-05/0.5637, allocations: 12.23 kB / 396.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.5638, allocations: 4 kB / 396.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.5639, allocations: 58.81 kB / 396.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.914e-06/0.5639, allocations: 0 / 396.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004441/0.5644, allocations: 110.6 kB / 396.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.5644, allocations: 51.41 kB / 397 MB, free: 12.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.5647, allocations: 153.5 kB / 397.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.5647, allocations: 29.7 kB / 397.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.531e-05/0.5648, allocations: 166.8 kB / 397.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.5648, allocations: 14.94 kB / 397.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.5649, allocations: 0 / 397.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.565, allocations: 318.8 kB / 397.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.494e-05/0.5651, allocations: 17.81 kB / 397.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.283e-05/0.5652, allocations: 22.69 kB / 397.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.064e-05/0.5653, allocations: 22.48 kB / 397.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5653, allocations: 0 / 397.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002417/0.5655, allocations: 94.66 kB / 397.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.537e-05/0.5656, allocations: 37.69 kB / 397.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.5656, allocations: 4 kB / 397.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5657, allocations: 0 / 397.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.607e-05/0.5657, allocations: 8 kB / 397.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.5658, allocations: 0 / 397.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.5658, allocations: 8.047 kB / 397.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.5659, allocations: 7.922 kB / 397.8 MB, free: 11.27 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.883e-05/0.566, allocations: 111.4 kB / 398 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001707/0.5662, allocations: 76.47 kB / 398 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.5662, allocations: 7.906 kB / 398 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.5665, allocations: 85.89 kB / 398.1 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.5665, allocations: 3.953 kB / 398.1 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5665, allocations: 0 / 398.1 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5665, allocations: 0 / 398.1 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.567, allocations: 325.3 kB / 398.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.567, allocations: 0 / 398.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.922e-05/0.567, allocations: 7.984 kB / 398.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5671, allocations: 4 kB / 398.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.5671, allocations: 7.953 kB / 398.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5671, allocations: 0 / 398.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5671, allocations: 0 / 398.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.5673, allocations: 167.7 kB / 398.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.5674, allocations: 89 kB / 398.7 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.5675, allocations: 0 / 398.7 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.5676, allocations: 7.953 kB / 398.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.5676, allocations: 0 / 398.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.5677, allocations: 12.12 kB / 398.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.5678, allocations: 125.5 kB / 398.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.524e-06/0.5678, allocations: 0 / 398.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004251/0.5683, allocations: 39.86 kB / 398.9 MB, free: 10.21 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.001354/0.5696, allocations: 0.9193 MB / 399.8 MB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.5699, allocations: 106 kB / 399.9 MB, free: 9.223 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5699, allocations: 0 / 399.9 MB, free: 9.223 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.854e-05/0.57, allocations: 15 kB / 399.9 MB, free: 9.211 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.5703, allocations: 23.06 kB / 400 MB, free: 9.191 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006598/0.571, allocations: 215 kB / 400.2 MB, free: 8.953 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.5714, allocations: 0.7079 MB / 400.9 MB, free: 8.219 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.5715, allocations: 25.8 kB / 400.9 MB, free: 8.203 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.5715, allocations: 0 / 400.9 MB, free: 8.203 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.446/3.017, allocations: 2.15 MB / 403.1 MB, free: 6.059 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat