Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.947/1.947, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.596e-05/2.615e-05, allocations: 8 kB / 267.6 MB, free: 5.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1448, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4055/0.5503, allocations: 75.18 MB / 391.5 MB, free: 1.398 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.5507, allocations: 74.39 kB / 391.6 MB, free: 1.359 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01602/0.5667, allocations: 3.793 MB / 395.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5667, allocations: 0 / 395.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.5668, allocations: 4 kB / 395.4 MB, free: 14.17 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005151/0.5673, allocations: 407.5 kB / 395.8 MB, free: 13.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.5674, allocations: 12.03 kB / 395.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.5674, allocations: 8 kB / 395.8 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.5677, allocations: 201.3 kB / 396 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.5678, allocations: 0 / 396 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.5678, allocations: 4 kB / 396 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.278e-05/0.5679, allocations: 7.688 kB / 396 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.771e-05/0.568, allocations: 37.69 kB / 396 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.568, allocations: 3.984 kB / 396 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.568, allocations: 4 kB / 396 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.568, allocations: 3.938 kB / 396 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.5682, allocations: 169.4 kB / 396.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.07e-05/0.5683, allocations: 30.2 kB / 396.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.674e-05/0.5684, allocations: 12.48 kB / 396.2 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.5684, allocations: 0 / 396.2 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.5686, allocations: 58.52 kB / 396.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.5686, allocations: 4 kB / 396.3 MB, free: 13.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002135/0.5688, allocations: 56.91 kB / 396.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.5689, allocations: 51.41 kB / 396.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.5691, allocations: 153.8 kB / 396.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.5691, allocations: 25.7 kB / 396.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/0.5692, allocations: 160.9 kB / 396.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.5693, allocations: 3.906 kB / 396.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.5693, allocations: 4 kB / 396.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5694, allocations: 325.8 kB / 397.1 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.5695, allocations: 11.69 kB / 397.1 MB, free: 12.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.57e-05/0.5695, allocations: 16.75 kB / 397.1 MB, free: 12.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.877e-05/0.5696, allocations: 15.23 kB / 397.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5696, allocations: 0 / 397.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002013/0.5699, allocations: 77.69 kB / 397.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/0.5699, allocations: 36.03 kB / 397.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5699, allocations: 0 / 397.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.57, allocations: 0 / 397.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.57, allocations: 19.88 kB / 397.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.5701, allocations: 0 / 397.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.5701, allocations: 7.938 kB / 397.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.5702, allocations: 0 / 397.2 MB, free: 12.16 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 (5): * Single equations (assignments): 4 * 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.064e-05/0.5703, allocations: 108.9 kB / 397.4 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001276/0.5704, allocations: 64.58 kB / 397.4 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.5704, allocations: 7.906 kB / 397.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.5706, allocations: 72.8 kB / 397.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.5707, allocations: 4 kB / 397.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5707, allocations: 0 / 397.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.5707, allocations: 0 / 397.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.5709, allocations: 159.7 kB / 397.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5709, allocations: 4 kB / 397.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.415e-05/0.5709, allocations: 0 / 397.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.5709, allocations: 4 kB / 397.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.571, allocations: 0 / 397.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.571, allocations: 3.938 kB / 397.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.571, allocations: 0 / 397.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.5712, allocations: 95.47 kB / 397.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/0.5713, allocations: 88.45 kB / 397.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.5713, allocations: 4 kB / 397.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.364e-05/0.5714, allocations: 0 / 397.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.5714, allocations: 11.97 kB / 397.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.5714, allocations: 3.938 kB / 397.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.5716, allocations: 124.6 kB / 398 MB, free: 11.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5716, allocations: 0 / 398 MB, free: 11.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003394/0.5719, allocations: 31.98 kB / 398 MB, free: 11.35 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 (4): * Single equations (assignments): 3 * 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.001148/0.5731, allocations: 0.7903 MB / 398.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.5733, allocations: 91.84 kB / 398.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5734, allocations: 4 kB / 398.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.901e-05/0.5734, allocations: 14.42 kB / 398.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.5737, allocations: 12.19 kB / 398.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.5743, allocations: 205.3 kB / 399.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.5746, allocations: 0.6963 MB / 399.8 MB, free: 9.516 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/0.5747, allocations: 25.42 kB / 399.8 MB, free: 9.5 MB / 330.7 MB Notification: Performance of SimCode: time 7.82e-07/0.5747, allocations: 0 / 399.8 MB, free: 9.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.481/3.056, allocations: 1.953 MB / 401.8 MB, free: 7.555 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat