Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.996/1.996, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.011e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 48.69 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4035/0.5081, allocations: 75.33 MB / 391.6 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.5084, allocations: 68.2 kB / 391.7 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01668/0.5251, allocations: 3.885 MB / 395.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5252, allocations: 0 / 395.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.5252, allocations: 4 kB / 395.6 MB, free: 13.68 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.0005276/0.5257, allocations: 419.4 kB / 396 MB, free: 13.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.5258, allocations: 8.031 kB / 396 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.5258, allocations: 7.906 kB / 396 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.5261, allocations: 198.4 kB / 396.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.5262, allocations: 0 / 396.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.5262, allocations: 7.906 kB / 396.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.514e-05/0.5263, allocations: 15.98 kB / 396.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.5264, allocations: 41.38 kB / 396.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5264, allocations: 0 / 396.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.5265, allocations: 0 / 396.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5265, allocations: 0 / 396.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.5269, allocations: 276.3 kB / 396.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.5271, allocations: 42.36 kB / 396.6 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.5272, allocations: 12.84 kB / 396.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.5272, allocations: 4 kB / 396.6 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.5273, allocations: 55.09 kB / 396.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.984e-06/0.5274, allocations: 0 / 396.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004476/0.5278, allocations: 108.8 kB / 396.8 MB, free: 12.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.5279, allocations: 55.41 kB / 396.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.5281, allocations: 152.8 kB / 397 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.5281, allocations: 25.7 kB / 397 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.5282, allocations: 162.2 kB / 397.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.5282, allocations: 15.75 kB / 397.2 MB, free: 12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.5283, allocations: 0 / 397.2 MB, free: 12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5284, allocations: 318.5 kB / 397.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.579e-05/0.5285, allocations: 19.38 kB / 397.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.278e-05/0.5285, allocations: 19.38 kB / 397.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.727e-05/0.5286, allocations: 31.55 kB / 397.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5287, allocations: 4 kB / 397.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002646/0.5289, allocations: 93.08 kB / 397.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/0.529, allocations: 36.03 kB / 397.7 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.529, allocations: 0 / 397.7 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.529, allocations: 144 / 397.7 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.5291, allocations: 8 kB / 397.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.5291, allocations: 0 / 397.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.152e-05/0.5292, allocations: 11.89 kB / 397.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.5293, allocations: 11.97 kB / 397.7 MB, free: 11.48 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.709e-05/0.5293, allocations: 105 kB / 397.8 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001603/0.5295, allocations: 73.56 kB / 397.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.5296, allocations: 11.84 kB / 397.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.5298, allocations: 89.39 kB / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5298, allocations: 3.953 kB / 398 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.5298, allocations: 4 kB / 398 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5299, allocations: 0 / 398 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.5303, allocations: 314.1 kB / 398.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5303, allocations: 4 kB / 398.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.5304, allocations: 11.98 kB / 398.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5304, allocations: 0 / 398.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.5304, allocations: 7.953 kB / 398.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5305, allocations: 0 / 398.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5305, allocations: 0 / 398.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.5307, allocations: 167 kB / 398.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.5308, allocations: 96.81 kB / 398.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.5308, allocations: 0 / 398.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.531, allocations: 7.953 kB / 398.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.531, allocations: 4 kB / 398.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.5311, allocations: 7.984 kB / 398.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.5312, allocations: 119.2 kB / 398.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.5312, allocations: 0 / 398.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004097/0.5316, allocations: 39.92 kB / 398.8 MB, free: 10.41 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.001267/0.5329, allocations: 0.9115 MB / 399.7 MB, free: 9.531 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.5332, allocations: 110.7 kB / 399.8 MB, free: 9.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5332, allocations: 4 kB / 399.8 MB, free: 9.426 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.973e-05/0.5333, allocations: 19.88 kB / 399.8 MB, free: 9.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.5336, allocations: 17.25 kB / 399.8 MB, free: 9.395 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008212/0.5345, allocations: 211.7 kB / 400 MB, free: 9.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.5348, allocations: 0.7001 MB / 400.7 MB, free: 8.434 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/0.5349, allocations: 30.67 kB / 400.7 MB, free: 8.414 MB / 330.7 MB Notification: Performance of SimCode: time 9.61e-07/0.5349, allocations: 0 / 400.7 MB, free: 8.414 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.449/2.984, allocations: 2.169 MB / 402.9 MB, free: 6.254 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat