Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.998/1.998, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.627e-05/2.639e-05, allocations: 4 kB / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3989/0.5038, allocations: 75.38 MB / 391.7 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.5041, allocations: 70.33 kB / 391.8 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01836/0.5225, allocations: 4.29 MB / 396 MB, free: 13.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5225, allocations: 0 / 396 MB, free: 13.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.5226, allocations: 7.984 kB / 396 MB, free: 13.27 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.0005838/0.5232, allocations: 429.3 kB / 396.5 MB, free: 12.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.5232, allocations: 12.03 kB / 396.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.5233, allocations: 15.81 kB / 396.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.5236, allocations: 210 kB / 396.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.5237, allocations: 7.984 kB / 396.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.5237, allocations: 0 / 396.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.187e-05/0.5238, allocations: 11.31 kB / 396.7 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.836e-05/0.5239, allocations: 44.88 kB / 396.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.5239, allocations: 3.938 kB / 396.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.524, allocations: 7.984 kB / 396.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.524, allocations: 0 / 396.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.5244, allocations: 282.8 kB / 397.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.5247, allocations: 41.5 kB / 397.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.5248, allocations: 12.17 kB / 397.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.5248, allocations: 0 / 397.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.5249, allocations: 62.81 kB / 397.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/0.525, allocations: 0 / 397.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004592/0.5254, allocations: 118.4 kB / 397.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.5255, allocations: 51.41 kB / 397.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.5258, allocations: 215 kB / 397.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.5259, allocations: 29.7 kB / 397.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.526, allocations: 165.9 kB / 397.7 MB, free: 11.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.526, allocations: 14.62 kB / 397.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.526, allocations: 0 / 397.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5261, allocations: 322.8 kB / 398.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.577e-05/0.5262, allocations: 26.06 kB / 398.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.669e-05/0.5263, allocations: 18.56 kB / 398.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.258e-05/0.5264, allocations: 22.48 kB / 398.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5264, allocations: 3.938 kB / 398.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000244/0.5266, allocations: 85.25 kB / 398.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.5267, allocations: 42.97 kB / 398.3 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.5267, allocations: 0 / 398.3 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.5268, allocations: 4 kB / 398.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.677e-05/0.5268, allocations: 8 kB / 398.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.5269, allocations: 4 kB / 398.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.432e-05/0.527, allocations: 144 / 398.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.527, allocations: 4.094 kB / 398.3 MB, free: 10.99 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.29e-05/0.5271, allocations: 120.8 kB / 398.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001739/0.5273, allocations: 79.94 kB / 398.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.5273, allocations: 11.91 kB / 398.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.5276, allocations: 91.27 kB / 398.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5276, allocations: 0 / 398.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5276, allocations: 4 kB / 398.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.5276, allocations: 3.953 kB / 398.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.5282, allocations: 356.3 kB / 398.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5282, allocations: 0 / 398.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-05/0.5283, allocations: 7.938 kB / 398.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.5283, allocations: 4 kB / 398.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.5283, allocations: 0 / 398.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.5283, allocations: 160 / 398.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.5283, allocations: 3.953 kB / 398.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.5286, allocations: 176.2 kB / 399.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.5287, allocations: 96.36 kB / 399.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.5287, allocations: 7.984 kB / 399.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.5289, allocations: 0 / 399.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.5289, allocations: 7.953 kB / 399.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.5289, allocations: 0 / 399.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002336/0.5292, allocations: 175.5 kB / 399.4 MB, free: 9.867 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.5292, allocations: 4 kB / 399.4 MB, free: 9.863 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004551/0.5297, allocations: 43.42 kB / 399.4 MB, free: 9.824 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.001335/0.531, allocations: 0.9135 MB / 400.4 MB, free: 8.941 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.5313, allocations: 107.9 kB / 400.5 MB, free: 8.844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5313, allocations: 0 / 400.5 MB, free: 8.844 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.268e-05/0.5314, allocations: 23.59 kB / 400.5 MB, free: 8.824 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.5318, allocations: 15.31 kB / 400.5 MB, free: 8.809 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008347/0.5326, allocations: 284.5 kB / 400.8 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.5329, allocations: 0.7151 MB / 401.5 MB, free: 7.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.414e-05/0.533, allocations: 35.48 kB / 401.5 MB, free: 7.75 MB / 330.7 MB Notification: Performance of SimCode: time 9.01e-07/0.5331, allocations: 0 / 401.5 MB, free: 7.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.565/3.098, allocations: 2.554 MB / 404.1 MB, free: 5.211 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat