Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.529/2.529, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.985e-05, allocations: 11.94 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1339, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5339/0.6679, allocations: 90.19 MB / 0.4888 GB, free: 13.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/0.6683, allocations: 75.95 kB / 0.4889 GB, free: 13.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02595/0.6942, allocations: 4.326 MB / 0.4931 GB, free: 9.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6943, allocations: 0 / 0.4931 GB, free: 9.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.6943, allocations: 0 / 0.4931 GB, free: 9.5 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008956/0.6952, allocations: 455.8 kB / 0.4936 GB, free: 9.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.6953, allocations: 8.031 kB / 0.4936 GB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.113e-05/0.6954, allocations: 42.55 kB / 0.4936 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.061e-05/0.6955, allocations: 19.81 kB / 0.4936 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/0.6961, allocations: 234.2 kB / 0.4938 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.6962, allocations: 3.953 kB / 0.4939 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.6962, allocations: 11.98 kB / 0.4939 GB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.6966, allocations: 92.95 kB / 0.494 GB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6966, allocations: 0 / 0.494 GB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.6966, allocations: 4 kB / 0.494 GB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.6967, allocations: 4 kB / 0.494 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.6969, allocations: 43.92 kB / 0.494 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.6979, allocations: 0.5126 MB / 0.4945 GB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.6984, allocations: 86.61 kB / 0.4946 GB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.6986, allocations: 40.83 kB / 0.4946 GB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.6986, allocations: 4 kB / 0.4946 GB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.6989, allocations: 75.33 kB / 0.4947 GB, free: 7.691 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 5.18e-06/0.6989, allocations: 7.938 kB / 0.4947 GB, free: 7.684 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004409/0.6994, allocations: 105.4 kB / 0.4948 GB, free: 7.574 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.6994, allocations: 55.36 kB / 0.4949 GB, free: 7.508 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.6998, allocations: 172.7 kB / 0.495 GB, free: 7.324 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.6999, allocations: 25.7 kB / 0.495 GB, free: 7.293 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.7, allocations: 120 kB / 0.4952 GB, free: 7.172 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/0.7001, allocations: 27.56 kB / 0.4952 GB, free: 7.145 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.7001, allocations: 0 / 0.4952 GB, free: 7.145 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.7003, allocations: 326.8 kB / 0.4955 GB, free: 6.816 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.7004, allocations: 31.92 kB / 0.4955 GB, free: 6.785 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.7006, allocations: 52.3 kB / 0.4956 GB, free: 6.719 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.7007, allocations: 27.98 kB / 0.4956 GB, free: 6.691 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.7007, allocations: 0 / 0.4956 GB, free: 6.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004412/0.7012, allocations: 129.4 kB / 0.4957 GB, free: 6.559 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.7012, allocations: 4 kB / 0.4957 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.7012, allocations: 0 / 0.4957 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.7013, allocations: 4 kB / 0.4957 GB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.7016, allocations: 23.98 kB / 0.4958 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.7016, allocations: 3.938 kB / 0.4958 GB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.7018, allocations: 24.06 kB / 0.4958 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.7018, allocations: 8.125 kB / 0.4958 GB, free: 6.492 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001251/0.702, allocations: 115.7 kB / 0.4959 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.702, allocations: 11.81 kB / 0.4959 GB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004412/0.7025, allocations: 119.1 kB / 0.496 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7025, allocations: 0 / 0.496 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7025, allocations: 4 kB / 0.496 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.7026, allocations: 0 / 0.496 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.7029, allocations: 217.7 kB / 0.4962 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.7029, allocations: 0 / 0.4962 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.7031, allocations: 16 kB / 0.4963 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.7032, allocations: 3.984 kB / 0.4963 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.7032, allocations: 4 kB / 0.4963 GB, free: 5.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.7032, allocations: 3.938 kB / 0.4963 GB, free: 5.945 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7032, allocations: 0 / 0.4963 GB, free: 5.945 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005862/0.7038, allocations: 172.8 kB / 0.4964 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.704, allocations: 104.8 kB / 0.4965 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.704, allocations: 4.062 kB / 0.4965 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.7042, allocations: 11.98 kB / 0.4965 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.7043, allocations: 4 kB / 0.4966 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.7043, allocations: 7.984 kB / 0.4966 GB, free: 5.609 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002485/0.7046, allocations: 141.2 kB / 0.4967 GB, free: 5.473 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.7046, allocations: 0 / 0.4967 GB, free: 5.473 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005888/0.7052, allocations: 36.11 kB / 0.4967 GB, free: 5.438 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002561/0.7078, allocations: 1.021 MB / 0.4977 GB, free: 4.508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003629/0.7082, allocations: 63.94 kB / 0.4978 GB, free: 4.445 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.7083, allocations: 0 / 0.4978 GB, free: 4.445 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.7084, allocations: 39.92 kB / 0.4978 GB, free: 4.406 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.709, allocations: 28.17 kB / 0.4979 GB, free: 4.375 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.7102, allocations: 245.6 kB / 0.4981 GB, free: 4.102 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.7106, allocations: 0.7245 MB / 0.4988 GB, free: 3.352 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.7108, allocations: 21.2 kB / 0.4988 GB, free: 3.328 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.711, allocations: 39.42 kB / 0.4989 GB, free: 3.289 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.711, allocations: 0 / 0.4989 GB, free: 3.289 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04801/0.759, allocations: 3.274 MB / 0.502 GB, free: 92 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003653/0.7594, allocations: 196.2 kB / 0.5022 GB, free: 15.87 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.21, allocations: 4 kB / 0.5022 GB, free: 15.86 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat