Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.946/1.946, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.978e-05, allocations: 8 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.104, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.426/0.5301, allocations: 75.33 MB / 391.6 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.5304, allocations: 74.44 kB / 391.7 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02131/0.5518, allocations: 3.896 MB / 395.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5518, allocations: 0 / 395.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.5519, allocations: 0 / 395.6 MB, free: 13.66 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.0006325/0.5525, allocations: 410.8 kB / 396 MB, free: 13.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.5526, allocations: 16.03 kB / 396 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.5527, allocations: 7.906 kB / 396 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.553, allocations: 200.9 kB / 396.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.5531, allocations: 4 kB / 396.2 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.5531, allocations: 7.891 kB / 396.2 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.882e-05/0.5532, allocations: 11.12 kB / 396.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.5534, allocations: 44.06 kB / 396.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.5534, allocations: 0 / 396.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.5534, allocations: 7.938 kB / 396.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5535, allocations: 0 / 396.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.554, allocations: 271.8 kB / 396.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.5543, allocations: 45 kB / 396.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.5544, allocations: 8.859 kB / 396.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.5544, allocations: 0 / 396.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.5546, allocations: 65.42 kB / 396.7 MB, free: 12.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.305e-06/0.5546, allocations: 0 / 396.7 MB, free: 12.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005705/0.5552, allocations: 105.7 kB / 396.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.5552, allocations: 51.41 kB / 396.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.5555, allocations: 149.3 kB / 397 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.5555, allocations: 29.33 kB / 397 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/0.5556, allocations: 164.4 kB / 397.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.5556, allocations: 14.86 kB / 397.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.5557, allocations: 4 kB / 397.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5558, allocations: 314.8 kB / 397.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.725e-05/0.5559, allocations: 18.62 kB / 397.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-05/0.5559, allocations: 17.25 kB / 397.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.787e-05/0.556, allocations: 26.23 kB / 397.6 MB, free: 11.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.556, allocations: 0 / 397.6 MB, free: 11.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002479/0.5563, allocations: 97.02 kB / 397.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/0.5564, allocations: 36.95 kB / 397.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5564, allocations: 0 / 397.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5564, allocations: 3.984 kB / 397.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.5565, allocations: 12 kB / 397.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.5565, allocations: 3.984 kB / 397.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.996e-05/0.5566, allocations: 7.953 kB / 397.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.5566, allocations: 4 kB / 397.7 MB, free: 11.46 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.957e-05/0.5567, allocations: 105 kB / 397.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001668/0.5569, allocations: 79.72 kB / 397.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.5569, allocations: 7.906 kB / 397.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.5572, allocations: 82.02 kB / 398 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.5572, allocations: 11.94 kB / 398 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.5572, allocations: 0 / 398 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.5573, allocations: 0 / 398 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.5577, allocations: 324.5 kB / 398.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5577, allocations: 0 / 398.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.825e-05/0.5578, allocations: 8 kB / 398.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5578, allocations: 0 / 398.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.5578, allocations: 3.953 kB / 398.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5578, allocations: 0 / 398.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5578, allocations: 0 / 398.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.5581, allocations: 176.9 kB / 398.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/0.5582, allocations: 88.2 kB / 398.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.5582, allocations: 4 kB / 398.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.5584, allocations: 3.953 kB / 398.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.5584, allocations: 7.984 kB / 398.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.5585, allocations: 0 / 398.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.5586, allocations: 124 kB / 398.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5586, allocations: 4 kB / 398.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004443/0.5591, allocations: 39.92 kB / 398.8 MB, free: 10.39 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.001257/0.5603, allocations: 0.9179 MB / 399.7 MB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.5606, allocations: 105.3 kB / 399.8 MB, free: 9.406 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5606, allocations: 0 / 399.8 MB, free: 9.406 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.855e-05/0.5607, allocations: 15.38 kB / 399.8 MB, free: 9.395 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.561, allocations: 20.69 kB / 399.8 MB, free: 9.379 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.5616, allocations: 216.9 kB / 400 MB, free: 9.137 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.562, allocations: 0.7079 MB / 400.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.562, allocations: 26.06 kB / 400.8 MB, free: 8.387 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.5621, allocations: 0 / 400.8 MB, free: 8.387 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.629/3.191, allocations: 2.16 MB / 402.9 MB, free: 6.23 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat