Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.606/2.606, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.644e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1339, allocations: 61.9 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5618/0.6959, allocations: 89.28 MB / 499.7 MB, free: 14.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.6962, allocations: 79.95 kB / 499.7 MB, free: 14.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02751/0.7237, allocations: 5.858 MB / 0.4937 GB, free: 8.746 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.7238, allocations: 0 / 0.4937 GB, free: 8.746 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.7238, allocations: 0 / 0.4937 GB, free: 8.746 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.0007861/0.7246, allocations: 422.1 kB / 0.4941 GB, free: 8.289 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.7247, allocations: 8.031 kB / 0.4942 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.593e-05/0.7248, allocations: 34.55 kB / 0.4942 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.7249, allocations: 19.81 kB / 0.4942 GB, free: 8.219 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.7254, allocations: 219.8 kB / 0.4944 GB, free: 7.961 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.7255, allocations: 11.95 kB / 0.4944 GB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.7255, allocations: 0 / 0.4944 GB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.7257, allocations: 53.62 kB / 0.4945 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.7258, allocations: 0 / 0.4945 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.7258, allocations: 7.984 kB / 0.4945 GB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.7258, allocations: 4 kB / 0.4945 GB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.7259, allocations: 16 kB / 0.4945 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007141/0.7267, allocations: 316.8 kB / 0.4948 GB, free: 7.504 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.7269, allocations: 62.61 kB / 0.4949 GB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/0.727, allocations: 20.97 kB / 0.4949 GB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.7271, allocations: 3.938 kB / 0.4949 GB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.7273, allocations: 67.41 kB / 0.495 GB, free: 7.328 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.306e-06/0.7273, allocations: 0 / 0.495 GB, free: 7.328 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008218/0.7282, allocations: 165 kB / 0.4951 GB, free: 7.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.7282, allocations: 55.41 kB / 0.4952 GB, free: 7.094 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005741/0.7288, allocations: 247 kB / 0.4954 GB, free: 6.844 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.7289, allocations: 29.7 kB / 0.4954 GB, free: 6.809 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.729, allocations: 116.1 kB / 0.4955 GB, free: 6.691 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.7291, allocations: 19.72 kB / 0.4956 GB, free: 6.672 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.7291, allocations: 4 kB / 0.4956 GB, free: 6.668 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.7293, allocations: 330.8 kB / 0.4959 GB, free: 6.336 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.835e-05/0.7294, allocations: 23.98 kB / 0.4959 GB, free: 6.312 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.7295, allocations: 29.72 kB / 0.4959 GB, free: 6.277 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.7297, allocations: 23.98 kB / 0.496 GB, free: 6.254 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7297, allocations: 0 / 0.496 GB, free: 6.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003603/0.73, allocations: 105.4 kB / 0.4961 GB, free: 6.145 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.7301, allocations: 8 kB / 0.4961 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.7301, allocations: 4.031 kB / 0.4961 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.7301, allocations: 0 / 0.4961 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.7304, allocations: 15.98 kB / 0.4961 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.7304, allocations: 4 kB / 0.4961 GB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.7305, allocations: 3.938 kB / 0.4961 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.7306, allocations: 4 kB / 0.4961 GB, free: 6.105 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.0001403/0.7307, allocations: 119.5 kB / 0.4962 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.7308, allocations: 15.81 kB / 0.4962 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.7312, allocations: 123.2 kB / 0.4963 GB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.7313, allocations: 3.938 kB / 0.4963 GB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.7313, allocations: 7.984 kB / 0.4963 GB, free: 5.828 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.7313, allocations: 0 / 0.4963 GB, free: 5.828 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009436/0.7323, allocations: 427.3 kB / 0.4968 GB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.7323, allocations: 4 kB / 0.4968 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.7324, allocations: 19.92 kB / 0.4968 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.7324, allocations: 0 / 0.4968 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.7325, allocations: 8.031 kB / 0.4968 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.7325, allocations: 3.938 kB / 0.4968 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7325, allocations: 192 / 0.4968 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.733, allocations: 226 kB / 0.497 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.7331, allocations: 100.9 kB / 0.4971 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/0.7332, allocations: 12 kB / 0.4971 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.7334, allocations: 4 kB / 0.4971 GB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.7335, allocations: 11.94 kB / 0.4971 GB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.7335, allocations: 4 kB / 0.4971 GB, free: 4.922 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004375/0.734, allocations: 209.5 kB / 0.4973 GB, free: 4.719 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.734, allocations: 0 / 0.4973 GB, free: 4.719 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004526/0.7386, allocations: 36 kB / 0.4974 GB, free: 4.684 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.003251/0.7418, allocations: 1.164 MB / 0.4985 GB, free: 3.617 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.7422, allocations: 59.92 kB / 0.4986 GB, free: 3.559 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7422, allocations: 0 / 0.4986 GB, free: 3.559 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.7424, allocations: 36 kB / 0.4986 GB, free: 3.523 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005919/0.743, allocations: 35.64 kB / 0.4986 GB, free: 3.488 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.7443, allocations: 300.5 kB / 0.4989 GB, free: 3.156 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.7448, allocations: 0.7239 MB / 0.4996 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.745, allocations: 28.39 kB / 0.4996 GB, free: 2.379 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.7451, allocations: 43.42 kB / 0.4997 GB, free: 2.336 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7452, allocations: 0 / 0.4997 GB, free: 2.336 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06499/0.8102, allocations: 3.508 MB / 0.5031 GB, free: 14.91 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/0.8105, allocations: 185.4 kB / 0.5033 GB, free: 14.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/3.36, allocations: 0 / 0.5033 GB, free: 14.7 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat