Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.431/2.431, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.697e-05/4.704e-05, allocations: 7.938 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1389, allocations: 61.89 MB / 410.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5305/0.6695, allocations: 89.27 MB / 499.7 MB, free: 14.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.6698, allocations: 73.22 kB / 499.7 MB, free: 14.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02561/0.6955, allocations: 5.682 MB / 0.4936 GB, free: 8.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6955, allocations: 0 / 0.4936 GB, free: 8.918 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.6955, allocations: 4 kB / 0.4936 GB, free: 8.914 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.0006343/0.6962, allocations: 402.2 kB / 0.4939 GB, free: 8.477 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.6962, allocations: 12.03 kB / 0.494 GB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.015e-05/0.6963, allocations: 30.56 kB / 0.494 GB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.6964, allocations: 11.81 kB / 0.494 GB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.6968, allocations: 218.9 kB / 0.4942 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.6968, allocations: 7.953 kB / 0.4942 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.6969, allocations: 7.969 kB / 0.4942 GB, free: 8.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.697, allocations: 53.62 kB / 0.4943 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.6971, allocations: 0 / 0.4943 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.6971, allocations: 0 / 0.4943 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.6971, allocations: 7.938 kB / 0.4943 GB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.497e-05/0.6972, allocations: 23.98 kB / 0.4943 GB, free: 8.055 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.6978, allocations: 304.8 kB / 0.4946 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.6979, allocations: 58.62 kB / 0.4947 GB, free: 7.641 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.434e-05/0.698, allocations: 16.98 kB / 0.4947 GB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.698, allocations: 0 / 0.4947 GB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.6982, allocations: 71.39 kB / 0.4947 GB, free: 7.539 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.993e-06/0.6982, allocations: 4 kB / 0.4947 GB, free: 7.535 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006196/0.6989, allocations: 153.2 kB / 0.4949 GB, free: 7.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.6989, allocations: 51.41 kB / 0.4949 GB, free: 7.316 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.6993, allocations: 206.3 kB / 0.4951 GB, free: 7.102 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.6993, allocations: 29.69 kB / 0.4952 GB, free: 7.066 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.6994, allocations: 108 kB / 0.4953 GB, free: 6.957 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.6995, allocations: 19.8 kB / 0.4953 GB, free: 6.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.6995, allocations: 4 kB / 0.4953 GB, free: 6.934 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6996, allocations: 334.8 kB / 0.4956 GB, free: 6.598 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.699e-05/0.6997, allocations: 20 kB / 0.4956 GB, free: 6.578 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.344e-05/0.6998, allocations: 33.7 kB / 0.4957 GB, free: 6.539 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.01e-05/0.6999, allocations: 16 kB / 0.4957 GB, free: 6.523 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6999, allocations: 0 / 0.4957 GB, free: 6.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002487/0.7002, allocations: 105.4 kB / 0.4958 GB, free: 6.414 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.7002, allocations: 4 kB / 0.4958 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.7002, allocations: 0 / 0.4958 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.7002, allocations: 4.031 kB / 0.4958 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.7004, allocations: 16 kB / 0.4958 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.7004, allocations: 3.984 kB / 0.4958 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.343e-05/0.7005, allocations: 8 kB / 0.4958 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.7005, allocations: 0 / 0.4958 GB, free: 6.379 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.0001062/0.7007, allocations: 119.5 kB / 0.4959 GB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.7007, allocations: 15.81 kB / 0.4959 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.701, allocations: 115.1 kB / 0.496 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.7011, allocations: 4 kB / 0.4961 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7011, allocations: 0 / 0.4961 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7011, allocations: 0 / 0.4961 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006935/0.7018, allocations: 423.2 kB / 0.4965 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.7018, allocations: 0 / 0.4965 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.511e-05/0.7019, allocations: 11.94 kB / 0.4965 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.7019, allocations: 0 / 0.4965 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.7019, allocations: 7.984 kB / 0.4965 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.702, allocations: 0 / 0.4965 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.702, allocations: 4.031 kB / 0.4965 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.7023, allocations: 226 kB / 0.4967 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.681e-05/0.7024, allocations: 96.92 kB / 0.4968 GB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.7025, allocations: 7.984 kB / 0.4968 GB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.7026, allocations: 4 kB / 0.4968 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.7027, allocations: 15.94 kB / 0.4968 GB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.7027, allocations: 4 kB / 0.4968 GB, free: 5.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002521/0.703, allocations: 164.3 kB / 0.497 GB, free: 5.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.703, allocations: 4 kB / 0.497 GB, free: 5.066 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004125/0.7034, allocations: 31.94 kB / 0.497 GB, free: 5.035 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.002012/0.7054, allocations: 1.182 MB / 0.4982 GB, free: 3.953 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.7057, allocations: 59.97 kB / 0.4982 GB, free: 3.895 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.7057, allocations: 0 / 0.4982 GB, free: 3.895 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.64e-05/0.7058, allocations: 35.86 kB / 0.4983 GB, free: 3.859 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.7063, allocations: 36.19 kB / 0.4983 GB, free: 3.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008427/0.7071, allocations: 256.6 kB / 0.4985 GB, free: 3.531 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.7075, allocations: 0.716 MB / 0.4992 GB, free: 2.789 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.142e-05/0.7076, allocations: 12.55 kB / 0.4992 GB, free: 2.777 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.7078, allocations: 43.42 kB / 0.4993 GB, free: 2.734 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7078, allocations: 4 kB / 0.4993 GB, free: 2.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.7357, allocations: 3.196 MB / 0.5024 GB, free: 15.61 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003216/0.7361, allocations: 201.3 kB / 0.5026 GB, free: 15.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.653/3.389, allocations: 0 / 0.5026 GB, free: 15.38 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat