Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.413/2.413, allocations: 270 MB / 283.6 MB, free: 3.141 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.948e-05/3.954e-05, allocations: 4 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1323, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5121/0.6444, allocations: 89.24 MB / 499.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.6447, allocations: 67.97 kB / 499.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02493/0.6697, allocations: 5.454 MB / 0.4933 GB, free: 9.258 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6697, allocations: 0 / 0.4933 GB, free: 9.258 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.6697, allocations: 4 kB / 0.4933 GB, free: 9.254 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005788/0.6703, allocations: 394.2 kB / 0.4937 GB, free: 8.824 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.6704, allocations: 12.02 kB / 0.4937 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.149e-05/0.6705, allocations: 34.56 kB / 0.4937 GB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.6705, allocations: 11.91 kB / 0.4937 GB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.6709, allocations: 226.2 kB / 0.4939 GB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.671, allocations: 3.953 kB / 0.4939 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.671, allocations: 4 kB / 0.4939 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.6712, allocations: 53.67 kB / 0.494 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.6712, allocations: 0 / 0.494 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.6712, allocations: 3.984 kB / 0.494 GB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6712, allocations: 0 / 0.494 GB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.543e-05/0.6713, allocations: 19.94 kB / 0.494 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.6718, allocations: 304.8 kB / 0.4943 GB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.672, allocations: 58.62 kB / 0.4944 GB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.241e-05/0.6721, allocations: 16.98 kB / 0.4944 GB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.6721, allocations: 0 / 0.4944 GB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.6723, allocations: 67.39 kB / 0.4944 GB, free: 7.895 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.475e-06/0.6723, allocations: 4 kB / 0.4945 GB, free: 7.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000611/0.6729, allocations: 161.2 kB / 0.4946 GB, free: 7.727 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.673, allocations: 51.41 kB / 0.4947 GB, free: 7.664 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.6733, allocations: 182.2 kB / 0.4948 GB, free: 7.477 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.6733, allocations: 25.7 kB / 0.4949 GB, free: 7.445 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.6734, allocations: 112 kB / 0.495 GB, free: 7.332 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.6735, allocations: 19.75 kB / 0.495 GB, free: 7.312 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/0.6735, allocations: 0 / 0.495 GB, free: 7.312 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6736, allocations: 326.8 kB / 0.4953 GB, free: 6.984 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.848e-05/0.6737, allocations: 27.98 kB / 0.4953 GB, free: 6.957 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.902e-05/0.6738, allocations: 33.66 kB / 0.4953 GB, free: 6.918 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.628e-05/0.6739, allocations: 28.05 kB / 0.4954 GB, free: 6.891 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.6739, allocations: 0 / 0.4954 GB, free: 6.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000239/0.6741, allocations: 97.5 kB / 0.4955 GB, free: 6.789 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6742, allocations: 4 kB / 0.4955 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6742, allocations: 0 / 0.4955 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.6742, allocations: 32 / 0.4955 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.6744, allocations: 27.92 kB / 0.4955 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.6744, allocations: 0 / 0.4955 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.483e-05/0.6745, allocations: 4 kB / 0.4955 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.6745, allocations: 0 / 0.4955 GB, free: 6.754 MB / 410.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 prepare postOptimizeDAE: time 9.705e-05/0.6746, allocations: 112.9 kB / 0.4956 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.6747, allocations: 15.81 kB / 0.4956 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/0.675, allocations: 111.1 kB / 0.4957 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.675, allocations: 4 kB / 0.4957 GB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6751, allocations: 4.281 kB / 0.4957 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.6751, allocations: 3.984 kB / 0.4957 GB, free: 6.496 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.6757, allocations: 411.3 kB / 0.4961 GB, free: 6.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6757, allocations: 3.938 kB / 0.4961 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.86e-05/0.6758, allocations: 12 kB / 0.4962 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.6758, allocations: 0 / 0.4962 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.6759, allocations: 0 / 0.4962 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.6759, allocations: 7.938 kB / 0.4962 GB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6759, allocations: 4.031 kB / 0.4962 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.6763, allocations: 225.8 kB / 0.4964 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/0.6764, allocations: 89.02 kB / 0.4965 GB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.6764, allocations: 4 kB / 0.4965 GB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.6765, allocations: 3.984 kB / 0.4965 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.6766, allocations: 11.95 kB / 0.4965 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.6766, allocations: 8 kB / 0.4965 GB, free: 5.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002088/0.6768, allocations: 151.9 kB / 0.4966 GB, free: 5.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6769, allocations: 0 / 0.4966 GB, free: 5.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003851/0.6772, allocations: 35.92 kB / 0.4967 GB, free: 5.445 MB / 410.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001881/0.6791, allocations: 1.174 MB / 0.4978 GB, free: 4.375 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.6794, allocations: 67.84 kB / 0.4979 GB, free: 4.309 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6794, allocations: 0 / 0.4979 GB, free: 4.309 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.6795, allocations: 28 kB / 0.4979 GB, free: 4.281 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.6799, allocations: 32.06 kB / 0.4979 GB, free: 4.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007967/0.6807, allocations: 236.4 kB / 0.4982 GB, free: 3.984 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.6811, allocations: 0.7121 MB / 0.4989 GB, free: 3.246 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.324e-05/0.6812, allocations: 24.7 kB / 0.4989 GB, free: 3.223 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.6813, allocations: 39.42 kB / 0.4989 GB, free: 3.184 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6813, allocations: 0 / 0.4989 GB, free: 3.184 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.7097, allocations: 3.04 MB / 0.5019 GB, free: 228 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003417/0.7101, allocations: 204.3 kB / 0.5021 GB, free: 15.99 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.399/3.11, allocations: 0 / 0.5021 GB, free: 15.99 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat