Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.549/2.549, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.606e-05/4.608e-05, allocations: 11.23 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1372, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5147/0.6519, allocations: 89.29 MB / 499.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.6523, allocations: 71.95 kB / 499.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0249/0.6772, allocations: 5.518 MB / 0.4934 GB, free: 9.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.6773, allocations: 0 / 0.4934 GB, free: 9.203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.6773, allocations: 0 / 0.4934 GB, free: 9.203 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000576/0.6779, allocations: 398.2 kB / 0.4938 GB, free: 8.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.6779, allocations: 8.031 kB / 0.4938 GB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.678, allocations: 42.56 kB / 0.4938 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.6781, allocations: 7.906 kB / 0.4938 GB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.6784, allocations: 210.8 kB / 0.494 GB, free: 8.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.6785, allocations: 3.953 kB / 0.494 GB, free: 8.453 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.6785, allocations: 4 kB / 0.494 GB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.6787, allocations: 57.61 kB / 0.4941 GB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.6787, allocations: 0 / 0.4941 GB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.6787, allocations: 0 / 0.4941 GB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6787, allocations: 0 / 0.4941 GB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.84e-05/0.6788, allocations: 19.98 kB / 0.4941 GB, free: 8.367 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.6793, allocations: 300.9 kB / 0.4944 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.6795, allocations: 50.62 kB / 0.4944 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.6795, allocations: 20.92 kB / 0.4945 GB, free: 7.941 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.6796, allocations: 4 kB / 0.4945 GB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.6797, allocations: 71.38 kB / 0.4945 GB, free: 7.855 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.973e-06/0.6798, allocations: 0 / 0.4945 GB, free: 7.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006047/0.6804, allocations: 161.1 kB / 0.4947 GB, free: 7.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.6804, allocations: 55.34 kB / 0.4947 GB, free: 7.625 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.6807, allocations: 170 kB / 0.4949 GB, free: 7.457 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.6808, allocations: 29.7 kB / 0.4949 GB, free: 7.422 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.6808, allocations: 100.1 kB / 0.495 GB, free: 7.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.6809, allocations: 19.72 kB / 0.4951 GB, free: 7.301 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-06/0.6809, allocations: 8 kB / 0.4951 GB, free: 7.293 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6811, allocations: 322.8 kB / 0.4954 GB, free: 6.969 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.551e-05/0.6811, allocations: 20 kB / 0.4954 GB, free: 6.949 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.008e-05/0.6812, allocations: 37.7 kB / 0.4954 GB, free: 6.906 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.59e-05/0.6813, allocations: 24.06 kB / 0.4954 GB, free: 6.883 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.6813, allocations: 0 / 0.4954 GB, free: 6.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002524/0.6816, allocations: 105.4 kB / 0.4955 GB, free: 6.773 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.6816, allocations: 14.69 kB / 0.4956 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6816, allocations: 0 / 0.4956 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.6817, allocations: 0 / 0.4956 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.6818, allocations: 15.98 kB / 0.4956 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.6819, allocations: 4 kB / 0.4956 GB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.372e-05/0.6819, allocations: 3.938 kB / 0.4956 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.682, allocations: 4 kB / 0.4956 GB, free: 6.734 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 (10): * Single equations (assignments): 10 * 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.0001011/0.6821, allocations: 116.9 kB / 0.4957 GB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.6821, allocations: 7.906 kB / 0.4957 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.6825, allocations: 118.2 kB / 0.4958 GB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6825, allocations: 0 / 0.4958 GB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6825, allocations: 4.172 kB / 0.4958 GB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6825, allocations: 0 / 0.4958 GB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007018/0.6832, allocations: 411.3 kB / 0.4962 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6832, allocations: 0 / 0.4962 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.827e-05/0.6833, allocations: 15.92 kB / 0.4962 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.6834, allocations: 4.031 kB / 0.4962 GB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.6834, allocations: 4 kB / 0.4962 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6834, allocations: 3.938 kB / 0.4962 GB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.6834, allocations: 4.281 kB / 0.4962 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.6838, allocations: 221.8 kB / 0.4965 GB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.284e-05/0.6839, allocations: 93 kB / 0.4965 GB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.684, allocations: 4 kB / 0.4965 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.6841, allocations: 8 kB / 0.4966 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.6842, allocations: 11.94 kB / 0.4966 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.6842, allocations: 4 kB / 0.4966 GB, free: 5.613 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002074/0.6844, allocations: 143.8 kB / 0.4967 GB, free: 5.477 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6844, allocations: 0 / 0.4967 GB, free: 5.477 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004256/0.6849, allocations: 28 kB / 0.4967 GB, free: 5.449 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: 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 (9): * Single equations (assignments): 7 * 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.001927/0.6868, allocations: 1.164 MB / 0.4979 GB, free: 4.383 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.6871, allocations: 55.92 kB / 0.4979 GB, free: 4.328 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6871, allocations: 4.062 kB / 0.4979 GB, free: 4.324 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.792e-05/0.6872, allocations: 31.94 kB / 0.498 GB, free: 4.293 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.6877, allocations: 35.86 kB / 0.498 GB, free: 4.258 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007741/0.6885, allocations: 215.9 kB / 0.4982 GB, free: 4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.6888, allocations: 0.7121 MB / 0.4989 GB, free: 3.262 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.872e-05/0.6889, allocations: 28.78 kB / 0.4989 GB, free: 3.234 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.97e-05/0.689, allocations: 35.42 kB / 0.499 GB, free: 3.199 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6891, allocations: 0 / 0.499 GB, free: 3.199 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.7141, allocations: 2.976 MB / 0.5019 GB, free: 308 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003085/0.7145, allocations: 189.7 kB / 0.502 GB, free: 84 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.285, allocations: 0 / 0.502 GB, free: 84 kB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat