Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.002/2.002, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.322e-05/3.338e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 48.7 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3886/0.5109, allocations: 75.36 MB / 391.7 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.5112, allocations: 69.5 kB / 391.7 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01753/0.5288, allocations: 4.192 MB / 395.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5288, allocations: 0 / 395.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.5289, allocations: 0 / 395.9 MB, free: 13.38 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.0005196/0.5294, allocations: 427.1 kB / 396.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.5294, allocations: 8.031 kB / 396.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.5295, allocations: 11.91 kB / 396.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.5298, allocations: 206.5 kB / 396.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.5299, allocations: 0 / 396.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.5299, allocations: 7.938 kB / 396.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.617e-05/0.53, allocations: 11.98 kB / 396.6 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.879e-05/0.5301, allocations: 41.56 kB / 396.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5301, allocations: 0 / 396.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.5301, allocations: 0 / 396.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.5302, allocations: 8 kB / 396.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.5306, allocations: 286.6 kB / 396.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.5308, allocations: 45.75 kB / 397 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.389e-05/0.5309, allocations: 8.859 kB / 397 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.5309, allocations: 0 / 397 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.5311, allocations: 66.8 kB / 397 MB, free: 12.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.5311, allocations: 0 / 397 MB, free: 12.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004411/0.5315, allocations: 100.1 kB / 397.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.5316, allocations: 51.41 kB / 397.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.5318, allocations: 184.6 kB / 397.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.5319, allocations: 25.7 kB / 397.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.532, allocations: 170 kB / 397.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.532, allocations: 15.73 kB / 397.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.532, allocations: 8 kB / 397.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5322, allocations: 322 kB / 397.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.167e-05/0.5322, allocations: 18.69 kB / 397.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.633e-05/0.5323, allocations: 18.81 kB / 397.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.531e-05/0.5324, allocations: 21.73 kB / 398 MB, free: 11.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5324, allocations: 4 kB / 398 MB, free: 11.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002309/0.5326, allocations: 87.8 kB / 398 MB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.5327, allocations: 39.67 kB / 398.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.5327, allocations: 0 / 398.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5327, allocations: 4 kB / 398.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.218e-05/0.5328, allocations: 11.98 kB / 398.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.5329, allocations: 0 / 398.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/0.5329, allocations: 4 kB / 398.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.533, allocations: 4 kB / 398.1 MB, free: 11.14 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.233e-05/0.5331, allocations: 104.9 kB / 398.2 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001664/0.5332, allocations: 78.5 kB / 398.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.5333, allocations: 19.75 kB / 398.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.5335, allocations: 93.84 kB / 398.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5336, allocations: 0 / 398.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5336, allocations: 0 / 398.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5336, allocations: 3.953 kB / 398.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.534, allocations: 331.8 kB / 398.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5341, allocations: 3.984 kB / 398.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.5341, allocations: 4 kB / 398.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.5341, allocations: 7.984 kB / 398.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.5342, allocations: 0 / 398.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5342, allocations: 160 / 398.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.5342, allocations: 7.953 kB / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.5344, allocations: 172.5 kB / 398.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.5345, allocations: 96.86 kB / 399 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.5345, allocations: 3.375 kB / 399 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.5346, allocations: 0 / 399 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.5347, allocations: 11.94 kB / 399 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.5347, allocations: 4 kB / 399 MB, free: 10.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001811/0.5349, allocations: 154 kB / 399.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5349, allocations: 0 / 399.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003935/0.5353, allocations: 42.98 kB / 399.2 MB, free: 10.01 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.001235/0.5366, allocations: 0.91 MB / 400.1 MB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.5368, allocations: 103 kB / 400.2 MB, free: 9.039 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5368, allocations: 0 / 400.2 MB, free: 9.039 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.963e-05/0.5369, allocations: 15.88 kB / 400.2 MB, free: 9.027 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.5373, allocations: 18.55 kB / 400.3 MB, free: 9.012 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.538, allocations: 253.2 kB / 400.5 MB, free: 8.742 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.5383, allocations: 0.7111 MB / 401.2 MB, free: 8.008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.73e-05/0.5384, allocations: 31.98 kB / 401.3 MB, free: 7.992 MB / 330.7 MB Notification: Performance of SimCode: time 9.71e-07/0.5384, allocations: 4 kB / 401.3 MB, free: 7.988 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.777/3.316, allocations: 2.347 MB / 403.6 MB, free: 5.648 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat