Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.899/1.899, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.644e-05, allocations: 7.984 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3952/0.4953, allocations: 75.77 MB / 397.6 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.4956, allocations: 71.95 kB / 397.7 MB, free: 13.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01759/0.5132, allocations: 3.97 MB / 401.7 MB, free: 9.711 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5133, allocations: 0 / 401.7 MB, free: 9.711 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.5133, allocations: 0 / 401.7 MB, free: 9.711 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005427/0.5139, allocations: 419.9 kB / 402.1 MB, free: 9.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.5139, allocations: 8.031 kB / 402.1 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.514, allocations: 34.56 kB / 402.1 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.514, allocations: 7.906 kB / 402.1 MB, free: 9.191 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.5143, allocations: 190.9 kB / 402.3 MB, free: 8.965 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.5143, allocations: 0 / 402.3 MB, free: 8.965 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.5144, allocations: 8 kB / 402.3 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.5145, allocations: 49.61 kB / 402.4 MB, free: 8.902 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5146, allocations: 4 kB / 402.4 MB, free: 8.898 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.5146, allocations: 4 kB / 402.4 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.5146, allocations: 0 / 402.4 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.72e-05/0.5147, allocations: 12 kB / 402.4 MB, free: 8.883 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.5151, allocations: 296.8 kB / 402.7 MB, free: 8.543 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.5154, allocations: 50.48 kB / 402.7 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.5154, allocations: 12.86 kB / 402.8 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.5155, allocations: 4 kB / 402.8 MB, free: 8.465 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.5156, allocations: 55.5 kB / 402.8 MB, free: 8.398 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.5156, allocations: 0 / 402.8 MB, free: 8.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004967/0.5161, allocations: 113.3 kB / 402.9 MB, free: 8.281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.5162, allocations: 51.41 kB / 403 MB, free: 8.219 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.5164, allocations: 152.5 kB / 403.1 MB, free: 8.062 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.5165, allocations: 25.7 kB / 403.1 MB, free: 8.031 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/0.5165, allocations: 96.14 kB / 403.2 MB, free: 7.934 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.5166, allocations: 19.8 kB / 403.3 MB, free: 7.914 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.5166, allocations: 0 / 403.3 MB, free: 7.914 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.5168, allocations: 322.8 kB / 403.6 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.5169, allocations: 20 kB / 403.6 MB, free: 7.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.891e-05/0.5169, allocations: 23.94 kB / 403.6 MB, free: 7.547 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.5171, allocations: 57.72 kB / 403.7 MB, free: 7.484 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5171, allocations: 3.938 kB / 403.7 MB, free: 7.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002844/0.5174, allocations: 119.3 kB / 403.8 MB, free: 7.352 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.995e-05/0.5174, allocations: 45.69 kB / 403.8 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5174, allocations: 0 / 403.8 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.5175, allocations: 3.953 kB / 403.8 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.5176, allocations: 8 kB / 403.9 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.5176, allocations: 0 / 403.9 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.5177, allocations: 7.938 kB / 403.9 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.5177, allocations: 7.984 kB / 403.9 MB, free: 7.273 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 8.748e-05/0.5178, allocations: 109.3 kB / 404 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.5178, allocations: 7.906 kB / 404 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.5181, allocations: 85.77 kB / 404.1 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5181, allocations: 128 / 404.1 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.5181, allocations: 7.953 kB / 404.1 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.5182, allocations: 0 / 404.1 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004691/0.5186, allocations: 354.4 kB / 404.4 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5187, allocations: 0 / 404.4 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.5187, allocations: 8 kB / 404.4 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.5187, allocations: 3.984 kB / 404.4 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.5188, allocations: 7.953 kB / 404.4 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5188, allocations: 4 kB / 404.4 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5188, allocations: 0 / 404.4 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.519, allocations: 171.4 kB / 404.6 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.5191, allocations: 89 kB / 404.7 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.5192, allocations: 4 kB / 404.7 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.469e-05/0.5193, allocations: 7.953 kB / 404.7 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.5193, allocations: 0 / 404.7 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.5193, allocations: 11.98 kB / 404.7 MB, free: 6.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.5195, allocations: 119.2 kB / 404.8 MB, free: 6.203 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5195, allocations: 0 / 404.8 MB, free: 6.203 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003777/0.5199, allocations: 32 kB / 404.9 MB, free: 6.172 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001436/0.5213, allocations: 0.9578 MB / 405.8 MB, free: 5.246 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.5216, allocations: 119.4 kB / 405.9 MB, free: 5.117 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5217, allocations: 0 / 405.9 MB, free: 5.117 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.942e-05/0.5217, allocations: 19.94 kB / 406 MB, free: 5.098 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.5221, allocations: 31.25 kB / 406 MB, free: 5.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/0.5227, allocations: 179.7 kB / 406.2 MB, free: 4.859 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.523, allocations: 0.6965 MB / 406.9 MB, free: 4.137 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.5231, allocations: 11.98 kB / 406.9 MB, free: 4.125 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.5232, allocations: 23.44 kB / 406.9 MB, free: 4.102 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5232, allocations: 4 kB / 406.9 MB, free: 4.098 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.5505, allocations: 2.557 MB / 409.5 MB, free: 1.59 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000313/0.5509, allocations: 187.7 kB / 409.6 MB, free: 1.367 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/2.925, allocations: 3.938 kB / 409.6 MB, free: 1.363 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat