Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.474/2.474, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.854e-05, allocations: 4 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1315, allocations: 61.9 MB / 410.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5313/0.6628, allocations: 90.98 MB / 0.4896 GB, free: 12.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.6632, allocations: 72.62 kB / 0.4897 GB, free: 12.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02501/0.6882, allocations: 4.936 MB / 0.4945 GB, free: 7.957 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6883, allocations: 0 / 0.4945 GB, free: 7.957 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.6883, allocations: 0 / 0.4945 GB, free: 7.957 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001162/0.6895, allocations: 0.5402 MB / 0.495 GB, free: 7.359 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.6895, allocations: 8.031 kB / 0.495 GB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.47e-05/0.6896, allocations: 38.78 kB / 0.4951 GB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.676e-05/0.6897, allocations: 15.81 kB / 0.4951 GB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.6902, allocations: 259.5 kB / 0.4953 GB, free: 6.992 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.6902, allocations: 7.953 kB / 0.4953 GB, free: 6.984 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.6903, allocations: 11.98 kB / 0.4954 GB, free: 6.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.6906, allocations: 120.1 kB / 0.4955 GB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.6907, allocations: 0 / 0.4955 GB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.6907, allocations: 0 / 0.4955 GB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.6907, allocations: 4 kB / 0.4955 GB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.6909, allocations: 59.86 kB / 0.4955 GB, free: 6.777 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.6922, allocations: 0.5946 MB / 0.4961 GB, free: 6.125 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.6927, allocations: 99.81 kB / 0.4962 GB, free: 6.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.6928, allocations: 44.84 kB / 0.4963 GB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.6929, allocations: 0 / 0.4963 GB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.6932, allocations: 107.5 kB / 0.4964 GB, free: 5.855 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.264e-06/0.6932, allocations: 0 / 0.4964 GB, free: 5.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004696/0.6937, allocations: 137.4 kB / 0.4965 GB, free: 5.715 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.6938, allocations: 55.41 kB / 0.4965 GB, free: 5.648 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.6941, allocations: 206 kB / 0.4967 GB, free: 5.441 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.6941, allocations: 33.7 kB / 0.4968 GB, free: 5.402 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.6943, allocations: 124.4 kB / 0.4969 GB, free: 5.273 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.163e-05/0.6943, allocations: 31.55 kB / 0.4969 GB, free: 5.242 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.6944, allocations: 12 kB / 0.4969 GB, free: 5.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.6945, allocations: 330.8 kB / 0.4972 GB, free: 4.898 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.6947, allocations: 36 kB / 0.4973 GB, free: 4.863 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.6949, allocations: 68.28 kB / 0.4973 GB, free: 4.781 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.6951, allocations: 73.62 kB / 0.4974 GB, free: 4.703 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.6951, allocations: 0 / 0.4974 GB, free: 4.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005061/0.6956, allocations: 199 kB / 0.4976 GB, free: 4.496 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.6957, allocations: 36.2 kB / 0.4976 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.6957, allocations: 0 / 0.4976 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.6957, allocations: 4 kB / 0.4976 GB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.6961, allocations: 52.03 kB / 0.4977 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.6961, allocations: 3.953 kB / 0.4977 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.6965, allocations: 27.97 kB / 0.4977 GB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.6965, allocations: 8 kB / 0.4977 GB, free: 4.363 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001361/0.6967, allocations: 120.9 kB / 0.4978 GB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.6967, allocations: 23.72 kB / 0.4979 GB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004882/0.6972, allocations: 151 kB / 0.498 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.6973, allocations: 0 / 0.498 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.6973, allocations: 7.984 kB / 0.498 GB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.6973, allocations: 3.953 kB / 0.498 GB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.6976, allocations: 237.5 kB / 0.4982 GB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6976, allocations: 0 / 0.4982 GB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.698, allocations: 31.97 kB / 0.4983 GB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.698, allocations: 4 kB / 0.4983 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.698, allocations: 0 / 0.4983 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.698, allocations: 0 / 0.4983 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.698, allocations: 0 / 0.4983 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.6987, allocations: 232.8 kB / 0.4985 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.539e-05/0.6988, allocations: 108.8 kB / 0.4986 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.6989, allocations: 0 / 0.4986 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.6992, allocations: 32.03 kB / 0.4986 GB, free: 3.328 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/0.6993, allocations: 19.97 kB / 0.4987 GB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.6994, allocations: 7.984 kB / 0.4987 GB, free: 3.301 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002459/0.6996, allocations: 164.6 kB / 0.4988 GB, free: 3.141 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6996, allocations: 0 / 0.4988 GB, free: 3.141 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000404/0.7, allocations: 43.94 kB / 0.4989 GB, free: 3.098 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002047/0.7021, allocations: 1.08 MB / 0.4999 GB, free: 2.109 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004642/0.7026, allocations: 151.3 kB / 0.5001 GB, free: 1.949 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7026, allocations: 0 / 0.5001 GB, free: 1.949 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.7028, allocations: 52.19 kB / 0.5001 GB, free: 1.898 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.7033, allocations: 39.95 kB / 0.5002 GB, free: 1.859 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.7044, allocations: 298.3 kB / 0.5004 GB, free: 1.531 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.7047, allocations: 0.7322 MB / 0.5011 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.7049, allocations: 21.33 kB / 0.5012 GB, free: 0.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.7051, allocations: 59.41 kB / 0.5012 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.7051, allocations: 4 kB / 0.5012 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.7361, allocations: 4.329 MB / 0.5055 GB, free: 12.44 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003383/0.7365, allocations: 193.2 kB / 0.5056 GB, free: 12.22 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/3.33, allocations: 0 / 0.5056 GB, free: 12.22 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat