Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.518/2.518, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.667e-05/4.675e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1367, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5588/0.6956, allocations: 89.33 MB / 499.7 MB, free: 14.76 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.6959, allocations: 71.97 kB / 499.8 MB, free: 14.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02624/0.7222, allocations: 5.865 MB / 0.4938 GB, free: 8.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.7222, allocations: 0 / 0.4938 GB, free: 8.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.7222, allocations: 0 / 0.4938 GB, free: 8.832 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006/0.7228, allocations: 412.9 kB / 0.4942 GB, free: 8.387 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.7229, allocations: 12.02 kB / 0.4942 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/0.723, allocations: 34.56 kB / 0.4942 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.723, allocations: 11.81 kB / 0.4942 GB, free: 8.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.7234, allocations: 222.2 kB / 0.4944 GB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.7235, allocations: 11.95 kB / 0.4945 GB, free: 8.055 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.7235, allocations: 4 kB / 0.4945 GB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.7237, allocations: 57.67 kB / 0.4945 GB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.7237, allocations: 0 / 0.4945 GB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.7238, allocations: 0 / 0.4945 GB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.7238, allocations: 7.938 kB / 0.4945 GB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.325e-05/0.7239, allocations: 27.98 kB / 0.4945 GB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.7244, allocations: 316.7 kB / 0.4948 GB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.7248, allocations: 58.56 kB / 0.4949 GB, free: 7.527 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.402e-05/0.7248, allocations: 16.98 kB / 0.4949 GB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.7249, allocations: 0 / 0.4949 GB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.725, allocations: 67.39 kB / 0.495 GB, free: 7.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.993e-06/0.7251, allocations: 0 / 0.495 GB, free: 7.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007697/0.7258, allocations: 217 kB / 0.4952 GB, free: 7.211 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.7259, allocations: 55.41 kB / 0.4952 GB, free: 7.145 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.7262, allocations: 197.3 kB / 0.4954 GB, free: 6.941 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.7263, allocations: 25.7 kB / 0.4955 GB, free: 6.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.7264, allocations: 104.1 kB / 0.4956 GB, free: 6.805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.7264, allocations: 35.55 kB / 0.4956 GB, free: 6.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.7264, allocations: 4 kB / 0.4956 GB, free: 6.766 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.7266, allocations: 322.8 kB / 0.4959 GB, free: 6.441 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.7267, allocations: 39.88 kB / 0.4959 GB, free: 6.402 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.7268, allocations: 49.7 kB / 0.496 GB, free: 6.348 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.274e-05/0.7269, allocations: 24 kB / 0.496 GB, free: 6.324 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7269, allocations: 0 / 0.496 GB, free: 6.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002949/0.7272, allocations: 121.5 kB / 0.4961 GB, free: 6.199 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.7273, allocations: 4 kB / 0.4961 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.7273, allocations: 0 / 0.4961 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.7273, allocations: 4 kB / 0.4961 GB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.7275, allocations: 27.95 kB / 0.4962 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7275, allocations: 0 / 0.4962 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.877e-05/0.7276, allocations: 8 kB / 0.4962 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.7276, allocations: 7.953 kB / 0.4962 GB, free: 6.148 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 (13): * Single equations (assignments): 13 * 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 9.892e-05/0.7277, allocations: 116.9 kB / 0.4963 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.7278, allocations: 11.81 kB / 0.4963 GB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/0.7282, allocations: 143.1 kB / 0.4964 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.7282, allocations: 4 kB / 0.4964 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7282, allocations: 4 kB / 0.4964 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.7283, allocations: 3.984 kB / 0.4964 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007951/0.7291, allocations: 460 kB / 0.4969 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.7291, allocations: 0 / 0.4969 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.7292, allocations: 24.02 kB / 0.4969 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.7292, allocations: 3.938 kB / 0.4969 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.7292, allocations: 4 kB / 0.4969 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.7293, allocations: 12.02 kB / 0.4969 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.7293, allocations: 3.984 kB / 0.4969 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.7297, allocations: 252.5 kB / 0.4972 GB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.033e-05/0.7298, allocations: 100.9 kB / 0.4973 GB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.7298, allocations: 11.98 kB / 0.4973 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.73, allocations: 8 kB / 0.4973 GB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.73, allocations: 7.984 kB / 0.4973 GB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.7301, allocations: 8 kB / 0.4973 GB, free: 4.863 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002174/0.7303, allocations: 158 kB / 0.4974 GB, free: 4.711 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7303, allocations: 0 / 0.4974 GB, free: 4.711 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004093/0.7307, allocations: 35.94 kB / 0.4975 GB, free: 4.676 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002101/0.7328, allocations: 1.339 MB / 0.4988 GB, free: 3.453 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.7331, allocations: 87.8 kB / 0.4989 GB, free: 3.367 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7331, allocations: 0 / 0.4989 GB, free: 3.367 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.7333, allocations: 44 kB / 0.4989 GB, free: 3.324 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.7337, allocations: 27.97 kB / 0.4989 GB, free: 3.297 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008406/0.7345, allocations: 261.9 kB / 0.4992 GB, free: 3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.7349, allocations: 0.7201 MB / 0.4999 GB, free: 2.254 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.735, allocations: 32.53 kB / 0.4999 GB, free: 2.223 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.7352, allocations: 43.42 kB / 0.5 GB, free: 2.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7352, allocations: 0 / 0.5 GB, free: 2.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.7612, allocations: 3.423 MB / 0.5033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003172/0.7616, allocations: 193.3 kB / 0.5035 GB, free: 14.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/3.428, allocations: 0 / 0.5035 GB, free: 14.6 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat