Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.53/2.53, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.064e-05/5.083e-05, allocations: 8 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1622, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5628/0.725, allocations: 89.28 MB / 499.6 MB, free: 14.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/0.7255, allocations: 73.34 kB / 499.7 MB, free: 14.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03261/0.7581, allocations: 5.642 MB / 0.4935 GB, free: 8.977 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7582, allocations: 0 / 0.4935 GB, free: 8.977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.241e-05/0.7582, allocations: 4 kB / 0.4935 GB, free: 8.973 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007574/0.759, allocations: 402.2 kB / 0.4939 GB, free: 8.535 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.759, allocations: 12.02 kB / 0.4939 GB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.687e-05/0.7591, allocations: 30.56 kB / 0.4939 GB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.7592, allocations: 11.91 kB / 0.494 GB, free: 8.473 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.7597, allocations: 218.3 kB / 0.4942 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.7598, allocations: 7.953 kB / 0.4942 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.7598, allocations: 0 / 0.4942 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.76, allocations: 57.61 kB / 0.4942 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.7601, allocations: 0 / 0.4942 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.7601, allocations: 7.984 kB / 0.4942 GB, free: 8.145 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.7601, allocations: 11.94 kB / 0.4942 GB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.7603, allocations: 16 kB / 0.4943 GB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.7609, allocations: 296.9 kB / 0.4945 GB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.7611, allocations: 54.62 kB / 0.4946 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.446e-05/0.7612, allocations: 16.98 kB / 0.4946 GB, free: 7.695 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.7613, allocations: 8 kB / 0.4946 GB, free: 7.688 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.7615, allocations: 63.39 kB / 0.4947 GB, free: 7.613 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.625e-06/0.7615, allocations: 3.938 kB / 0.4947 GB, free: 7.609 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000774/0.7623, allocations: 165.2 kB / 0.4948 GB, free: 7.441 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.7624, allocations: 59.39 kB / 0.4949 GB, free: 7.371 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.7628, allocations: 189.4 kB / 0.4951 GB, free: 7.176 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.7629, allocations: 29.7 kB / 0.4951 GB, free: 7.141 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.763, allocations: 104.1 kB / 0.4952 GB, free: 7.035 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.763, allocations: 27.64 kB / 0.4952 GB, free: 7.008 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.7631, allocations: 4 kB / 0.4952 GB, free: 7.004 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.7633, allocations: 326.8 kB / 0.4955 GB, free: 6.676 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.7634, allocations: 20 kB / 0.4956 GB, free: 6.656 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.7635, allocations: 33.72 kB / 0.4956 GB, free: 6.617 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.931e-05/0.7636, allocations: 19.98 kB / 0.4956 GB, free: 6.598 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7636, allocations: 0 / 0.4956 GB, free: 6.598 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000337/0.764, allocations: 109.4 kB / 0.4957 GB, free: 6.484 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.764, allocations: 8 kB / 0.4957 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.764, allocations: 4.062 kB / 0.4957 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.7641, allocations: 0 / 0.4957 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.7643, allocations: 12 kB / 0.4957 GB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.7643, allocations: 4 kB / 0.4957 GB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.7644, allocations: 7.984 kB / 0.4958 GB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.7645, allocations: 4 kB / 0.4958 GB, free: 6.445 MB / 410.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001256/0.7646, allocations: 121.6 kB / 0.4959 GB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.7647, allocations: 7.906 kB / 0.4959 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004268/0.7651, allocations: 115.1 kB / 0.496 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7651, allocations: 0 / 0.496 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.7651, allocations: 4 kB / 0.496 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.7652, allocations: 0 / 0.496 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008657/0.766, allocations: 419.2 kB / 0.4964 GB, free: 5.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.7661, allocations: 32 / 0.4964 GB, free: 5.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.906e-05/0.7662, allocations: 15.94 kB / 0.4964 GB, free: 5.699 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.7662, allocations: 0 / 0.4964 GB, free: 5.699 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.7662, allocations: 4.281 kB / 0.4964 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.7662, allocations: 0 / 0.4964 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7663, allocations: 0 / 0.4964 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.7667, allocations: 225.8 kB / 0.4966 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.7668, allocations: 100.9 kB / 0.4967 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.7669, allocations: 4 kB / 0.4967 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.7671, allocations: 4 kB / 0.4967 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.7672, allocations: 11.94 kB / 0.4967 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.7672, allocations: 4 kB / 0.4967 GB, free: 5.309 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003081/0.7675, allocations: 162 kB / 0.4969 GB, free: 5.152 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.7675, allocations: 0 / 0.4969 GB, free: 5.152 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006076/0.7682, allocations: 35.92 kB / 0.4969 GB, free: 5.117 MB / 410.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.004065/0.7722, allocations: 1.171 MB / 0.4981 GB, free: 4.051 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.7726, allocations: 59.98 kB / 0.4981 GB, free: 3.992 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.7726, allocations: 0 / 0.4981 GB, free: 3.992 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.7727, allocations: 35.88 kB / 0.4982 GB, free: 3.957 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.7733, allocations: 28.19 kB / 0.4982 GB, free: 3.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.7744, allocations: 252.3 kB / 0.4984 GB, free: 3.645 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.7749, allocations: 0.7123 MB / 0.4991 GB, free: 2.906 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.775, allocations: 16.55 kB / 0.4991 GB, free: 2.891 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.7751, allocations: 39.41 kB / 0.4992 GB, free: 2.852 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.7752, allocations: 3.938 kB / 0.4992 GB, free: 2.848 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/0.8095, allocations: 3.131 MB / 0.5022 GB, free: 15.79 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003083/0.8098, allocations: 189.2 kB / 0.5024 GB, free: 15.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.617/3.427, allocations: 4 kB / 0.5024 GB, free: 15.57 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat