Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.102/2.102, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.919e-05, allocations: 0 / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1139, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4198/0.5338, allocations: 74.25 MB / 390.5 MB, free: 2.02 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.5341, allocations: 74.2 kB / 390.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01541/0.5495, allocations: 3.408 MB / 394 MB, free: 15.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5496, allocations: 0 / 394 MB, free: 15.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.5496, allocations: 0 / 394 MB, free: 15.28 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000501/0.5501, allocations: 388 kB / 394.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.5502, allocations: 8.031 kB / 394.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.5502, allocations: 7.906 kB / 394.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.5505, allocations: 190.6 kB / 394.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.5505, allocations: 0 / 394.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.5506, allocations: 4 kB / 394.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.54e-05/0.5507, allocations: 19.62 kB / 394.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.5508, allocations: 51.34 kB / 394.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.5508, allocations: 0 / 394.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.5509, allocations: 0 / 394.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5509, allocations: 0 / 394.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.5513, allocations: 249 kB / 394.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.5515, allocations: 42.14 kB / 395 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.5516, allocations: 12.94 kB / 395 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.5516, allocations: 3.984 kB / 395 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.5517, allocations: 34.44 kB / 395 MB, free: 14.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.5517, allocations: 0 / 395 MB, free: 14.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005071/0.5522, allocations: 104.2 kB / 395.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.5523, allocations: 81.11 kB / 395.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.5524, allocations: 108.7 kB / 395.3 MB, free: 13.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.5524, allocations: 25.7 kB / 395.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.5525, allocations: 158.5 kB / 395.5 MB, free: 13.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.5526, allocations: 19.64 kB / 395.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.5526, allocations: 0 / 395.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5527, allocations: 322.7 kB / 395.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.874e-05/0.5528, allocations: 11.81 kB / 395.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.287e-05/0.5528, allocations: 25.59 kB / 395.9 MB, free: 13.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.085e-05/0.5529, allocations: 21.42 kB / 395.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5529, allocations: 0 / 395.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001759/0.5531, allocations: 61.08 kB / 395.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.5532, allocations: 33.69 kB / 396 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.5532, allocations: 0 / 396 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.5532, allocations: 0 / 396 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.5534, allocations: 12 kB / 396 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.5534, allocations: 4.031 kB / 396 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/0.5535, allocations: 12.23 kB / 396 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.5535, allocations: 0 / 396 MB, free: 13.18 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.533e-05/0.5536, allocations: 108.9 kB / 396.1 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001518/0.5538, allocations: 61.5 kB / 396.2 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.5538, allocations: 7.906 kB / 396.2 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.554, allocations: 65.59 kB / 396.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5541, allocations: 4 kB / 396.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.5541, allocations: 0 / 396.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5541, allocations: 0 / 396.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.5545, allocations: 306.1 kB / 396.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5546, allocations: 0 / 396.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.5547, allocations: 15.98 kB / 396.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.5547, allocations: 0 / 396.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.5547, allocations: 3.938 kB / 396.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.5548, allocations: 0 / 396.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5548, allocations: 4 kB / 396.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.555, allocations: 155.1 kB / 396.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.5551, allocations: 88.64 kB / 396.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.5551, allocations: 0 / 396.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.5552, allocations: 7.984 kB / 396.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.5553, allocations: 7.938 kB / 396.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.5553, allocations: 256 / 396.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.506e-05/0.5554, allocations: 115.3 kB / 396.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5554, allocations: 0 / 396.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004129/0.5559, allocations: 24 kB / 397 MB, free: 12.19 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001241/0.5571, allocations: 0.8662 MB / 397.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.5574, allocations: 90.89 kB / 397.9 MB, free: 11.26 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.5574, allocations: 0 / 397.9 MB, free: 11.26 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.912e-05/0.5575, allocations: 15.88 kB / 397.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.5578, allocations: 4 kB / 397.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.56, allocations: 0.608 MB / 398.5 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.5604, allocations: 0.6885 MB / 399.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.5605, allocations: 30.92 kB / 399.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5605, allocations: 0 / 399.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.455/3.016, allocations: 1.774 MB / 401 MB, free: 8.34 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat does not exist to compare? outputFormat=mat