Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.895/1.895, allocations: 209.4 MB / 216.9 MB, free: 6.59 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.976e-05, allocations: 8 kB / 267.6 MB, free: 5.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.09968, allocations: 48.7 MB / 316.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4189/0.5187, allocations: 75.22 MB / 391.5 MB, free: 1.105 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.519, allocations: 65.95 kB / 391.6 MB, free: 1.074 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02573/0.5448, allocations: 5.377 MB / 397 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5448, allocations: 0 / 397 MB, free: 12.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.601e-05/0.5449, allocations: 8 kB / 397 MB, free: 12.49 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.0009136/0.5458, allocations: 0.639 MB / 397.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.5459, allocations: 12.03 kB / 397.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.546, allocations: 43.44 kB / 397.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009941/0.547, allocations: 445.5 kB / 398.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.5471, allocations: 0 / 398.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.5471, allocations: 15.88 kB / 398.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001029/0.5472, allocations: 19.36 kB / 398.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.5474, allocations: 65.39 kB / 398.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.5474, allocations: 0 / 398.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.5474, allocations: 0 / 398.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5474, allocations: 0 / 398.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.548, allocations: 359.5 kB / 398.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.5481, allocations: 60.14 kB / 398.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.72e-05/0.5482, allocations: 25.47 kB / 398.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.5482, allocations: 3.984 kB / 398.7 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.5484, allocations: 94.38 kB / 398.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.5485, allocations: 0 / 398.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.000433/0.5489, allocations: 122.5 kB / 398.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.549, allocations: 81.11 kB / 398.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.5508, allocations: 0.8572 MB / 399.8 MB, free: 9.797 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.5508, allocations: 29.7 kB / 399.8 MB, free: 9.762 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.551, allocations: 246.1 kB / 400.1 MB, free: 9.605 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.5511, allocations: 14.94 kB / 400.1 MB, free: 9.594 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.5511, allocations: 0 / 400.1 MB, free: 9.594 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5513, allocations: 330.5 kB / 400.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.894e-05/0.5514, allocations: 25.75 kB / 400.4 MB, free: 9.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.5515, allocations: 47.39 kB / 400.5 MB, free: 9.211 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.5517, allocations: 39.11 kB / 400.5 MB, free: 9.188 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5517, allocations: 0 / 400.5 MB, free: 9.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003811/0.5521, allocations: 127.8 kB / 400.6 MB, free: 9.078 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.862e-05/0.5522, allocations: 66.89 kB / 400.7 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5522, allocations: 0 / 400.7 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.5522, allocations: 4 kB / 400.7 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.5524, allocations: 12 kB / 400.7 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5524, allocations: 0 / 400.7 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.5526, allocations: 12.06 kB / 400.7 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.5526, allocations: 11.98 kB / 400.7 MB, free: 8.965 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001113/0.5528, allocations: 119.7 kB / 400.9 MB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003115/0.5531, allocations: 120.2 kB / 401 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.5532, allocations: 47.44 kB / 401 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.5536, allocations: 155.1 kB / 401.2 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.5536, allocations: 3.938 kB / 401.2 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5537, allocations: 96 / 401.2 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.5537, allocations: 7.938 kB / 401.2 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.5541, allocations: 345.6 kB / 401.5 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5541, allocations: 0 / 401.5 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.572e-05/0.5542, allocations: 8 kB / 401.5 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.5542, allocations: 3.938 kB / 401.5 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.5543, allocations: 0 / 401.5 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.5543, allocations: 4 kB / 401.5 MB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5543, allocations: 0 / 401.5 MB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.5547, allocations: 182.2 kB / 401.7 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/0.555, allocations: 186.9 kB / 401.9 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.781e-05/0.5551, allocations: 7.438 kB / 401.9 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.5553, allocations: 7.984 kB / 401.9 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.5553, allocations: 4 kB / 401.9 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.5554, allocations: 8 kB / 401.9 MB, free: 7.785 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001158/0.5565, allocations: 0.6733 MB / 402.6 MB, free: 7.297 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5565, allocations: 0 / 402.6 MB, free: 7.297 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005428/0.5571, allocations: 95.48 kB / 402.7 MB, free: 7.207 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00168/0.5588, allocations: 1.068 MB / 403.8 MB, free: 6.168 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003369/0.5591, allocations: 192 kB / 404 MB, free: 5.984 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5592, allocations: 4 kB / 404 MB, free: 5.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/0.5593, allocations: 38.09 kB / 404 MB, free: 5.949 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.5598, allocations: 42 kB / 404 MB, free: 5.922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.5618, allocations: 0.8716 MB / 404.9 MB, free: 5.082 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/0.5624, allocations: 0.8326 MB / 405.7 MB, free: 4.238 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.5627, allocations: 143.8 kB / 405.9 MB, free: 4.191 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5627, allocations: 4 kB / 405.9 MB, free: 4.188 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.727/3.289, allocations: 7.776 MB / 413.7 MB, free: 12.44 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat