Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.037/2.037, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.829e-05/4.835e-05, allocations: 11.98 kB / 273.2 MB, free: 136 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.134, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4318/0.5659, allocations: 75.65 MB / 397.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.5662, allocations: 67.97 kB / 397.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02284/0.5891, allocations: 5.476 MB / 403.1 MB, free: 8.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5891, allocations: 3.938 kB / 403.1 MB, free: 8.316 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.611e-05/0.5892, allocations: 4 kB / 403.1 MB, free: 8.312 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.0009953/0.5902, allocations: 0.6567 MB / 403.8 MB, free: 7.598 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.5902, allocations: 8.031 kB / 403.8 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.955e-05/0.5903, allocations: 34.56 kB / 403.8 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.5904, allocations: 47.39 kB / 403.8 MB, free: 7.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.5915, allocations: 443.3 kB / 404.3 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.5915, allocations: 8 kB / 404.3 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.5916, allocations: 4 kB / 404.3 MB, free: 7.016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.5918, allocations: 59.39 kB / 404.3 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5918, allocations: 11.92 kB / 404.4 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.5918, allocations: 4 kB / 404.4 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.5918, allocations: 3.938 kB / 404.4 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.873e-05/0.5919, allocations: 23.98 kB / 404.4 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/0.5925, allocations: 378.2 kB / 404.8 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.5927, allocations: 57.2 kB / 404.8 MB, free: 6.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.895e-05/0.5928, allocations: 29.72 kB / 404.8 MB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.5928, allocations: 0 / 404.8 MB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.593, allocations: 89.09 kB / 404.9 MB, free: 6.266 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.593, allocations: 0 / 404.9 MB, free: 6.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004167/0.5935, allocations: 129 kB / 405.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.5935, allocations: 81.11 kB / 405.1 MB, free: 6.035 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.5957, allocations: 0.9106 MB / 406 MB, free: 5.117 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/0.5959, allocations: 37.69 kB / 406.1 MB, free: 5.074 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.5961, allocations: 228.1 kB / 406.3 MB, free: 4.848 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.5962, allocations: 11.81 kB / 406.3 MB, free: 4.836 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.5962, allocations: 4 kB / 406.3 MB, free: 4.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.5964, allocations: 371 kB / 406.7 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.5966, allocations: 35.98 kB / 406.7 MB, free: 4.426 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.5967, allocations: 49.72 kB / 406.8 MB, free: 4.371 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.5969, allocations: 99.38 kB / 406.9 MB, free: 4.262 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.597, allocations: 0 / 406.9 MB, free: 4.262 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006078/0.5976, allocations: 240.4 kB / 407.1 MB, free: 4.008 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.203e-05/0.5977, allocations: 63.39 kB / 407.2 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.5977, allocations: 0 / 407.2 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.5977, allocations: 96 / 407.2 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.5979, allocations: 12 kB / 407.2 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.5979, allocations: 96 / 407.2 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.5981, allocations: 31.77 kB / 407.2 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.5981, allocations: 7.984 kB / 407.2 MB, free: 3.883 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.0001207/0.5983, allocations: 120.9 kB / 407.3 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.5984, allocations: 43.44 kB / 407.4 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004779/0.5989, allocations: 153.2 kB / 407.5 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.5989, allocations: 4 kB / 407.5 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.5989, allocations: 0 / 407.5 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.5989, allocations: 0 / 407.5 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.5995, allocations: 373.3 kB / 407.9 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5995, allocations: 0 / 407.9 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.983e-05/0.5996, allocations: 11.98 kB / 407.9 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.5996, allocations: 128 / 407.9 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.5997, allocations: 8 kB / 407.9 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5997, allocations: 0 / 407.9 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5997, allocations: 0 / 407.9 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.6001, allocations: 187.1 kB / 408.1 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003799/0.6005, allocations: 196.3 kB / 408.3 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/0.6006, allocations: 0 / 408.3 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.6008, allocations: 12 kB / 408.3 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.6008, allocations: 7.984 kB / 408.3 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.6008, allocations: 0 / 408.3 MB, free: 2.676 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001441/0.6023, allocations: 0.7201 MB / 409 MB, free: 1.961 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6023, allocations: 0 / 409 MB, free: 1.961 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005475/0.6029, allocations: 103.9 kB / 409.1 MB, free: 1.859 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.001982/0.6049, allocations: 1.129 MB / 410.2 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004239/0.6053, allocations: 194.8 kB / 410.4 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.6053, allocations: 0 / 410.4 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.6055, allocations: 31.94 kB / 410.5 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.606, allocations: 46.25 kB / 410.5 MB, free: 492 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.6083, allocations: 0.8744 MB / 411.4 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.6089, allocations: 0.8466 MB / 412.2 MB, free: 14.69 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.6092, allocations: 82.06 kB / 412.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.6095, allocations: 139.4 kB / 412.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6095, allocations: 0 / 412.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04213/0.6516, allocations: 8.713 MB / 421.2 MB, free: 5.793 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003009/0.652, allocations: 182.4 kB / 421.3 MB, free: 5.574 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/3.272, allocations: 3.938 kB / 421.3 MB, free: 5.57 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat