Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.951/1.951, allocations: 209.4 MB / 216.5 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.858e-05, allocations: 4 kB / 267.6 MB, free: 4.965 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 48.7 MB / 316.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.426/0.5267, allocations: 75.31 MB / 391.6 MB, free: 1.102 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.527, allocations: 73.62 kB / 391.7 MB, free: 1.062 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01679/0.5438, allocations: 3.897 MB / 395.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5439, allocations: 0 / 395.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.5439, allocations: 0 / 395.6 MB, free: 13.8 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.0005613/0.5445, allocations: 423.2 kB / 396 MB, free: 13.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.5446, allocations: 12.03 kB / 396 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.5446, allocations: 7.906 kB / 396 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.5449, allocations: 190.1 kB / 396.2 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.5449, allocations: 0 / 396.2 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.545, allocations: 7.906 kB / 396.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.858e-05/0.5451, allocations: 15.92 kB / 396.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.5452, allocations: 41.44 kB / 396.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5452, allocations: 3.938 kB / 396.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.5452, allocations: 4 kB / 396.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.5453, allocations: 0 / 396.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.5457, allocations: 267.2 kB / 396.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.5459, allocations: 46 kB / 396.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.546, allocations: 8.859 kB / 396.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.546, allocations: 3.906 kB / 396.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.5461, allocations: 62.77 kB / 396.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.877e-06/0.5462, allocations: 0 / 396.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004337/0.5466, allocations: 103.5 kB / 396.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.5467, allocations: 51.41 kB / 396.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.5469, allocations: 154.1 kB / 397 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.5469, allocations: 29.7 kB / 397 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.547, allocations: 94.83 kB / 397.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.547, allocations: 23.73 kB / 397.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.5471, allocations: 0 / 397.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.5472, allocations: 318.5 kB / 397.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.281e-05/0.5473, allocations: 19.05 kB / 397.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/0.5474, allocations: 22.81 kB / 397.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.668e-05/0.5474, allocations: 21.5 kB / 397.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5475, allocations: 3.938 kB / 397.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000243/0.5477, allocations: 93.83 kB / 397.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.5478, allocations: 33.7 kB / 397.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.5478, allocations: 4.141 kB / 397.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.5478, allocations: 0 / 397.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.405e-05/0.5479, allocations: 19.91 kB / 397.6 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.5479, allocations: 0 / 397.6 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.548, allocations: 7.953 kB / 397.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.548, allocations: 4.094 kB / 397.7 MB, free: 11.66 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.74e-05/0.5481, allocations: 108.9 kB / 397.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001545/0.5483, allocations: 67.16 kB / 397.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.5483, allocations: 11.89 kB / 397.8 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.5486, allocations: 95.98 kB / 397.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5486, allocations: 3.953 kB / 397.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5486, allocations: 192 / 397.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.5486, allocations: 8 kB / 398 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.5491, allocations: 319.1 kB / 398.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5491, allocations: 0 / 398.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.345e-05/0.5492, allocations: 8 kB / 398.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.5492, allocations: 0 / 398.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.5492, allocations: 3.953 kB / 398.3 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.5492, allocations: 11.94 kB / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5492, allocations: 0 / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.5495, allocations: 165.6 kB / 398.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.5495, allocations: 88.39 kB / 398.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.5496, allocations: 4 kB / 398.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.5497, allocations: 7.938 kB / 398.5 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.5498, allocations: 4 kB / 398.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.5498, allocations: 4 kB / 398.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.5499, allocations: 128.8 kB / 398.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5499, allocations: 0 / 398.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003945/0.5503, allocations: 35.94 kB / 398.7 MB, free: 10.59 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.001271/0.5516, allocations: 0.914 MB / 399.6 MB, free: 9.703 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.5519, allocations: 108.3 kB / 399.7 MB, free: 9.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5519, allocations: 0 / 399.7 MB, free: 9.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.05e-05/0.552, allocations: 19.81 kB / 399.8 MB, free: 9.586 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.5523, allocations: 15.19 kB / 399.8 MB, free: 9.574 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005962/0.5529, allocations: 183.9 kB / 399.9 MB, free: 9.371 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.5533, allocations: 0.7079 MB / 400.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.154e-05/0.5533, allocations: 8 kB / 400.7 MB, free: 8.629 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.5534, allocations: 31.73 kB / 400.7 MB, free: 8.609 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5534, allocations: 0 / 400.7 MB, free: 8.609 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04068/0.5941, allocations: 2.313 MB / 403 MB, free: 6.301 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/0.5944, allocations: 162.2 kB / 403.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/2.818, allocations: 0 / 403.2 MB, free: 6.109 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat