Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.604/2.604, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.781e-05/3.781e-05, allocations: 7.938 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1322, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5648/0.697, allocations: 89.26 MB / 499.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/0.6974, allocations: 77.33 kB / 499.7 MB, free: 14.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05394/0.7514, allocations: 5.631 MB / 0.4935 GB, free: 9.137 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.7514, allocations: 0 / 0.4935 GB, free: 9.137 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.214e-05/0.7514, allocations: 8 kB / 0.4935 GB, free: 9.129 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.0006662/0.7521, allocations: 394.3 kB / 0.4939 GB, free: 8.699 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/0.7522, allocations: 12.03 kB / 0.4939 GB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.849e-05/0.7523, allocations: 42.48 kB / 0.4939 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.7523, allocations: 11.91 kB / 0.4939 GB, free: 8.625 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.7528, allocations: 214.3 kB / 0.4941 GB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.7528, allocations: 7.953 kB / 0.4942 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.7528, allocations: 0 / 0.4942 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.753, allocations: 53.69 kB / 0.4942 GB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.753, allocations: 3.938 kB / 0.4942 GB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.7531, allocations: 7.984 kB / 0.4942 GB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.7531, allocations: 7.984 kB / 0.4942 GB, free: 8.293 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.394e-05/0.7532, allocations: 16 kB / 0.4942 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.7537, allocations: 308.8 kB / 0.4945 GB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.7539, allocations: 46.69 kB / 0.4946 GB, free: 7.871 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.806e-05/0.754, allocations: 24.98 kB / 0.4946 GB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.754, allocations: 0 / 0.4946 GB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.7542, allocations: 71.33 kB / 0.4947 GB, free: 7.762 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.7542, allocations: 3.938 kB / 0.4947 GB, free: 7.758 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006469/0.7549, allocations: 157.1 kB / 0.4948 GB, free: 7.598 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.755, allocations: 51.41 kB / 0.4949 GB, free: 7.535 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.7553, allocations: 193.4 kB / 0.4951 GB, free: 7.336 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.7553, allocations: 25.7 kB / 0.4951 GB, free: 7.305 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/0.7554, allocations: 108.1 kB / 0.4952 GB, free: 7.195 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.7555, allocations: 27.64 kB / 0.4952 GB, free: 7.168 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.7555, allocations: 4 kB / 0.4952 GB, free: 7.164 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.7557, allocations: 326.8 kB / 0.4955 GB, free: 6.836 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.475e-05/0.7557, allocations: 19.94 kB / 0.4955 GB, free: 6.816 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.21e-05/0.7558, allocations: 33.72 kB / 0.4956 GB, free: 6.777 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.254e-05/0.7559, allocations: 23.98 kB / 0.4956 GB, free: 6.754 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7559, allocations: 0 / 0.4956 GB, free: 6.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002678/0.7562, allocations: 105.5 kB / 0.4957 GB, free: 6.645 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.7563, allocations: 4 kB / 0.4957 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.7563, allocations: 3.938 kB / 0.4957 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.7563, allocations: 3.984 kB / 0.4957 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.7565, allocations: 16 kB / 0.4957 GB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.7565, allocations: 0 / 0.4957 GB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.856e-05/0.7566, allocations: 4 kB / 0.4957 GB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.7566, allocations: 0 / 0.4957 GB, free: 6.613 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.0001067/0.7567, allocations: 117 kB / 0.4958 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.7568, allocations: 15.91 kB / 0.4959 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.7571, allocations: 115.3 kB / 0.496 GB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.7572, allocations: 4 kB / 0.496 GB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7572, allocations: 0 / 0.496 GB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.7572, allocations: 0 / 0.496 GB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00069/0.7579, allocations: 423.1 kB / 0.4964 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.7579, allocations: 0 / 0.4964 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.529e-05/0.758, allocations: 16.02 kB / 0.4964 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.758, allocations: 4 kB / 0.4964 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.7581, allocations: 4.281 kB / 0.4964 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.7581, allocations: 0 / 0.4964 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.7581, allocations: 192 / 0.4964 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.7584, allocations: 217.8 kB / 0.4966 GB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.783e-05/0.7585, allocations: 104.9 kB / 0.4967 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.7586, allocations: 8 kB / 0.4967 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.7587, allocations: 4 kB / 0.4967 GB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.7588, allocations: 15.88 kB / 0.4967 GB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.7588, allocations: 4 kB / 0.4967 GB, free: 5.461 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002321/0.7591, allocations: 158 kB / 0.4969 GB, free: 5.309 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7591, allocations: 0 / 0.4969 GB, free: 5.309 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003908/0.7595, allocations: 35.92 kB / 0.4969 GB, free: 5.273 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.002024/0.7615, allocations: 1.17 MB / 0.4981 GB, free: 4.207 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.7618, allocations: 63.86 kB / 0.4981 GB, free: 4.145 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.7618, allocations: 0 / 0.4981 GB, free: 4.145 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.514e-05/0.7619, allocations: 28 kB / 0.4982 GB, free: 4.117 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.7624, allocations: 31.62 kB / 0.4982 GB, free: 4.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008395/0.7632, allocations: 248.3 kB / 0.4984 GB, free: 3.809 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.7636, allocations: 0.7201 MB / 0.4991 GB, free: 3.062 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.7637, allocations: 12.56 kB / 0.4991 GB, free: 3.051 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.7639, allocations: 35.42 kB / 0.4992 GB, free: 3.016 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.7639, allocations: 0 / 0.4992 GB, free: 3.016 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.7916, allocations: 3.123 MB / 0.5022 GB, free: 15.96 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003805/0.792, allocations: 196.1 kB / 0.5024 GB, free: 15.74 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/3.493, allocations: 8 kB / 0.5024 GB, free: 15.73 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat