Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.806/2.806, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.578e-05/6.586e-05, allocations: 11.98 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1364, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6061/0.7426, allocations: 89.3 MB / 499.7 MB, free: 14.69 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.7429, allocations: 63.97 kB / 499.7 MB, free: 14.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02569/0.7686, allocations: 5.822 MB / 0.4937 GB, free: 8.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.7686, allocations: 0 / 0.4937 GB, free: 8.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.616e-05/0.7687, allocations: 8 kB / 0.4937 GB, free: 8.809 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.0007421/0.7694, allocations: 430.1 kB / 0.4941 GB, free: 8.344 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.7695, allocations: 8.031 kB / 0.4941 GB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.8e-05/0.7696, allocations: 30.56 kB / 0.4942 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.7697, allocations: 15.81 kB / 0.4942 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000594/0.7703, allocations: 250.4 kB / 0.4944 GB, free: 7.996 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.7703, allocations: 15.94 kB / 0.4944 GB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.7703, allocations: 0 / 0.4944 GB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.7706, allocations: 101.1 kB / 0.4945 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.7706, allocations: 0 / 0.4945 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.7706, allocations: 0 / 0.4945 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.7707, allocations: 0 / 0.4945 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.7708, allocations: 35.98 kB / 0.4946 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.7711, allocations: 218.5 kB / 0.4948 GB, free: 7.562 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.7714, allocations: 105.2 kB / 0.4949 GB, free: 7.441 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.7715, allocations: 33.72 kB / 0.4949 GB, free: 7.402 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.7716, allocations: 8 kB / 0.4949 GB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.7719, allocations: 109 kB / 0.495 GB, free: 7.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.354e-06/0.7719, allocations: 0 / 0.495 GB, free: 7.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004739/0.7724, allocations: 133.5 kB / 0.4951 GB, free: 7.133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.247e-05/0.7725, allocations: 132.5 kB / 0.4953 GB, free: 6.973 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.7728, allocations: 203.1 kB / 0.4955 GB, free: 6.766 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.7729, allocations: 33.64 kB / 0.4955 GB, free: 6.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.773, allocations: 108.1 kB / 0.4956 GB, free: 6.617 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/0.773, allocations: 31.56 kB / 0.4956 GB, free: 6.586 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.773, allocations: 4 kB / 0.4956 GB, free: 6.582 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.7732, allocations: 330.8 kB / 0.4959 GB, free: 6.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-05/0.7733, allocations: 24 kB / 0.496 GB, free: 6.227 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.7734, allocations: 69.14 kB / 0.496 GB, free: 6.141 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.7736, allocations: 27.98 kB / 0.4961 GB, free: 6.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7736, allocations: 0 / 0.4961 GB, free: 6.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003484/0.7739, allocations: 133.4 kB / 0.4962 GB, free: 5.977 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.774, allocations: 4 kB / 0.4962 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.774, allocations: 4.094 kB / 0.4962 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.774, allocations: 4 kB / 0.4962 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.7743, allocations: 23.92 kB / 0.4962 GB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.7743, allocations: 4 kB / 0.4962 GB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.7745, allocations: 11.98 kB / 0.4962 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.7745, allocations: 11.92 kB / 0.4962 GB, free: 5.914 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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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.0001273/0.7746, allocations: 116.9 kB / 0.4964 GB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.7747, allocations: 19.77 kB / 0.4964 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.7752, allocations: 158.8 kB / 0.4965 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.7752, allocations: 3.984 kB / 0.4965 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7752, allocations: 0 / 0.4965 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.7752, allocations: 0 / 0.4965 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.7755, allocations: 225.5 kB / 0.4967 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.7756, allocations: 0 / 0.4967 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.811e-05/0.7757, allocations: 11.94 kB / 0.4968 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.7757, allocations: 7.953 kB / 0.4968 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.7757, allocations: 4 kB / 0.4968 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.7757, allocations: 7.984 kB / 0.4968 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7757, allocations: 4 kB / 0.4968 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.7761, allocations: 175.4 kB / 0.4969 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.7763, allocations: 104.9 kB / 0.497 GB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.7763, allocations: 4 kB / 0.4971 GB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.7765, allocations: 15.92 kB / 0.4971 GB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.7766, allocations: 8 kB / 0.4971 GB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.7766, allocations: 11.98 kB / 0.4971 GB, free: 4.938 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002537/0.7769, allocations: 161.5 kB / 0.4972 GB, free: 4.781 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7769, allocations: 7.875 kB / 0.4972 GB, free: 4.773 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003909/0.7773, allocations: 43.94 kB / 0.4973 GB, free: 4.73 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.001994/0.7793, allocations: 1.14 MB / 0.4984 GB, free: 3.688 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003227/0.7796, allocations: 72.11 kB / 0.4985 GB, free: 3.617 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.7797, allocations: 0 / 0.4985 GB, free: 3.617 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.7798, allocations: 44.19 kB / 0.4985 GB, free: 3.574 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005365/0.7804, allocations: 55.97 kB / 0.4986 GB, free: 3.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008743/0.7812, allocations: 272.9 kB / 0.4988 GB, free: 3.215 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.7816, allocations: 0.7205 MB / 0.4995 GB, free: 2.469 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.7818, allocations: 29.31 kB / 0.4996 GB, free: 2.438 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.7819, allocations: 47.42 kB / 0.4996 GB, free: 2.391 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.7819, allocations: 0 / 0.4996 GB, free: 2.391 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.8155, allocations: 4.195 MB / 0.5037 GB, free: 14.29 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004216/0.816, allocations: 191 kB / 0.5039 GB, free: 14.06 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.77/3.586, allocations: 0 / 0.5039 GB, free: 14.06 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat