Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.211/2.211, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.686e-05, allocations: 8 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1105, allocations: 48.71 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4114/0.522, allocations: 75.4 MB / 391.7 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.5223, allocations: 70.41 kB / 391.8 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01969/0.542, allocations: 4.575 MB / 396.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.5421, allocations: 0 / 396.4 MB, free: 13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.5421, allocations: 4 kB / 396.4 MB, free: 13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000604/0.5427, allocations: 429.1 kB / 396.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.5428, allocations: 8.031 kB / 396.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.186e-05/0.5428, allocations: 15.81 kB / 396.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.5432, allocations: 213.9 kB / 397 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.5432, allocations: 8 kB / 397 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.5433, allocations: 4 kB / 397 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001303/0.5434, allocations: 30.84 kB / 397.1 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.5436, allocations: 52.23 kB / 397.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.5436, allocations: 0 / 397.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.5436, allocations: 0 / 397.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.5436, allocations: 7.938 kB / 397.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.5442, allocations: 317.5 kB / 397.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.5444, allocations: 53.19 kB / 397.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/0.5444, allocations: 16.73 kB / 397.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.5445, allocations: 0 / 397.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.5446, allocations: 67.2 kB / 397.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.5446, allocations: 0 / 397.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006055/0.5453, allocations: 146.7 kB / 397.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.5453, allocations: 55.41 kB / 397.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.5456, allocations: 218.2 kB / 398 MB, free: 11.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.5457, allocations: 25.7 kB / 398 MB, free: 11.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.5458, allocations: 169.1 kB / 398.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.5458, allocations: 27.58 kB / 398.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.5459, allocations: 0 / 398.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.546, allocations: 318.4 kB / 398.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.974e-05/0.5461, allocations: 25.38 kB / 398.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.415e-05/0.5462, allocations: 34.36 kB / 398.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.5463, allocations: 34.3 kB / 398.6 MB, free: 10.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5463, allocations: 0 / 398.6 MB, free: 10.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000315/0.5466, allocations: 126.2 kB / 398.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.5467, allocations: 33.7 kB / 398.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5467, allocations: 0 / 398.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5467, allocations: 0 / 398.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.5469, allocations: 15.98 kB / 398.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.5469, allocations: 3.953 kB / 398.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/0.547, allocations: 4 kB / 398.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.5471, allocations: 7.625 kB / 398.8 MB, free: 10.57 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 (10): * Single equations (assignments): 9 * 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.264e-05/0.5472, allocations: 112.9 kB / 398.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002366/0.5474, allocations: 91.39 kB / 399 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.5475, allocations: 15.81 kB / 399 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.5478, allocations: 124.6 kB / 399.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.5479, allocations: 7.953 kB / 399.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5479, allocations: 0 / 399.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5479, allocations: 0 / 399.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006503/0.5485, allocations: 401.9 kB / 399.5 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5486, allocations: 0 / 399.5 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.5487, allocations: 12.38 kB / 399.5 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.5487, allocations: 3.953 kB / 399.5 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.5487, allocations: 11.92 kB / 399.5 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5487, allocations: 0 / 399.5 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.5488, allocations: 3.938 kB / 399.5 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.5491, allocations: 200 kB / 399.7 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.5492, allocations: 100.3 kB / 399.8 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.5493, allocations: 11.89 kB / 399.8 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.5494, allocations: 3.984 kB / 399.9 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.5494, allocations: 4 kB / 399.9 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.5495, allocations: 7.984 kB / 399.9 MB, free: 9.473 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002178/0.5497, allocations: 166.9 kB / 400 MB, free: 9.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5497, allocations: 0 / 400 MB, free: 9.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004215/0.5501, allocations: 43.92 kB / 400.1 MB, free: 9.297 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 (10): * Single equations (assignments): 9 * 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.001392/0.5516, allocations: 0.9384 MB / 401 MB, free: 8.398 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.5519, allocations: 133.6 kB / 401.1 MB, free: 8.281 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5519, allocations: 0 / 401.1 MB, free: 8.281 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.552, allocations: 35.11 kB / 401.2 MB, free: 8.254 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.5524, allocations: 18.81 kB / 401.2 MB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008595/0.5533, allocations: 297.3 kB / 401.5 MB, free: 7.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.5536, allocations: 0.7197 MB / 402.2 MB, free: 7.184 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.5538, allocations: 38.86 kB / 402.2 MB, free: 7.164 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5538, allocations: 0 / 402.2 MB, free: 7.164 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.783/3.337, allocations: 2.753 MB / 405 MB, free: 4.43 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat