Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.941/1.941, allocations: 209.4 MB / 216.5 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.586e-05/3.604e-05, allocations: 8 kB / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 48.7 MB / 316.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4082/0.5257, allocations: 75.35 MB / 391.7 MB, free: 1.051 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.526, allocations: 74.7 kB / 391.8 MB, free: 1.016 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0186/0.5446, allocations: 4.051 MB / 395.8 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5447, allocations: 0 / 395.8 MB, free: 13.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.5447, allocations: 4 kB / 395.8 MB, free: 13.61 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.0005704/0.5453, allocations: 423.5 kB / 396.2 MB, free: 13.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5453, allocations: 8.031 kB / 396.2 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.5454, allocations: 7.906 kB / 396.2 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.5457, allocations: 203.1 kB / 396.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.5458, allocations: 0 / 396.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.5458, allocations: 8 kB / 396.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.17e-05/0.5459, allocations: 14.92 kB / 396.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.832e-05/0.546, allocations: 45.44 kB / 396.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.546, allocations: 0 / 396.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.5461, allocations: 3.938 kB / 396.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5461, allocations: 4 kB / 396.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.5466, allocations: 267.6 kB / 396.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.5468, allocations: 45.38 kB / 396.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.5469, allocations: 8.859 kB / 396.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.5469, allocations: 4 kB / 396.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.5471, allocations: 58.38 kB / 396.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.565e-06/0.5471, allocations: 0 / 396.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004807/0.5476, allocations: 104.2 kB / 397 MB, free: 12.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.5476, allocations: 55.41 kB / 397 MB, free: 12.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.5479, allocations: 170.2 kB / 397.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.5479, allocations: 25.7 kB / 397.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.548, allocations: 98.06 kB / 397.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.5481, allocations: 19.38 kB / 397.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.5481, allocations: 0 / 397.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.5482, allocations: 326.5 kB / 397.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.376e-05/0.5483, allocations: 19.12 kB / 397.7 MB, free: 11.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.88e-05/0.5484, allocations: 19.25 kB / 397.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.691e-05/0.5485, allocations: 30.92 kB / 397.7 MB, free: 11.6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5485, allocations: 3.938 kB / 397.7 MB, free: 11.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002748/0.5488, allocations: 96.27 kB / 397.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/0.5488, allocations: 36.05 kB / 397.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5489, allocations: 0 / 397.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.5489, allocations: 0 / 397.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.549, allocations: 8 kB / 397.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.549, allocations: 3.984 kB / 397.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.805e-05/0.5491, allocations: 7.938 kB / 397.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.5491, allocations: 0 / 397.9 MB, free: 11.45 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 0.0001062/0.5492, allocations: 120.5 kB / 398 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000179/0.5494, allocations: 72.72 kB / 398.1 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.5495, allocations: 11.84 kB / 398.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.5498, allocations: 83.52 kB / 398.2 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5498, allocations: 144 / 398.2 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.5498, allocations: 3.984 kB / 398.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.5498, allocations: 7.938 kB / 398.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.5503, allocations: 331.6 kB / 398.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5504, allocations: 3.938 kB / 398.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.5504, allocations: 4 kB / 398.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.5504, allocations: 4 kB / 398.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.5505, allocations: 0 / 398.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.5505, allocations: 0 / 398.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5505, allocations: 3.953 kB / 398.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.5507, allocations: 174.2 kB / 398.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.409e-05/0.5508, allocations: 88.27 kB / 398.8 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.5509, allocations: 4 kB / 398.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.551, allocations: 7.984 kB / 398.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.5511, allocations: 7.953 kB / 398.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.5511, allocations: 0 / 398.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001661/0.5513, allocations: 134.9 kB / 398.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5513, allocations: 0 / 398.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004455/0.5517, allocations: 31.94 kB / 399 MB, free: 10.36 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.001481/0.5532, allocations: 0.9046 MB / 399.9 MB, free: 9.484 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004241/0.5537, allocations: 120.5 kB / 400 MB, free: 9.375 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5537, allocations: 0 / 400 MB, free: 9.375 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.554, allocations: 15.5 kB / 400 MB, free: 9.363 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.5554, allocations: 15.61 kB / 400 MB, free: 9.352 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.5567, allocations: 199.5 kB / 400.2 MB, free: 9.137 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.5573, allocations: 0.7002 MB / 400.9 MB, free: 8.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.5575, allocations: 15.98 kB / 400.9 MB, free: 8.395 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.5577, allocations: 36.92 kB / 401 MB, free: 8.371 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.5577, allocations: 0 / 401 MB, free: 8.371 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04427/0.602, allocations: 2.376 MB / 403.3 MB, free: 6 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/0.6023, allocations: 158.2 kB / 403.5 MB, free: 5.812 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/2.881, allocations: 0 / 403.5 MB, free: 5.812 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat