Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.905/1.905, allocations: 209.4 MB / 216.9 MB, free: 6.734 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 2.923e-05/2.936e-05, allocations: 8 kB / 267.6 MB, free: 5.387 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.098, allocations: 48.7 MB / 316.3 MB, free: 4.59 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.4784, allocations: 75.33 MB / 391.6 MB, free: 0.9766 MB / 314.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.4787, allocations: 69.64 kB / 391.7 MB, free: 0.9375 MB / 314.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01638/0.4951, allocations: 3.887 MB / 395.6 MB, free: 13.69 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4951, allocations: 0 / 395.6 MB, free: 13.69 MB / 330.8 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.4951, allocations: 0 / 395.6 MB, free: 13.69 MB / 330.8 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.0005042/0.4956, allocations: 414.3 kB / 396 MB, free: 13.24 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.4957, allocations: 12.03 kB / 396 MB, free: 13.23 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.4958, allocations: 7.906 kB / 396 MB, free: 13.22 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.496, allocations: 194.8 kB / 396.2 MB, free: 12.99 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.4961, allocations: 4 kB / 396.2 MB, free: 12.99 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.4961, allocations: 7.906 kB / 396.2 MB, free: 12.98 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.515e-05/0.4962, allocations: 15.3 kB / 396.2 MB, free: 12.97 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.609e-05/0.4963, allocations: 41.12 kB / 396.3 MB, free: 12.93 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4963, allocations: 3.938 kB / 396.3 MB, free: 12.92 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4963, allocations: 0 / 396.3 MB, free: 12.92 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.4964, allocations: 7.938 kB / 396.3 MB, free: 12.91 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.4968, allocations: 270.1 kB / 396.6 MB, free: 12.63 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.497, allocations: 45 kB / 396.6 MB, free: 12.59 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.497, allocations: 8.859 kB / 396.6 MB, free: 12.57 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.4971, allocations: 0 / 396.6 MB, free: 12.57 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.4972, allocations: 61.5 kB / 396.7 MB, free: 12.51 MB / 330.8 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.4972, allocations: 0 / 396.7 MB, free: 12.51 MB / 330.8 MB Notification: Performance of matching and sorting (n=5): time 0.0004181/0.4976, allocations: 106.6 kB / 396.8 MB, free: 12.41 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.4977, allocations: 55.41 kB / 396.8 MB, free: 12.34 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.4979, allocations: 150.4 kB / 397 MB, free: 12.2 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.498, allocations: 25.7 kB / 397 MB, free: 12.17 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.498, allocations: 160.9 kB / 397.2 MB, free: 12.02 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.4981, allocations: 19.42 kB / 397.2 MB, free: 12 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.4981, allocations: 0 / 397.2 MB, free: 12 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4982, allocations: 314.8 kB / 397.5 MB, free: 11.69 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-05/0.4983, allocations: 26 kB / 397.5 MB, free: 11.67 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.584e-05/0.4984, allocations: 18.31 kB / 397.5 MB, free: 11.66 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.815e-05/0.4985, allocations: 27.73 kB / 397.6 MB, free: 11.64 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4985, allocations: 0 / 397.6 MB, free: 11.64 MB / 330.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002336/0.4987, allocations: 94.45 kB / 397.6 MB, free: 11.56 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.4988, allocations: 33.7 kB / 397.7 MB, free: 11.52 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4988, allocations: 0 / 397.7 MB, free: 11.52 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.4988, allocations: 0 / 397.7 MB, free: 11.52 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.556e-05/0.4989, allocations: 11.94 kB / 397.7 MB, free: 11.51 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.4989, allocations: 0 / 397.7 MB, free: 11.51 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.91e-05/0.499, allocations: 11.94 kB / 397.7 MB, free: 11.5 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.499, allocations: 0 / 397.7 MB, free: 11.5 MB / 330.8 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.066e-05/0.4991, allocations: 109.1 kB / 397.8 MB, free: 11.38 MB / 330.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001574/0.4993, allocations: 75.47 kB / 397.9 MB, free: 11.31 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.4993, allocations: 7.906 kB / 397.9 MB, free: 11.3 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.4996, allocations: 86.27 kB / 398 MB, free: 11.23 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.4996, allocations: 3.953 kB / 398 MB, free: 11.22 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4996, allocations: 192 / 398 MB, free: 11.22 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.4996, allocations: 7.984 kB / 398 MB, free: 11.21 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.5, allocations: 324 kB / 398.3 MB, free: 10.88 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5001, allocations: 0 / 398.3 MB, free: 10.88 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.973e-05/0.5001, allocations: 15.92 kB / 398.3 MB, free: 10.86 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5001, allocations: 144 / 398.3 MB, free: 10.86 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.5002, allocations: 3.953 kB / 398.3 MB, free: 10.86 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5002, allocations: 0 / 398.3 MB, free: 10.86 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.5002, allocations: 3.984 kB / 398.3 MB, free: 10.86 MB / 330.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.5004, allocations: 167.7 kB / 398.5 MB, free: 10.69 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.5005, allocations: 93 kB / 398.6 MB, free: 10.58 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.5005, allocations: 0 / 398.6 MB, free: 10.58 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.5006, allocations: 7.953 kB / 398.6 MB, free: 10.57 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.5007, allocations: 7.172 kB / 398.6 MB, free: 10.57 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.5007, allocations: 4 kB / 398.6 MB, free: 10.56 MB / 330.8 MB Notification: Performance of sorting global known variables: time 0.0001278/0.5008, allocations: 124 kB / 398.7 MB, free: 10.46 MB / 330.8 MB Notification: Performance of sort global known variables: time 4.7e-07/0.5009, allocations: 0 / 398.7 MB, free: 10.46 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.0004164/0.5013, allocations: 43.86 kB / 398.8 MB, free: 10.41 MB / 330.8 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.001201/0.5025, allocations: 0.9025 MB / 399.7 MB, free: 9.539 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.5027, allocations: 106.4 kB / 399.8 MB, free: 9.441 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.5028, allocations: 0 / 399.8 MB, free: 9.441 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 5.861e-05/0.5028, allocations: 23.3 kB / 399.8 MB, free: 9.422 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.5032, allocations: 16.08 kB / 399.8 MB, free: 9.41 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006187/0.5038, allocations: 212.1 kB / 400 MB, free: 9.176 MB / 330.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.5041, allocations: 0.704 MB / 400.7 MB, free: 8.445 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.5042, allocations: 25.36 kB / 400.7 MB, free: 8.43 MB / 330.8 MB Notification: Performance of SimCode: time 9.12e-07/0.5042, allocations: 4 kB / 400.7 MB, free: 8.426 MB / 330.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.598/3.102, allocations: 2.165 MB / 402.9 MB, free: 6.27 MB / 330.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat