Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.168/2.168, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.86e-05/3.886e-05, allocations: 4 kB / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4404/0.5556, allocations: 75.3 MB / 391.6 MB, free: 1.285 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.5559, allocations: 74.08 kB / 391.7 MB, free: 1.246 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01694/0.5729, allocations: 3.79 MB / 395.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5729, allocations: 0 / 395.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.573, allocations: 4 kB / 395.5 MB, free: 14.07 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.0005942/0.5736, allocations: 403.2 kB / 395.9 MB, free: 13.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.5736, allocations: 16.03 kB / 395.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.5737, allocations: 3.906 kB / 395.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.574, allocations: 198.6 kB / 396.1 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.5741, allocations: 4 kB / 396.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.5741, allocations: 0 / 396.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.321e-05/0.5742, allocations: 15.23 kB / 396.1 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.5743, allocations: 41.5 kB / 396.1 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5743, allocations: 0 / 396.1 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.5744, allocations: 4 kB / 396.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.5744, allocations: 0 / 396.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.5748, allocations: 266.5 kB / 396.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.5751, allocations: 40.89 kB / 396.4 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.5752, allocations: 15.88 kB / 396.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.5752, allocations: 4 kB / 396.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.5754, allocations: 54.84 kB / 396.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.244e-06/0.5754, allocations: 0 / 396.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004808/0.5759, allocations: 105.9 kB / 396.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.5759, allocations: 51.41 kB / 396.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.5761, allocations: 137.3 kB / 396.8 MB, free: 12.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.5762, allocations: 29.64 kB / 396.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.603e-05/0.5763, allocations: 157 kB / 397 MB, free: 12.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.5763, allocations: 19.73 kB / 397 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.5763, allocations: 0 / 397 MB, free: 12.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5765, allocations: 325.5 kB / 397.3 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.105e-05/0.5765, allocations: 15.06 kB / 397.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.667e-05/0.5766, allocations: 18.69 kB / 397.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.5767, allocations: 26.73 kB / 397.4 MB, free: 12.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5768, allocations: 3.938 kB / 397.4 MB, free: 12.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002452/0.577, allocations: 94.2 kB / 397.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/0.5771, allocations: 36.27 kB / 397.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5771, allocations: 64 / 397.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.5771, allocations: 4 kB / 397.5 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.5772, allocations: 11.98 kB / 397.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.5772, allocations: 4 kB / 397.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.5773, allocations: 4 kB / 397.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.5773, allocations: 144 / 397.5 MB, free: 11.91 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 0.0001031/0.5775, allocations: 116.9 kB / 397.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001579/0.5776, allocations: 71.78 kB / 397.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.5777, allocations: 0 / 397.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.5779, allocations: 84.61 kB / 397.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5779, allocations: 3.984 kB / 397.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5779, allocations: 4 kB / 397.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.578, allocations: 7.953 kB / 397.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.5784, allocations: 315 kB / 398.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5784, allocations: 0 / 398.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.5785, allocations: 8 kB / 398.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5785, allocations: 96 / 398.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.5785, allocations: 7.922 kB / 398.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5786, allocations: 0 / 398.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.5786, allocations: 7.953 kB / 398.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.5788, allocations: 173 kB / 398.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-05/0.5789, allocations: 85.02 kB / 398.4 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.5789, allocations: 7.984 kB / 398.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/0.579, allocations: 4 kB / 398.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.5791, allocations: 3.953 kB / 398.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.5791, allocations: 7.375 kB / 398.4 MB, free: 10.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.5792, allocations: 105.5 kB / 398.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5793, allocations: 4 kB / 398.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004067/0.5797, allocations: 39.92 kB / 398.6 MB, free: 10.86 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.001377/0.5811, allocations: 0.9137 MB / 399.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.5813, allocations: 107.9 kB / 399.6 MB, free: 9.871 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5813, allocations: 0 / 399.6 MB, free: 9.871 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.802e-05/0.5814, allocations: 19.88 kB / 399.6 MB, free: 9.855 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.5818, allocations: 15.92 kB / 399.6 MB, free: 9.844 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006179/0.5824, allocations: 190.5 kB / 399.8 MB, free: 9.625 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.5828, allocations: 0.6963 MB / 400.5 MB, free: 8.902 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.5829, allocations: 25.92 kB / 400.5 MB, free: 8.887 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.5829, allocations: 0 / 400.5 MB, free: 8.887 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.642/3.225, allocations: 2.02 MB / 402.6 MB, free: 6.875 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat