Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.98/1.98, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.229e-05, allocations: 8 kB / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.101, allocations: 48.71 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3934/0.4944, allocations: 75.34 MB / 391.7 MB, free: 1.105 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.4947, allocations: 82.56 kB / 391.8 MB, free: 1.062 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0173/0.5121, allocations: 3.98 MB / 395.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5121, allocations: 0 / 395.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.5121, allocations: 0 / 395.7 MB, free: 13.73 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.0005532/0.5127, allocations: 422.6 kB / 396.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.5128, allocations: 8.031 kB / 396.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.5128, allocations: 11.91 kB / 396.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.5132, allocations: 193.6 kB / 396.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.5132, allocations: 0 / 396.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.5132, allocations: 7.906 kB / 396.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.933e-05/0.5133, allocations: 15.42 kB / 396.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.5134, allocations: 44.98 kB / 396.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5135, allocations: 0 / 396.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.5135, allocations: 4 kB / 396.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5135, allocations: 0 / 396.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.5139, allocations: 272.6 kB / 396.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.5141, allocations: 43.94 kB / 396.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.5142, allocations: 8.859 kB / 396.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.5142, allocations: 3.938 kB / 396.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.5144, allocations: 57.62 kB / 396.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.945e-06/0.5144, allocations: 4 kB / 396.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004402/0.5148, allocations: 110.6 kB / 396.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.5149, allocations: 51.41 kB / 397 MB, free: 12.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.5151, allocations: 145.9 kB / 397.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.5151, allocations: 29.7 kB / 397.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.5152, allocations: 98.52 kB / 397.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.5153, allocations: 23.61 kB / 397.3 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.5153, allocations: 0 / 397.3 MB, free: 12.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.5154, allocations: 318.1 kB / 397.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.29e-05/0.5155, allocations: 22.67 kB / 397.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.5156, allocations: 17.94 kB / 397.6 MB, free: 11.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.175e-05/0.5157, allocations: 33.05 kB / 397.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5157, allocations: 0 / 397.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002521/0.5159, allocations: 89.91 kB / 397.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/0.516, allocations: 40.03 kB / 397.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.516, allocations: 4 kB / 397.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.516, allocations: 0 / 397.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.981e-05/0.5161, allocations: 8 kB / 397.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5161, allocations: 3.938 kB / 397.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.855e-05/0.5162, allocations: 7.953 kB / 397.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.5163, allocations: 8.062 kB / 397.8 MB, free: 11.58 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.94e-05/0.5164, allocations: 112.4 kB / 397.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001612/0.5165, allocations: 62.97 kB / 398 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.5166, allocations: 7.906 kB / 398 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.5168, allocations: 100.4 kB / 398.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/0.5169, allocations: 4.047 kB / 398.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5169, allocations: 3.938 kB / 398.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.5169, allocations: 0 / 398.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.5173, allocations: 319.6 kB / 398.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5173, allocations: 0 / 398.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.5174, allocations: 8 kB / 398.4 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5174, allocations: 0 / 398.4 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.5175, allocations: 7.938 kB / 398.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.5175, allocations: 8 kB / 398.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5175, allocations: 0 / 398.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.5177, allocations: 168.8 kB / 398.6 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.5178, allocations: 89 kB / 398.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.5178, allocations: 4 kB / 398.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.5179, allocations: 3.953 kB / 398.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.518, allocations: 4 kB / 398.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.518, allocations: 4.25 kB / 398.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001377/0.5182, allocations: 131.3 kB / 398.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5182, allocations: 0 / 398.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004199/0.5186, allocations: 35.94 kB / 398.8 MB, free: 10.51 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.001255/0.5199, allocations: 0.9036 MB / 399.8 MB, free: 9.637 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.5201, allocations: 107.8 kB / 399.9 MB, free: 9.539 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.5201, allocations: 4 kB / 399.9 MB, free: 9.535 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.153e-05/0.5202, allocations: 18.88 kB / 399.9 MB, free: 9.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.5206, allocations: 23.38 kB / 399.9 MB, free: 9.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/0.5213, allocations: 195.1 kB / 400.1 MB, free: 9.285 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.5216, allocations: 0.7002 MB / 400.8 MB, free: 8.559 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.232e-05/0.5217, allocations: 8 kB / 400.8 MB, free: 8.551 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/0.5218, allocations: 28.55 kB / 400.8 MB, free: 8.535 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5218, allocations: 4 kB / 400.8 MB, free: 8.531 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.559, allocations: 2.309 MB / 403.1 MB, free: 6.227 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002984/0.5594, allocations: 162.2 kB / 403.3 MB, free: 6.035 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/2.81, allocations: 0 / 403.3 MB, free: 6.035 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat