Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.897/1.897, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.101e-05/3.113e-05, allocations: 8 kB / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.09836, allocations: 48.71 MB / 316.3 MB, free: 4.133 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3891/0.4875, allocations: 75.19 MB / 391.5 MB, free: 1.305 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.4878, allocations: 75.62 kB / 391.6 MB, free: 1.266 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02183/0.5096, allocations: 5.412 MB / 397 MB, free: 12.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5097, allocations: 0 / 397 MB, free: 12.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.851e-05/0.5097, allocations: 11.98 kB / 397 MB, free: 12.64 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.0009099/0.5107, allocations: 0.6482 MB / 397.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.5107, allocations: 8.031 kB / 397.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.5109, allocations: 47.44 kB / 397.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.5119, allocations: 452.3 kB / 398.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.5119, allocations: 0 / 398.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.5119, allocations: 4 kB / 398.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.548e-05/0.512, allocations: 27.3 kB / 398.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.5122, allocations: 62.45 kB / 398.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.5122, allocations: 0 / 398.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.5122, allocations: 4 kB / 398.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.5123, allocations: 3.984 kB / 398.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.5128, allocations: 360 kB / 398.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.5129, allocations: 56.39 kB / 398.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/0.513, allocations: 21.47 kB / 398.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.513, allocations: 8 kB / 398.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.5132, allocations: 82.59 kB / 398.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.225e-06/0.5132, allocations: 0 / 398.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003994/0.5136, allocations: 135.3 kB / 398.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.5137, allocations: 81.05 kB / 399 MB, free: 10.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.5156, allocations: 0.8879 MB / 399.9 MB, free: 9.914 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.5156, allocations: 29.7 kB / 399.9 MB, free: 9.879 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.5159, allocations: 232.6 kB / 400.1 MB, free: 9.754 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.5159, allocations: 15.12 kB / 400.2 MB, free: 9.742 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.5159, allocations: 0 / 400.2 MB, free: 9.742 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.5162, allocations: 367.9 kB / 400.5 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.5163, allocations: 34.38 kB / 400.5 MB, free: 9.371 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.5164, allocations: 48.27 kB / 400.6 MB, free: 9.332 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.5166, allocations: 45.89 kB / 400.6 MB, free: 9.297 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5166, allocations: 0 / 400.6 MB, free: 9.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005057/0.5171, allocations: 169.4 kB / 400.8 MB, free: 9.152 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.325e-05/0.5172, allocations: 63.39 kB / 400.9 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5172, allocations: 4 kB / 400.9 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.5172, allocations: 0 / 400.9 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.5174, allocations: 8 kB / 400.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5174, allocations: 3.938 kB / 400.9 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.5176, allocations: 19.97 kB / 400.9 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.5176, allocations: 19.61 kB / 400.9 MB, free: 9.027 MB / 330.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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001167/0.5177, allocations: 112.4 kB / 401 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003331/0.5181, allocations: 127.1 kB / 401.2 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.5182, allocations: 47.44 kB / 401.2 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.5187, allocations: 143.4 kB / 401.3 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.5187, allocations: 0 / 401.3 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.5187, allocations: 7.938 kB / 401.3 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.5187, allocations: 3.984 kB / 401.4 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.5193, allocations: 346.3 kB / 401.7 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5193, allocations: 4 kB / 401.7 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.403e-05/0.5194, allocations: 7.984 kB / 401.7 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.5194, allocations: 4 kB / 401.7 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.5194, allocations: 0 / 401.7 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.5195, allocations: 0 / 401.7 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.5195, allocations: 4 kB / 401.7 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.5199, allocations: 180.6 kB / 401.9 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/0.5202, allocations: 182.6 kB / 402.1 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.5203, allocations: 7.688 kB / 402.1 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.5205, allocations: 4 kB / 402.1 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.5206, allocations: 12.02 kB / 402.1 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.5206, allocations: 7.938 kB / 402.1 MB, free: 7.855 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001241/0.5218, allocations: 0.6929 MB / 402.8 MB, free: 7.355 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5219, allocations: 0 / 402.8 MB, free: 7.355 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006222/0.5225, allocations: 99.86 kB / 402.9 MB, free: 7.258 MB / 330.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001795/0.5243, allocations: 1.068 MB / 404 MB, free: 6.223 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003897/0.5247, allocations: 192 kB / 404.1 MB, free: 6.039 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5248, allocations: 0 / 404.1 MB, free: 6.039 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.317e-05/0.5249, allocations: 26.81 kB / 404.2 MB, free: 6.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.5254, allocations: 48.73 kB / 404.2 MB, free: 5.988 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.5275, allocations: 0.8654 MB / 405.1 MB, free: 5.156 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/0.5281, allocations: 0.8368 MB / 405.9 MB, free: 4.309 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000217/0.5284, allocations: 81.11 kB / 406 MB, free: 4.238 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.5287, allocations: 140.7 kB / 406.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5287, allocations: 0 / 406.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05763/0.5863, allocations: 7.83 MB / 414 MB, free: 12.35 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000289/0.5867, allocations: 166.1 kB / 414.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/3.096, allocations: 0 / 414.1 MB, free: 12.16 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat