Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.046/2.046, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.072e-05/3.081e-05, allocations: 4 kB / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 48.7 MB / 316.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4114/0.5133, allocations: 75.33 MB / 391.7 MB, free: 1.055 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.5136, allocations: 83.77 kB / 391.7 MB, free: 1.012 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01786/0.5314, allocations: 4.287 MB / 396 MB, free: 13.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5315, allocations: 0 / 396 MB, free: 13.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.5315, allocations: 4 kB / 396 MB, free: 13.38 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.0005524/0.5321, allocations: 430.7 kB / 396.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.5321, allocations: 8.031 kB / 396.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.5322, allocations: 15.81 kB / 396.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.5326, allocations: 208.5 kB / 396.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.5326, allocations: 4 kB / 396.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.5326, allocations: 0 / 396.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.75e-05/0.5327, allocations: 20.67 kB / 396.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.5328, allocations: 41.06 kB / 396.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.5329, allocations: 3.938 kB / 396.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.5329, allocations: 8 kB / 396.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5329, allocations: 0 / 396.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.5334, allocations: 282.9 kB / 397 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.5336, allocations: 37.02 kB / 397.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.5337, allocations: 20.19 kB / 397.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.5337, allocations: 0 / 397.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.5338, allocations: 58.97 kB / 397.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.754e-06/0.5338, allocations: 0 / 397.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004355/0.5343, allocations: 119.4 kB / 397.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.5343, allocations: 55.34 kB / 397.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.5347, allocations: 215.7 kB / 397.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.5347, allocations: 25.7 kB / 397.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.5348, allocations: 111.5 kB / 397.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.5348, allocations: 15.8 kB / 397.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.5349, allocations: 4 kB / 397.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.535, allocations: 329 kB / 398 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.888e-05/0.5351, allocations: 25.11 kB / 398 MB, free: 11.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.549e-05/0.5352, allocations: 18.94 kB / 398 MB, free: 11.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.566e-05/0.5352, allocations: 22.73 kB / 398.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5353, allocations: 0 / 398.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002565/0.5355, allocations: 103.2 kB / 398.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.5356, allocations: 33.7 kB / 398.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.5356, allocations: 0 / 398.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.5356, allocations: 4 kB / 398.2 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/0.5357, allocations: 8 kB / 398.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.5357, allocations: 0 / 398.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.996e-05/0.5358, allocations: 7.984 kB / 398.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.5358, allocations: 4.094 kB / 398.2 MB, free: 11.13 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 9.345e-05/0.5359, allocations: 112.9 kB / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001704/0.5361, allocations: 78.28 kB / 398.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.5362, allocations: 11.81 kB / 398.4 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.5364, allocations: 96.94 kB / 398.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5365, allocations: 0 / 398.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5365, allocations: 0 / 398.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.5365, allocations: 4.094 kB / 398.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.537, allocations: 354.2 kB / 398.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.537, allocations: 4 kB / 398.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.5371, allocations: 4 kB / 398.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.5371, allocations: 0 / 398.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.5371, allocations: 7.984 kB / 398.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5371, allocations: 7.984 kB / 398.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.5371, allocations: 3.953 kB / 398.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.5374, allocations: 172.3 kB / 399.1 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/0.5375, allocations: 93 kB / 399.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.5375, allocations: 4 kB / 399.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.682e-05/0.5376, allocations: 0 / 399.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.5377, allocations: 11.94 kB / 399.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.5377, allocations: 7.25 kB / 399.2 MB, free: 10.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002244/0.538, allocations: 181.5 kB / 399.4 MB, free: 10 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.538, allocations: 0 / 399.4 MB, free: 10 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003824/0.5384, allocations: 39.38 kB / 399.4 MB, free: 9.969 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.001242/0.5396, allocations: 0.9146 MB / 400.3 MB, free: 9.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.5398, allocations: 108.3 kB / 400.4 MB, free: 8.988 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5399, allocations: 0 / 400.4 MB, free: 8.988 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.628e-05/0.5399, allocations: 15.56 kB / 400.4 MB, free: 8.977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.5403, allocations: 19.64 kB / 400.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007588/0.541, allocations: 258.7 kB / 400.7 MB, free: 8.688 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.5414, allocations: 0.7113 MB / 401.4 MB, free: 7.953 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.96e-05/0.5415, allocations: 20.11 kB / 401.4 MB, free: 7.934 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.094e-05/0.5416, allocations: 34.48 kB / 401.5 MB, free: 7.914 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5416, allocations: 0 / 401.5 MB, free: 7.914 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04272/0.5843, allocations: 2.71 MB / 404.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/0.5847, allocations: 158.2 kB / 404.3 MB, free: 5.023 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/2.739, allocations: 0 / 404.3 MB, free: 5.023 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat