Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.93/1.93, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.843e-05/2.855e-05, allocations: 8 kB / 267.6 MB, free: 4.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 48.7 MB / 316.3 MB, free: 4.125 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4051/0.5071, allocations: 77.03 MB / 393.4 MB, free: 15.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.5074, allocations: 74.94 kB / 393.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01806/0.5255, allocations: 3.918 MB / 397.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5255, allocations: 0 / 397.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.5255, allocations: 4 kB / 397.4 MB, free: 12.04 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001099/0.5267, allocations: 0.5469 MB / 397.9 MB, free: 11.44 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.5267, allocations: 8.031 kB / 397.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.914e-05/0.5268, allocations: 11.91 kB / 397.9 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.5272, allocations: 235.2 kB / 398.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.5272, allocations: 0 / 398.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.5273, allocations: 8 kB / 398.2 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001804/0.5275, allocations: 50.16 kB / 398.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.5277, allocations: 74.66 kB / 398.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5277, allocations: 0 / 398.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.5278, allocations: 0 / 398.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.5278, allocations: 4 kB / 398.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009618/0.5287, allocations: 396.7 kB / 398.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.5291, allocations: 80.19 kB / 398.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.5292, allocations: 39.41 kB / 398.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.5293, allocations: 0 / 398.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.5295, allocations: 105.4 kB / 398.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/0.5295, allocations: 0 / 398.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003713/0.5299, allocations: 111.9 kB / 399 MB, free: 10.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.53, allocations: 59.23 kB / 399.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.5302, allocations: 173.5 kB / 399.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.5303, allocations: 33.7 kB / 399.3 MB, free: 10.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.5304, allocations: 118.1 kB / 399.4 MB, free: 10 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.5305, allocations: 23.55 kB / 399.4 MB, free: 9.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.5305, allocations: 0 / 399.4 MB, free: 9.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5306, allocations: 325.5 kB / 399.7 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.5308, allocations: 35.06 kB / 399.8 MB, free: 9.641 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.5309, allocations: 62.02 kB / 399.8 MB, free: 9.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.5311, allocations: 40.98 kB / 399.9 MB, free: 9.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5311, allocations: 0 / 399.9 MB, free: 9.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004115/0.5315, allocations: 154.1 kB / 400 MB, free: 9.441 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/0.5316, allocations: 62.53 kB / 400.1 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5316, allocations: 0 / 400.1 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.5316, allocations: 4 kB / 400.1 MB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.5319, allocations: 31.97 kB / 400.1 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.532, allocations: 0 / 400.1 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.5323, allocations: 43.8 kB / 400.1 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.5323, allocations: 7.438 kB / 400.2 MB, free: 9.289 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: 8 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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.0001119/0.5324, allocations: 112.9 kB / 400.3 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002818/0.5327, allocations: 109.9 kB / 400.4 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.5328, allocations: 11.81 kB / 400.4 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.5332, allocations: 135.2 kB / 400.5 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.5332, allocations: 0 / 400.5 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.5332, allocations: 3.953 kB / 400.5 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5332, allocations: 0 / 400.5 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.5335, allocations: 199 kB / 400.7 MB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5335, allocations: 4.172 kB / 400.7 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.5338, allocations: 27.98 kB / 400.7 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5338, allocations: 3.938 kB / 400.7 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.5338, allocations: 11.98 kB / 400.8 MB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.5338, allocations: 3.984 kB / 400.8 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5338, allocations: 0 / 400.8 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.5343, allocations: 194.5 kB / 401 MB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.925e-05/0.5344, allocations: 92.95 kB / 401 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.5345, allocations: 3.688 kB / 401 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.5348, allocations: 28.03 kB / 401.1 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.004e-05/0.5349, allocations: 19.22 kB / 401.1 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.5349, allocations: 4 kB / 401.1 MB, free: 8.359 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001744/0.5351, allocations: 140.1 kB / 401.2 MB, free: 8.242 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5351, allocations: 4 kB / 401.2 MB, free: 8.238 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003946/0.5355, allocations: 47.69 kB / 401.3 MB, free: 8.195 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent) * Number of discrete states: 2 (trapezoid1.count,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001449/0.537, allocations: 0.9104 MB / 402.2 MB, free: 7.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.5374, allocations: 205.6 kB / 402.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5374, allocations: 0 / 402.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.5376, allocations: 40.44 kB / 402.4 MB, free: 7.121 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.538, allocations: 40.02 kB / 402.5 MB, free: 7.082 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009183/0.5389, allocations: 262 kB / 402.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.5393, allocations: 0.7197 MB / 403.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.5395, allocations: 12.78 kB / 403.5 MB, free: 6.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.5396, allocations: 46.41 kB / 403.5 MB, free: 6.023 MB / 330.7 MB Notification: Performance of SimCode: time 8.91e-07/0.5397, allocations: 0 / 403.5 MB, free: 6.023 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0433/0.583, allocations: 3.496 MB / 407 MB, free: 2.531 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/0.5833, allocations: 162.2 kB / 407.2 MB, free: 2.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/2.96, allocations: 3.938 kB / 407.2 MB, free: 2.336 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat