Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.745e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.47/0.5761, allocations: 76 MB / 397.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.5764, allocations: 71.97 kB / 398 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02133/0.5977, allocations: 4.772 MB / 402.7 MB, free: 8.691 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5978, allocations: 0 / 402.7 MB, free: 8.691 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.5978, allocations: 0 / 402.7 MB, free: 8.691 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.0005578/0.5984, allocations: 412 kB / 403.1 MB, free: 8.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.5984, allocations: 8.031 kB / 403.1 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.085e-05/0.5985, allocations: 42.55 kB / 403.2 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.5985, allocations: 7.906 kB / 403.2 MB, free: 8.172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.5988, allocations: 190.9 kB / 403.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.5989, allocations: 0 / 403.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.5989, allocations: 4 kB / 403.4 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.599, allocations: 59.41 kB / 403.4 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.5991, allocations: 0 / 403.4 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.5991, allocations: 0 / 403.4 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.5991, allocations: 0 / 403.4 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.217e-05/0.5992, allocations: 31.84 kB / 403.5 MB, free: 7.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.5996, allocations: 276.9 kB / 403.7 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.5999, allocations: 42.56 kB / 403.8 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.5999, allocations: 12.86 kB / 403.8 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.6, allocations: 0 / 403.8 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.6001, allocations: 67.42 kB / 403.9 MB, free: 7.375 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.6001, allocations: 0 / 403.9 MB, free: 7.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004418/0.6006, allocations: 109.4 kB / 404 MB, free: 7.262 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.6007, allocations: 77.11 kB / 404 MB, free: 7.168 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.6008, allocations: 132.9 kB / 404.2 MB, free: 7.031 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.6009, allocations: 25.7 kB / 404.2 MB, free: 7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.6009, allocations: 92.12 kB / 404.3 MB, free: 6.906 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.601, allocations: 19.75 kB / 404.3 MB, free: 6.887 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.601, allocations: 0 / 404.3 MB, free: 6.887 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6011, allocations: 326.8 kB / 404.6 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.705e-05/0.6012, allocations: 20 kB / 404.7 MB, free: 6.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.6013, allocations: 42.05 kB / 404.7 MB, free: 6.492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.229e-05/0.6014, allocations: 45.7 kB / 404.7 MB, free: 6.441 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6014, allocations: 0 / 404.7 MB, free: 6.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002564/0.6017, allocations: 119.2 kB / 404.9 MB, free: 6.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/0.6018, allocations: 37.7 kB / 404.9 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6018, allocations: 0 / 404.9 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.6018, allocations: 4.031 kB / 404.9 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.682e-05/0.6019, allocations: 11.98 kB / 404.9 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.6019, allocations: 3.953 kB / 404.9 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.525e-05/0.602, allocations: 4.094 kB / 404.9 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.602, allocations: 7.938 kB / 404.9 MB, free: 6.238 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.715e-05/0.6021, allocations: 109 kB / 405 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.6021, allocations: 0 / 405 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.6024, allocations: 89.61 kB / 405.1 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.6024, allocations: 8.125 kB / 405.1 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6024, allocations: 4 kB / 405.1 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.6025, allocations: 7.938 kB / 405.1 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.6029, allocations: 338.6 kB / 405.5 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6029, allocations: 0 / 405.5 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.603, allocations: 8 kB / 405.5 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.603, allocations: 0 / 405.5 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.603, allocations: 0 / 405.5 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.603, allocations: 3.953 kB / 405.5 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6031, allocations: 7.938 kB / 405.5 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.6033, allocations: 171.4 kB / 405.7 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.6034, allocations: 81.11 kB / 405.7 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.6034, allocations: 4 kB / 405.7 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.6035, allocations: 4 kB / 405.7 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.6036, allocations: 7.938 kB / 405.7 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.6036, allocations: 4 kB / 405.8 MB, free: 5.309 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.6037, allocations: 112.5 kB / 405.9 MB, free: 5.199 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6037, allocations: 0 / 405.9 MB, free: 5.199 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004282/0.6042, allocations: 55.77 kB / 405.9 MB, free: 5.145 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.001563/0.6057, allocations: 1.025 MB / 406.9 MB, free: 4.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.606, allocations: 107.4 kB / 407 MB, free: 4.043 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.606, allocations: 0 / 407 MB, free: 4.043 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.652e-05/0.6061, allocations: 19.94 kB / 407.1 MB, free: 4.023 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.6064, allocations: 15.94 kB / 407.1 MB, free: 4.008 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.6086, allocations: 0.718 MB / 407.8 MB, free: 3.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.609, allocations: 0.6965 MB / 408.5 MB, free: 2.527 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.243e-05/0.609, allocations: 12.14 kB / 408.5 MB, free: 2.516 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.111e-05/0.6091, allocations: 27.42 kB / 408.5 MB, free: 2.488 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.6091, allocations: 0 / 408.5 MB, free: 2.488 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/0.736, allocations: 2.828 MB / 411.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/0.7364, allocations: 203 kB / 411.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/3.091, allocations: 0 / 411.6 MB, free: 15.47 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat does not exist to compare? outputFormat=mat