Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.624/2.624, allocations: 270 MB / 283.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.451e-05/5.46e-05, allocations: 4 kB / 348.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4213, allocations: 61.86 MB / 410.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.6005, allocations: 89.1 MB / 499.5 MB, free: 1.406 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.6008, allocations: 79.95 kB / 499.5 MB, free: 1.328 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02361/0.6245, allocations: 5.354 MB / 0.4931 GB, free: 11.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.6245, allocations: 0 / 0.4931 GB, free: 11.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.777e-05/0.6246, allocations: 4 kB / 0.4931 GB, free: 11.96 MB / 426.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.0006601/0.6253, allocations: 394.2 kB / 0.4934 GB, free: 11.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.6253, allocations: 8.031 kB / 0.4934 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.834e-05/0.6254, allocations: 34.56 kB / 0.4935 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/0.6255, allocations: 11.89 kB / 0.4935 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.6259, allocations: 199.8 kB / 0.4937 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.6259, allocations: 7.938 kB / 0.4937 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.6259, allocations: 3.953 kB / 0.4937 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.6261, allocations: 49.67 kB / 0.4937 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.6261, allocations: 3.938 kB / 0.4937 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.6262, allocations: 3.984 kB / 0.4937 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.6262, allocations: 0 / 0.4937 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.6263, allocations: 15.98 kB / 0.4938 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.6267, allocations: 185.6 kB / 0.4939 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.6269, allocations: 54.62 kB / 0.494 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.05e-05/0.627, allocations: 24.73 kB / 0.494 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.627, allocations: 3.953 kB / 0.494 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.6272, allocations: 63.48 kB / 0.4941 GB, free: 10.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.914e-06/0.6272, allocations: 0 / 0.4941 GB, free: 10.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002721/0.6275, allocations: 77.59 kB / 0.4942 GB, free: 10.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.6275, allocations: 59.39 kB / 0.4942 GB, free: 10.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.6278, allocations: 171.6 kB / 0.4944 GB, free: 10.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.6279, allocations: 29.7 kB / 0.4944 GB, free: 10.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.6279, allocations: 96.14 kB / 0.4945 GB, free: 10.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.628, allocations: 19.73 kB / 0.4945 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-06/0.628, allocations: 0 / 0.4945 GB, free: 10.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.6282, allocations: 322.8 kB / 0.4948 GB, free: 9.949 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/0.6282, allocations: 19.92 kB / 0.4948 GB, free: 9.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.486e-05/0.6283, allocations: 37.7 kB / 0.4949 GB, free: 9.887 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.565e-05/0.6284, allocations: 15.98 kB / 0.4949 GB, free: 9.871 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6284, allocations: 0 / 0.4949 GB, free: 9.871 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000188/0.6286, allocations: 69.59 kB / 0.495 GB, free: 9.797 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.6286, allocations: 11.95 kB / 0.495 GB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6286, allocations: 0 / 0.495 GB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.6287, allocations: 0 / 0.495 GB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.6288, allocations: 19.92 kB / 0.495 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.6288, allocations: 4.031 kB / 0.495 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.6289, allocations: 4 kB / 0.495 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.6289, allocations: 4 kB / 0.495 GB, free: 9.754 MB / 426.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 (7): * Single equations (assignments): 7 * 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 8.108e-05/0.629, allocations: 101 kB / 0.4951 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.6291, allocations: 15.91 kB / 0.4951 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.6293, allocations: 93.62 kB / 0.4952 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6293, allocations: 3.984 kB / 0.4952 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6294, allocations: 3.938 kB / 0.4952 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.6294, allocations: 0 / 0.4952 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.6296, allocations: 193.6 kB / 0.4954 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.6296, allocations: 0 / 0.4954 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.6297, allocations: 4 kB / 0.4954 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.6297, allocations: 0 / 0.4954 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.6297, allocations: 0 / 0.4954 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.6297, allocations: 3.953 kB / 0.4954 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6297, allocations: 7.875 kB / 0.4954 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.63, allocations: 113.2 kB / 0.4955 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-05/0.6301, allocations: 100.9 kB / 0.4956 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.6301, allocations: 0 / 0.4956 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.6302, allocations: 4 kB / 0.4956 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.6302, allocations: 7.953 kB / 0.4956 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.6303, allocations: 7.984 kB / 0.4956 GB, free: 9.004 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001773/0.6305, allocations: 134.3 kB / 0.4958 GB, free: 8.875 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6305, allocations: 0 / 0.4958 GB, free: 8.875 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000316/0.6308, allocations: 27.98 kB / 0.4958 GB, free: 8.848 MB / 426.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: 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 (6): * Single equations (assignments): 4 * 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.00162/0.6324, allocations: 0.9466 MB / 0.4967 GB, free: 8.008 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.6326, allocations: 47.92 kB / 0.4968 GB, free: 7.961 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6326, allocations: 0 / 0.4968 GB, free: 7.961 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.418e-05/0.6327, allocations: 19.98 kB / 0.4968 GB, free: 7.941 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.6331, allocations: 27.92 kB / 0.4968 GB, free: 7.914 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007864/0.634, allocations: 203.5 kB / 0.497 GB, free: 7.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.6343, allocations: 0.716 MB / 0.4977 GB, free: 6.938 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.74e-05/0.6344, allocations: 16.41 kB / 0.4977 GB, free: 6.922 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.6345, allocations: 27.44 kB / 0.4977 GB, free: 6.895 MB / 426.7 MB Notification: Performance of SimCode: time 1.693e-06/0.6345, allocations: 0 / 0.4977 GB, free: 6.895 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.6623, allocations: 2.698 MB / 0.5004 GB, free: 4.27 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003414/0.6627, allocations: 190.5 kB / 0.5006 GB, free: 4.047 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.745/3.408, allocations: 0 / 0.5006 GB, free: 4.047 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat