Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.588/2.588, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.071e-05/4.075e-05, allocations: 8 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1447, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4927/0.6375, allocations: 89.95 MB / 0.4886 GB, free: 14.11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.6379, allocations: 79.95 kB / 0.4887 GB, free: 14.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05527/0.6931, allocations: 12.7 MB / 0.5011 GB, free: 1.328 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.6932, allocations: 4 kB / 0.5011 GB, free: 1.324 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.308e-05/0.6933, allocations: 19.88 kB / 0.5011 GB, free: 1.305 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001379/0.6947, allocations: 0.7171 MB / 0.5018 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.6947, allocations: 8.031 kB / 0.5018 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.433e-05/0.6948, allocations: 46.55 kB / 0.5018 GB, free: 484 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.695, allocations: 71.16 kB / 0.5019 GB, free: 412 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.6963, allocations: 467.4 kB / 0.5024 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.6963, allocations: 12 kB / 0.5024 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.6964, allocations: 12 kB / 0.5024 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.6969, allocations: 188.9 kB / 0.5026 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.6969, allocations: 8 kB / 0.5026 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.6969, allocations: 7.984 kB / 0.5026 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.697, allocations: 4 kB / 0.5026 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.6973, allocations: 91.91 kB / 0.5027 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.6988, allocations: 0.8756 MB / 0.5035 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008033/0.6997, allocations: 230.6 kB / 0.5037 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.6999, allocations: 87.55 kB / 0.5038 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.6999, allocations: 0 / 0.5038 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/0.7004, allocations: 207 kB / 0.504 GB, free: 14.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.665e-06/0.7004, allocations: 0 / 0.504 GB, free: 14.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002815/0.7032, allocations: 1.022 MB / 0.505 GB, free: 13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/0.7033, allocations: 132.5 kB / 0.5051 GB, free: 12.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.7054, allocations: 0.8277 MB / 0.506 GB, free: 12.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-05/0.7055, allocations: 33.7 kB / 0.506 GB, free: 11.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.7059, allocations: 257.1 kB / 0.5062 GB, free: 11.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.7061, allocations: 142.1 kB / 0.5064 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.7062, allocations: 12 kB / 0.5064 GB, free: 11.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002622/0.7065, allocations: 382.7 kB / 0.5067 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.7069, allocations: 108.9 kB / 0.5068 GB, free: 11.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/0.7074, allocations: 178.3 kB / 0.507 GB, free: 10.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/0.7079, allocations: 132.3 kB / 0.5071 GB, free: 10.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.708, allocations: 0 / 0.5071 GB, free: 10.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001431/0.7094, allocations: 420.5 kB / 0.5075 GB, free: 10.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.7094, allocations: 8 kB / 0.5076 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.7095, allocations: 0 / 0.5076 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.7095, allocations: 8.125 kB / 0.5076 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007562/0.7103, allocations: 91.83 kB / 0.5076 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.7103, allocations: 0 / 0.5076 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.7108, allocations: 23.98 kB / 0.5077 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.7109, allocations: 20 kB / 0.5077 GB, free: 10.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002164/0.7111, allocations: 139 kB / 0.5078 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.7113, allocations: 75.06 kB / 0.5079 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.7133, allocations: 0.5117 MB / 0.5084 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.7133, allocations: 11.92 kB / 0.5084 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.7133, allocations: 4 kB / 0.5084 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.7134, allocations: 3.938 kB / 0.5084 GB, free: 9.418 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003738/0.7171, allocations: 1.447 MB / 0.5098 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.7172, allocations: 8.062 kB / 0.5098 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/0.7177, allocations: 67.91 kB / 0.5099 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.015e-05/0.7177, allocations: 4 kB / 0.5099 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/0.7178, allocations: 16 kB / 0.5099 GB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/0.7178, allocations: 4 kB / 0.5099 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/0.7178, allocations: 4 kB / 0.5099 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.7196, allocations: 0.9282 MB / 0.5108 GB, free: 6.742 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006348/0.7203, allocations: 240 kB / 0.5111 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.7205, allocations: 19.98 kB / 0.5111 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007641/0.7213, allocations: 19.98 kB / 0.5111 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.7214, allocations: 39.89 kB / 0.5111 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.063e-05/0.7215, allocations: 24 kB / 0.5112 GB, free: 6.387 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001889/0.7234, allocations: 0.6631 MB / 0.5118 GB, free: 5.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.7235, allocations: 0 / 0.5118 GB, free: 5.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001457/0.7249, allocations: 127.8 kB / 0.5119 GB, free: 5.605 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.004974/0.7299, allocations: 2.643 MB / 0.5145 GB, free: 3.027 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.7312, allocations: 298.8 kB / 0.5148 GB, free: 2.734 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/0.7312, allocations: 4 kB / 0.5148 GB, free: 2.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000579/0.7318, allocations: 160.3 kB / 0.515 GB, free: 2.574 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.7334, allocations: 113.5 kB / 0.5151 GB, free: 2.465 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/0.7379, allocations: 1.164 MB / 0.5162 GB, free: 1.227 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009485/0.7389, allocations: 0.9294 MB / 0.5171 GB, free: 280 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006131/0.7395, allocations: 99.2 kB / 0.5172 GB, free: 180 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006697/0.7402, allocations: 211.4 kB / 0.5174 GB, free: 15.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.193e-06/0.7402, allocations: 4 kB / 0.5174 GB, free: 15.97 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0531/0.7933, allocations: 11.27 MB / 0.5284 GB, free: 4.812 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/0.7937, allocations: 193.2 kB / 0.5286 GB, free: 4.586 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.882/3.676, allocations: 0 / 0.5286 GB, free: 4.586 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat does not exist to compare? outputFormat=mat