Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.926/2.926, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.314e-05/4.319e-05, allocations: 7.938 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1406, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5798/0.7205, allocations: 89.11 MB / 499.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.7208, allocations: 67.97 kB / 499.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02948/0.7503, allocations: 6.645 MB / 0.4943 GB, free: 8.145 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7504, allocations: 0 / 0.4943 GB, free: 8.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.808e-05/0.7504, allocations: 15.98 kB / 0.4944 GB, free: 8.129 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.0009636/0.7514, allocations: 0.5948 MB / 0.4949 GB, free: 7.488 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.7515, allocations: 12.03 kB / 0.4949 GB, free: 7.477 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.7515, allocations: 30.56 kB / 0.495 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.7517, allocations: 51.34 kB / 0.495 GB, free: 7.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.7529, allocations: 490.9 kB / 0.4955 GB, free: 6.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.7529, allocations: 7.984 kB / 0.4955 GB, free: 6.855 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.753, allocations: 0 / 0.4955 GB, free: 6.855 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.7532, allocations: 91.28 kB / 0.4956 GB, free: 6.754 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.7532, allocations: 8 kB / 0.4956 GB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.7533, allocations: 0 / 0.4956 GB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.7533, allocations: 0 / 0.4956 GB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.7534, allocations: 31.92 kB / 0.4956 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.754, allocations: 382.3 kB / 0.496 GB, free: 6.289 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.7543, allocations: 109.3 kB / 0.4961 GB, free: 6.164 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.7544, allocations: 37.8 kB / 0.4961 GB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.7545, allocations: 0 / 0.4961 GB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.7548, allocations: 105 kB / 0.4962 GB, free: 6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.124e-06/0.7548, allocations: 0 / 0.4962 GB, free: 6 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005326/0.7553, allocations: 172.9 kB / 0.4964 GB, free: 5.824 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.7554, allocations: 85.09 kB / 0.4965 GB, free: 5.723 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.7575, allocations: 0.9266 MB / 0.4974 GB, free: 4.789 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.7575, allocations: 29.7 kB / 0.4974 GB, free: 4.754 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.7578, allocations: 232.1 kB / 0.4976 GB, free: 4.523 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.7578, allocations: 27.64 kB / 0.4977 GB, free: 4.496 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-06/0.7579, allocations: 0 / 0.4977 GB, free: 4.496 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.7581, allocations: 370.8 kB / 0.498 GB, free: 4.125 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.063e-05/0.7582, allocations: 28 kB / 0.498 GB, free: 4.098 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.7583, allocations: 59.42 kB / 0.4981 GB, free: 4.027 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.7584, allocations: 27.98 kB / 0.4981 GB, free: 4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.7585, allocations: 0 / 0.4981 GB, free: 4 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004101/0.7589, allocations: 172.8 kB / 0.4983 GB, free: 3.824 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.7589, allocations: 8.062 kB / 0.4983 GB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7589, allocations: 0 / 0.4983 GB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.759, allocations: 4 kB / 0.4983 GB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.7592, allocations: 19.98 kB / 0.4983 GB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.7592, allocations: 4 kB / 0.4983 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.7594, allocations: 7.984 kB / 0.4983 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.7594, allocations: 8 kB / 0.4983 GB, free: 3.773 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0001177/0.7596, allocations: 120.9 kB / 0.4984 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.7597, allocations: 59.3 kB / 0.4985 GB, free: 3.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005882/0.7603, allocations: 193.8 kB / 0.4987 GB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.7603, allocations: 4 kB / 0.4987 GB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.7604, allocations: 0 / 0.4987 GB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.7604, allocations: 0 / 0.4987 GB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.7609, allocations: 405.1 kB / 0.4991 GB, free: 2.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.761, allocations: 0 / 0.4991 GB, free: 2.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.95e-05/0.7611, allocations: 11.98 kB / 0.4991 GB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.7611, allocations: 3.953 kB / 0.4991 GB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.7611, allocations: 4 kB / 0.4991 GB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.7611, allocations: 4 kB / 0.4991 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7611, allocations: 0 / 0.4991 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.7616, allocations: 215 kB / 0.4993 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/0.762, allocations: 196.4 kB / 0.4995 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.547e-05/0.7621, allocations: 8 kB / 0.4995 GB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.7624, allocations: 11.98 kB / 0.4995 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.7624, allocations: 15.92 kB / 0.4995 GB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.7625, allocations: 4 kB / 0.4995 GB, free: 2.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001483/0.764, allocations: 0.7396 MB / 0.5003 GB, free: 1.691 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.764, allocations: 0 / 0.5003 GB, free: 1.691 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005002/0.7645, allocations: 79.98 kB / 0.5003 GB, free: 1.613 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.001947/0.7665, allocations: 1.137 MB / 0.5014 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.7668, allocations: 75.92 kB / 0.5015 GB, free: 496 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7668, allocations: 0 / 0.5015 GB, free: 496 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.7669, allocations: 43.97 kB / 0.5016 GB, free: 452 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005956/0.7675, allocations: 58.06 kB / 0.5016 GB, free: 392 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.7698, allocations: 0.9021 MB / 0.5025 GB, free: 15.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.7703, allocations: 0.8546 MB / 0.5033 GB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.7706, allocations: 95.44 kB / 0.5034 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/0.771, allocations: 159.4 kB / 0.5036 GB, free: 14.31 MB / 426.7 MB Notification: Performance of SimCode: time 1.173e-06/0.771, allocations: 0 / 0.5036 GB, free: 14.31 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0409/0.8119, allocations: 9.003 MB / 0.5124 GB, free: 5.375 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/0.8122, allocations: 198.4 kB / 0.5126 GB, free: 5.145 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.868/3.68, allocations: 4.062 kB / 0.5126 GB, free: 5.141 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat