Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.76/2.76, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.006e-05/4.012e-05, allocations: 11.94 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1344, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5371/0.6716, allocations: 89.53 MB / 499.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.672, allocations: 77.33 kB / 500 MB, free: 14.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03677/0.7088, allocations: 8.343 MB / 0.4964 GB, free: 6.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.7088, allocations: 0 / 0.4964 GB, free: 6.016 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.354e-05/0.7089, allocations: 4 kB / 0.4964 GB, free: 6.012 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009104/0.7098, allocations: 0.5066 MB / 0.4969 GB, free: 5.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.7099, allocations: 12.03 kB / 0.4969 GB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.941e-05/0.7099, allocations: 34.56 kB / 0.4969 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.917e-05/0.71, allocations: 35.62 kB / 0.497 GB, free: 5.371 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007019/0.7108, allocations: 303.8 kB / 0.4973 GB, free: 5.031 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.7108, allocations: 7.938 kB / 0.4973 GB, free: 5.023 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.7109, allocations: 8 kB / 0.4973 GB, free: 5.016 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.7112, allocations: 107.3 kB / 0.4974 GB, free: 4.898 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.7112, allocations: 0 / 0.4974 GB, free: 4.898 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.7112, allocations: 7.984 kB / 0.4974 GB, free: 4.891 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.7112, allocations: 3.938 kB / 0.4974 GB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.7114, allocations: 47.98 kB / 0.4974 GB, free: 4.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000914/0.7123, allocations: 0.489 MB / 0.4979 GB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.7128, allocations: 117.2 kB / 0.498 GB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.713, allocations: 49.84 kB / 0.4981 GB, free: 4.109 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.713, allocations: 3.938 kB / 0.4981 GB, free: 4.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002745/0.7133, allocations: 121 kB / 0.4982 GB, free: 3.969 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.845e-06/0.7133, allocations: 0 / 0.4982 GB, free: 3.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.001438/0.7147, allocations: 451.5 kB / 0.4986 GB, free: 3.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.7148, allocations: 81.11 kB / 0.4987 GB, free: 3.422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008493/0.7157, allocations: 431.5 kB / 0.4991 GB, free: 2.988 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.7157, allocations: 33.69 kB / 0.4992 GB, free: 2.949 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.7159, allocations: 168.5 kB / 0.4993 GB, free: 2.781 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.621e-05/0.716, allocations: 63.09 kB / 0.4994 GB, free: 2.719 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/0.716, allocations: 4 kB / 0.4994 GB, free: 2.715 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.7162, allocations: 354.7 kB / 0.4997 GB, free: 2.359 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.7164, allocations: 57.31 kB / 0.4998 GB, free: 2.305 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.7166, allocations: 83.42 kB / 0.4999 GB, free: 2.211 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.7168, allocations: 59.97 kB / 0.4999 GB, free: 2.152 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.7168, allocations: 0 / 0.4999 GB, free: 2.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000574/0.7174, allocations: 229.1 kB / 0.5001 GB, free: 1.922 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.7174, allocations: 4.062 kB / 0.5001 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.7174, allocations: 11.94 kB / 0.5001 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.7175, allocations: 0 / 0.5001 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.7178, allocations: 43.97 kB / 0.5002 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.7178, allocations: 0 / 0.5002 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.718, allocations: 12 kB / 0.5002 GB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.718, allocations: 7.984 kB / 0.5002 GB, free: 1.844 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001146/0.7181, allocations: 120.9 kB / 0.5003 GB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.938e-05/0.7182, allocations: 43.47 kB / 0.5004 GB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007504/0.719, allocations: 277.7 kB / 0.5006 GB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.719, allocations: 4 kB / 0.5006 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.719, allocations: 0 / 0.5006 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.7191, allocations: 3.984 kB / 0.5006 GB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.7206, allocations: 0.7974 MB / 0.5014 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.7206, allocations: 0 / 0.5014 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.7208, allocations: 39.92 kB / 0.5014 GB, free: 500 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.7208, allocations: 3.938 kB / 0.5015 GB, free: 496 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.7209, allocations: 4 kB / 0.5015 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.7209, allocations: 4 kB / 0.5015 GB, free: 488 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.7209, allocations: 4 kB / 0.5015 GB, free: 484 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007252/0.7216, allocations: 497 kB / 0.5019 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.7218, allocations: 132.7 kB / 0.5021 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.7219, allocations: 8 kB / 0.5021 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.7222, allocations: 11.98 kB / 0.5021 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/0.7223, allocations: 19.92 kB / 0.5021 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.7223, allocations: 11.98 kB / 0.5021 GB, free: 15.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006161/0.7229, allocations: 354.1 kB / 0.5025 GB, free: 15.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.723, allocations: 0 / 0.5025 GB, free: 15.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005808/0.7235, allocations: 68 kB / 0.5025 GB, free: 15.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.002517/0.7261, allocations: 1.781 MB / 0.5043 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005492/0.7267, allocations: 155.7 kB / 0.5044 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.7267, allocations: 0 / 0.5044 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.7269, allocations: 83.98 kB / 0.5045 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007484/0.7277, allocations: 50 kB / 0.5045 GB, free: 13.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.7295, allocations: 0.5865 MB / 0.5051 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.73, allocations: 0.7834 MB / 0.5059 GB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.7302, allocations: 62.03 kB / 0.5059 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.7305, allocations: 99.41 kB / 0.506 GB, free: 11.74 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7305, allocations: 0 / 0.506 GB, free: 11.74 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/0.7703, allocations: 6.34 MB / 0.5122 GB, free: 5.496 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003002/0.7706, allocations: 194.4 kB / 0.5124 GB, free: 5.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.784/3.555, allocations: 0 / 0.5124 GB, free: 5.27 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat