Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.924/1.924, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.643e-05/3.651e-05, allocations: 12 kB / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 48.7 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.396/0.4999, allocations: 75.3 MB / 391.6 MB, free: 1.074 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.5002, allocations: 77.34 kB / 391.7 MB, free: 1.035 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01685/0.5171, allocations: 3.896 MB / 395.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5172, allocations: 0 / 395.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.5172, allocations: 4 kB / 395.6 MB, free: 13.77 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.000546/0.5177, allocations: 415.6 kB / 396 MB, free: 13.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.5178, allocations: 8.031 kB / 396 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.5179, allocations: 7.906 kB / 396 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.5182, allocations: 205.8 kB / 396.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.5182, allocations: 0 / 396.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.5182, allocations: 7.906 kB / 396.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.348e-05/0.5183, allocations: 11.56 kB / 396.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.5184, allocations: 45.61 kB / 396.3 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5185, allocations: 4 kB / 396.3 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.5185, allocations: 0 / 396.3 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5185, allocations: 0 / 396.3 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.5189, allocations: 265 kB / 396.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.5192, allocations: 46.44 kB / 396.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.5192, allocations: 16.67 kB / 396.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.5193, allocations: 4 kB / 396.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.5194, allocations: 55.17 kB / 396.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.934e-06/0.5194, allocations: 0 / 396.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004433/0.5199, allocations: 108.6 kB / 396.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.5199, allocations: 51.41 kB / 396.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.5201, allocations: 147.5 kB / 397 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.5202, allocations: 29.7 kB / 397 MB, free: 12.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.5203, allocations: 102.1 kB / 397.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.5203, allocations: 15.5 kB / 397.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.5203, allocations: 4 kB / 397.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5205, allocations: 318.7 kB / 397.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.5205, allocations: 18.81 kB / 397.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.86e-05/0.5206, allocations: 22.92 kB / 397.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.953e-05/0.5207, allocations: 19.75 kB / 397.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5207, allocations: 3.938 kB / 397.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002517/0.521, allocations: 102.8 kB / 397.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.521, allocations: 33.7 kB / 397.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.5211, allocations: 4 kB / 397.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.5211, allocations: 0 / 397.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.5212, allocations: 11.98 kB / 397.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.5212, allocations: 0 / 397.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.663e-05/0.5213, allocations: 7.953 kB / 397.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.5213, allocations: 4 kB / 397.7 MB, free: 11.63 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.905e-05/0.5214, allocations: 108.1 kB / 397.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001661/0.5216, allocations: 69.28 kB / 397.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.5216, allocations: 7.906 kB / 397.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.5219, allocations: 92.62 kB / 397.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.5219, allocations: 7.891 kB / 397.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.5219, allocations: 4 kB / 397.9 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5219, allocations: 0 / 397.9 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.5224, allocations: 330.8 kB / 398.3 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5224, allocations: 0 / 398.3 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.5225, allocations: 8 kB / 398.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5225, allocations: 0 / 398.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.5225, allocations: 7.953 kB / 398.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5225, allocations: 0 / 398.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.5225, allocations: 4 kB / 398.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.5228, allocations: 170.2 kB / 398.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.5229, allocations: 85.02 kB / 398.5 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.5229, allocations: 4 kB / 398.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.523, allocations: 7.938 kB / 398.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.5231, allocations: 7.5 kB / 398.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.5231, allocations: 4 kB / 398.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001408/0.5232, allocations: 127.2 kB / 398.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5233, allocations: 0 / 398.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004209/0.5237, allocations: 35.94 kB / 398.7 MB, free: 10.55 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.001347/0.525, allocations: 0.9064 MB / 399.6 MB, free: 9.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.5253, allocations: 104.8 kB / 399.7 MB, free: 9.582 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5253, allocations: 0 / 399.7 MB, free: 9.582 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.175e-05/0.5254, allocations: 15.94 kB / 399.7 MB, free: 9.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.5257, allocations: 27.33 kB / 399.8 MB, free: 9.547 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/0.5264, allocations: 184.6 kB / 399.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.5268, allocations: 0.7079 MB / 400.7 MB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.052e-05/0.5269, allocations: 8 kB / 400.7 MB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.372e-05/0.527, allocations: 25.92 kB / 400.7 MB, free: 8.586 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.527, allocations: 0 / 400.7 MB, free: 8.586 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04167/0.5686, allocations: 2.312 MB / 403 MB, free: 6.277 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/0.569, allocations: 158.2 kB / 403.2 MB, free: 6.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/2.837, allocations: 0 / 403.2 MB, free: 6.09 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat