Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.599/2.599, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.916e-05, allocations: 9.625 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1432, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6606/0.8038, allocations: 89.27 MB / 499.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.8042, allocations: 71.97 kB / 499.7 MB, free: 14.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0253/0.8295, allocations: 5.574 MB / 0.4934 GB, free: 9.156 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.8296, allocations: 0 / 0.4934 GB, free: 9.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.8296, allocations: 4 kB / 0.4934 GB, free: 9.152 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.0006023/0.8302, allocations: 398.2 kB / 0.4938 GB, free: 8.719 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.8303, allocations: 8.031 kB / 0.4938 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.427e-05/0.8303, allocations: 34.56 kB / 0.4939 GB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.8304, allocations: 7.906 kB / 0.4939 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.8308, allocations: 222.2 kB / 0.4941 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.8308, allocations: 11.95 kB / 0.4941 GB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.8309, allocations: 4 kB / 0.4941 GB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.8311, allocations: 49.67 kB / 0.4941 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.8311, allocations: 0 / 0.4941 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.8311, allocations: 8 kB / 0.4942 GB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.8311, allocations: 7.984 kB / 0.4942 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.8312, allocations: 19.94 kB / 0.4942 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.8318, allocations: 296.8 kB / 0.4945 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.832, allocations: 58.69 kB / 0.4945 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.672e-05/0.8321, allocations: 16.98 kB / 0.4945 GB, free: 7.871 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.8321, allocations: 0 / 0.4945 GB, free: 7.871 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.8323, allocations: 67.39 kB / 0.4946 GB, free: 7.793 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.285e-06/0.8324, allocations: 0 / 0.4946 GB, free: 7.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006931/0.8331, allocations: 153.2 kB / 0.4947 GB, free: 7.637 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.8331, allocations: 51.41 kB / 0.4948 GB, free: 7.574 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.8335, allocations: 185.7 kB / 0.495 GB, free: 7.383 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.8335, allocations: 33.7 kB / 0.495 GB, free: 7.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.067e-05/0.8336, allocations: 104 kB / 0.4951 GB, free: 7.238 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.326e-05/0.8337, allocations: 23.73 kB / 0.4951 GB, free: 7.215 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/0.8338, allocations: 0 / 0.4951 GB, free: 7.215 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.8339, allocations: 330.8 kB / 0.4954 GB, free: 6.883 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.834, allocations: 27.92 kB / 0.4955 GB, free: 6.855 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.8341, allocations: 33.72 kB / 0.4955 GB, free: 6.816 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.236e-05/0.8342, allocations: 19.98 kB / 0.4955 GB, free: 6.797 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8342, allocations: 0 / 0.4955 GB, free: 6.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002902/0.8345, allocations: 97.5 kB / 0.4956 GB, free: 6.695 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.8346, allocations: 4 kB / 0.4956 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.8346, allocations: 0 / 0.4956 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.8346, allocations: 4 kB / 0.4956 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.8348, allocations: 19.95 kB / 0.4956 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.8348, allocations: 4 kB / 0.4956 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.298e-05/0.8349, allocations: 8 kB / 0.4957 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.835, allocations: 4 kB / 0.4957 GB, free: 6.652 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 0.0001026/0.8351, allocations: 108.9 kB / 0.4958 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.8351, allocations: 15.81 kB / 0.4958 GB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.8355, allocations: 115.3 kB / 0.4959 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.8355, allocations: 0 / 0.4959 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.8355, allocations: 0 / 0.4959 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.8356, allocations: 7.984 kB / 0.4959 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007209/0.8363, allocations: 411.2 kB / 0.4963 GB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.8363, allocations: 4 kB / 0.4963 GB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/0.8364, allocations: 12 kB / 0.4963 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.8364, allocations: 3.938 kB / 0.4963 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.8365, allocations: 4 kB / 0.4963 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.8365, allocations: 0 / 0.4963 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8365, allocations: 192 / 0.4963 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.8368, allocations: 234 kB / 0.4965 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.837, allocations: 89.02 kB / 0.4966 GB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.837, allocations: 4 kB / 0.4966 GB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.8372, allocations: 11.98 kB / 0.4966 GB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.8372, allocations: 7.953 kB / 0.4966 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.8373, allocations: 4 kB / 0.4966 GB, free: 5.527 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002757/0.8375, allocations: 155.9 kB / 0.4968 GB, free: 5.375 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8376, allocations: 0 / 0.4968 GB, free: 5.375 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000407/0.838, allocations: 31.92 kB / 0.4968 GB, free: 5.344 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.002089/0.8401, allocations: 1.174 MB / 0.498 GB, free: 4.273 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.8404, allocations: 59.92 kB / 0.498 GB, free: 4.215 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.8404, allocations: 0 / 0.498 GB, free: 4.215 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.8405, allocations: 24 kB / 0.498 GB, free: 4.191 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.841, allocations: 39.81 kB / 0.4981 GB, free: 4.152 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008601/0.8419, allocations: 236.1 kB / 0.4983 GB, free: 3.887 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.8423, allocations: 0.7082 MB / 0.499 GB, free: 3.152 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.8424, allocations: 24.41 kB / 0.499 GB, free: 3.129 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.8425, allocations: 35.42 kB / 0.4991 GB, free: 3.094 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.8425, allocations: 4 kB / 0.4991 GB, free: 3.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.8666, allocations: 3.054 MB / 0.502 GB, free: 124 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003187/0.867, allocations: 193.4 kB / 0.5022 GB, free: 15.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.83/3.697, allocations: 4 kB / 0.5022 GB, free: 15.89 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat