Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.697/2.697, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.448e-05/5.455e-05, allocations: 11.94 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2207, allocations: 61.89 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6459/0.8666, allocations: 89.5 MB / 499.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004023/0.8671, allocations: 76.45 kB / 499.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03007/0.8972, allocations: 6.184 MB / 0.4943 GB, free: 8.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.8973, allocations: 4 kB / 0.4943 GB, free: 8.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.8973, allocations: 0 / 0.4943 GB, free: 8.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006655/0.898, allocations: 402.2 kB / 0.4947 GB, free: 7.832 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.898, allocations: 8.031 kB / 0.4947 GB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.183e-05/0.8981, allocations: 34.56 kB / 0.4947 GB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.8982, allocations: 7.906 kB / 0.4947 GB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.8986, allocations: 207.4 kB / 0.4949 GB, free: 7.527 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.8986, allocations: 7.938 kB / 0.4949 GB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.8987, allocations: 12 kB / 0.4949 GB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.8989, allocations: 67.39 kB / 0.495 GB, free: 7.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.8989, allocations: 0 / 0.495 GB, free: 7.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.8989, allocations: 3.938 kB / 0.495 GB, free: 7.426 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.899, allocations: 4 kB / 0.495 GB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.8991, allocations: 31.98 kB / 0.495 GB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.8997, allocations: 308.7 kB / 0.4953 GB, free: 7.039 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.8999, allocations: 70.69 kB / 0.4954 GB, free: 6.961 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.09e-05/0.9, allocations: 24.98 kB / 0.4954 GB, free: 6.934 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.9001, allocations: 3.984 kB / 0.4954 GB, free: 6.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.9003, allocations: 79.31 kB / 0.4955 GB, free: 6.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.675e-06/0.9003, allocations: 3.938 kB / 0.4955 GB, free: 6.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008194/0.9011, allocations: 177.2 kB / 0.4957 GB, free: 6.656 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.9012, allocations: 77.11 kB / 0.4957 GB, free: 6.562 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.9015, allocations: 157.3 kB / 0.4959 GB, free: 6.398 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.9015, allocations: 25.7 kB / 0.4959 GB, free: 6.367 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.9016, allocations: 92.14 kB / 0.496 GB, free: 6.273 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.9017, allocations: 35.67 kB / 0.496 GB, free: 6.238 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.9017, allocations: 0 / 0.496 GB, free: 6.238 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.9019, allocations: 326.8 kB / 0.4963 GB, free: 5.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.902, allocations: 28 kB / 0.4964 GB, free: 5.883 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.9021, allocations: 50.5 kB / 0.4964 GB, free: 5.824 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.9022, allocations: 31.92 kB / 0.4964 GB, free: 5.793 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9022, allocations: 0 / 0.4964 GB, free: 5.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000317/0.9025, allocations: 109.5 kB / 0.4966 GB, free: 5.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.9026, allocations: 10.81 kB / 0.4966 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.9026, allocations: 0 / 0.4966 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.9026, allocations: 4.062 kB / 0.4966 GB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.9028, allocations: 16 kB / 0.4966 GB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.9028, allocations: 0 / 0.4966 GB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.903, allocations: 11.98 kB / 0.4966 GB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.903, allocations: 4 kB / 0.4966 GB, free: 5.637 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 (11): * Single equations (assignments): 11 * 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.000113/0.9031, allocations: 112.9 kB / 0.4967 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.9032, allocations: 11.91 kB / 0.4967 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004351/0.9036, allocations: 134.1 kB / 0.4968 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.9036, allocations: 8.188 kB / 0.4969 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.9036, allocations: 0 / 0.4969 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.9037, allocations: 7.875 kB / 0.4969 GB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000795/0.9045, allocations: 423.3 kB / 0.4973 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.9045, allocations: 0 / 0.4973 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.9047, allocations: 15.98 kB / 0.4973 GB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/0.9047, allocations: 7.938 kB / 0.4973 GB, free: 4.863 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.9048, allocations: 4 kB / 0.4973 GB, free: 4.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.9048, allocations: 4.031 kB / 0.4973 GB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.9048, allocations: 0 / 0.4973 GB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/0.9052, allocations: 234 kB / 0.4975 GB, free: 4.602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.9053, allocations: 88.92 kB / 0.4976 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.9053, allocations: 11.98 kB / 0.4976 GB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.9055, allocations: 0 / 0.4976 GB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.9056, allocations: 15.94 kB / 0.4976 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.9056, allocations: 4 kB / 0.4976 GB, free: 4.465 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.9058, allocations: 126.3 kB / 0.4978 GB, free: 4.344 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.385e-06/0.9058, allocations: 0 / 0.4978 GB, free: 4.344 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004399/0.9062, allocations: 55.86 kB / 0.4978 GB, free: 4.289 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 (11): * Single equations (assignments): 9 * 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.002224/0.9085, allocations: 1.242 MB / 0.499 GB, free: 3.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003393/0.9089, allocations: 67.98 kB / 0.4991 GB, free: 3.094 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.9089, allocations: 0 / 0.4991 GB, free: 3.094 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.909, allocations: 35.94 kB / 0.4991 GB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.9094, allocations: 27.94 kB / 0.4991 GB, free: 3.031 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008463/0.9103, allocations: 220.7 kB / 0.4994 GB, free: 2.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.9107, allocations: 0.7084 MB / 0.5 GB, free: 2.035 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.9108, allocations: 20.88 kB / 0.5001 GB, free: 2.016 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.911, allocations: 35.42 kB / 0.5001 GB, free: 1.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.684e-06/0.911, allocations: 0 / 0.5001 GB, free: 1.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03627/0.9473, allocations: 3.307 MB / 0.5033 GB, free: 14.77 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003458/0.9477, allocations: 190.8 kB / 0.5035 GB, free: 14.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/3.793, allocations: 0 / 0.5035 GB, free: 14.54 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat