Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.225/2.225, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.373e-05, allocations: 8 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 48.69 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4225/0.5282, allocations: 75.2 MB / 391.5 MB, free: 1.414 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.5285, allocations: 69.31 kB / 391.6 MB, free: 1.379 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02955/0.5581, allocations: 5.42 MB / 397 MB, free: 12.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5582, allocations: 0 / 397 MB, free: 12.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.599e-05/0.5582, allocations: 4 kB / 397 MB, free: 12.76 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.001245/0.5595, allocations: 0.6425 MB / 397.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.5596, allocations: 12.03 kB / 397.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.5597, allocations: 43.44 kB / 397.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.5611, allocations: 449.7 kB / 398.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.5612, allocations: 15.92 kB / 398.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.5612, allocations: 4 kB / 398.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001312/0.5614, allocations: 18.67 kB / 398.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.5615, allocations: 62.7 kB / 398.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5616, allocations: 4 kB / 398.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.5616, allocations: 0 / 398.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5616, allocations: 0 / 398.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007287/0.5624, allocations: 364.8 kB / 398.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.5626, allocations: 62.02 kB / 398.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/0.5627, allocations: 20.53 kB / 398.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.5627, allocations: 0 / 398.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.563, allocations: 95.52 kB / 398.8 MB, free: 10.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.444e-06/0.563, allocations: 3.938 kB / 398.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005656/0.5636, allocations: 131.7 kB / 398.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.5636, allocations: 77.11 kB / 399 MB, free: 10.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/0.5663, allocations: 0.8832 MB / 399.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.5664, allocations: 25.7 kB / 399.9 MB, free: 9.992 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.5667, allocations: 253.7 kB / 400.1 MB, free: 9.832 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.549e-05/0.5668, allocations: 19.19 kB / 400.2 MB, free: 9.816 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.5669, allocations: 0 / 400.2 MB, free: 9.816 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.567, allocations: 322 kB / 400.5 MB, free: 9.496 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.5672, allocations: 35.17 kB / 400.5 MB, free: 9.473 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.5674, allocations: 52.39 kB / 400.6 MB, free: 9.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.5676, allocations: 38.97 kB / 400.6 MB, free: 9.402 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5676, allocations: 0 / 400.6 MB, free: 9.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005388/0.5682, allocations: 122.5 kB / 400.7 MB, free: 9.301 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.233e-05/0.5683, allocations: 67.22 kB / 400.8 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5683, allocations: 0 / 400.8 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.5684, allocations: 4 kB / 400.8 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.5686, allocations: 15.92 kB / 400.8 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.5686, allocations: 0 / 400.8 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.5689, allocations: 19.97 kB / 400.8 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.5689, allocations: 4 kB / 400.8 MB, free: 9.184 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001399/0.5691, allocations: 116.5 kB / 400.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004455/0.5696, allocations: 131.8 kB / 401.1 MB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.5697, allocations: 51.44 kB / 401.1 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005673/0.5703, allocations: 147.3 kB / 401.3 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5704, allocations: 0 / 401.3 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5704, allocations: 0 / 401.3 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.5704, allocations: 3.938 kB / 401.3 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006351/0.571, allocations: 352.9 kB / 401.6 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5711, allocations: 0 / 401.6 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.039e-05/0.5712, allocations: 8 kB / 401.6 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.5712, allocations: 0 / 401.6 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.5712, allocations: 8.078 kB / 401.6 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5713, allocations: 7.938 kB / 401.6 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5713, allocations: 0 / 401.6 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/0.5718, allocations: 176 kB / 401.8 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005017/0.5723, allocations: 178.8 kB / 402 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.5725, allocations: 11.92 kB / 402 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.5727, allocations: 8 kB / 402 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.5728, allocations: 11.92 kB / 402 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.5729, allocations: 4 kB / 402 MB, free: 8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001762/0.5746, allocations: 0.6926 MB / 402.7 MB, free: 7.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.5747, allocations: 0 / 402.7 MB, free: 7.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008645/0.5755, allocations: 99.86 kB / 402.8 MB, free: 7.402 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002093/0.5776, allocations: 1.072 MB / 403.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003883/0.5781, allocations: 187.5 kB / 404.1 MB, free: 6.184 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5781, allocations: 0 / 404.1 MB, free: 6.184 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.087e-05/0.5782, allocations: 26.98 kB / 404.1 MB, free: 6.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.5788, allocations: 46.06 kB / 404.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.5811, allocations: 0.9063 MB / 405 MB, free: 5.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.5817, allocations: 0.8476 MB / 405.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.582, allocations: 141.6 kB / 406 MB, free: 4.359 MB / 330.7 MB Notification: Performance of SimCode: time 9.91e-07/0.582, allocations: 0 / 406 MB, free: 4.359 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.928/3.51, allocations: 7.988 MB / 414 MB, free: 12.4 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat