Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Hysteresis,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.536/2.536, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.552e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1337, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4855/0.6193, allocations: 86.07 MB / 496.4 MB, free: 2.012 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.6196, allocations: 64.78 kB / 496.5 MB, free: 1.949 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004073/0.6237, allocations: 0.9778 MB / 497.5 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6237, allocations: 0 / 497.5 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.6237, allocations: 4 kB / 497.5 MB, free: 0.9766 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004412/0.6242, allocations: 350 kB / 497.8 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.6243, allocations: 12.03 kB / 497.8 MB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.6243, allocations: 30.56 kB / 497.9 MB, free: 0.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.6243, allocations: 4 kB / 497.9 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.6245, allocations: 170.9 kB / 498 MB, free: 340 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.6245, allocations: 3.984 kB / 498 MB, free: 336 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.6245, allocations: 7.953 kB / 498 MB, free: 328 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.6247, allocations: 59.34 kB / 498.1 MB, free: 256 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.6247, allocations: 0 / 498.1 MB, free: 256 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.6248, allocations: 4 kB / 498.1 MB, free: 252 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.6248, allocations: 0 / 498.1 MB, free: 252 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.449e-05/0.6248, allocations: 8 kB / 498.1 MB, free: 244 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.6253, allocations: 265 kB / 498.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.899e-05/0.6254, allocations: 30.58 kB / 498.4 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.6255, allocations: 16.86 kB / 498.4 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.6255, allocations: 0 / 498.4 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.6255, allocations: 30.56 kB / 498.4 MB, free: 15.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.6255, allocations: 0 / 498.4 MB, free: 15.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001829/0.6257, allocations: 45.69 kB / 498.5 MB, free: 15.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.6258, allocations: 81.14 kB / 498.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.6259, allocations: 97 kB / 498.7 MB, free: 15.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.6259, allocations: 28.55 kB / 498.7 MB, free: 15.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.626, allocations: 96.06 kB / 498.8 MB, free: 15.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.626, allocations: 3.906 kB / 498.8 MB, free: 15.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.626, allocations: 0 / 498.8 MB, free: 15.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6262, allocations: 314.8 kB / 499.1 MB, free: 15.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.742e-05/0.6262, allocations: 12 kB / 499.1 MB, free: 15.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.456e-05/0.6263, allocations: 25.7 kB / 499.1 MB, free: 15.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.6263, allocations: 7.938 kB / 499.1 MB, free: 15.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6263, allocations: 0 / 499.1 MB, free: 15.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001224/0.6265, allocations: 53.64 kB / 499.2 MB, free: 15.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.6265, allocations: 4 kB / 499.2 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6265, allocations: 0.625 kB / 499.2 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.6265, allocations: 0 / 499.2 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.102e-05/0.6266, allocations: 4 kB / 499.2 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6267, allocations: 0 / 499.2 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.6268, allocations: 20.02 kB / 499.2 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.6268, allocations: 8 kB / 499.2 MB, free: 14.98 MB / 410.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: 2 ($PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.797e-05/0.6269, allocations: 101 kB / 499.3 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.6269, allocations: 11.86 kB / 499.3 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.627, allocations: 7.656 kB / 499.4 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.627, allocations: 3.984 kB / 499.4 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.627, allocations: 0 / 499.4 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.627, allocations: 0 / 499.4 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.6272, allocations: 165.7 kB / 499.5 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.6273, allocations: 0 / 499.5 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.588e-05/0.6273, allocations: 7.938 kB / 499.5 MB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.6273, allocations: 7.891 kB / 499.5 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.6274, allocations: 0 / 499.5 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.6274, allocations: 0 / 499.5 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6274, allocations: 144 / 499.5 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.6276, allocations: 143.5 kB / 499.7 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.6276, allocations: 85.02 kB / 499.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.6277, allocations: 7.953 kB / 499.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.6278, allocations: 11.98 kB / 499.8 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.6279, allocations: 7.984 kB / 499.8 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.6279, allocations: 0 / 499.8 MB, free: 14.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.056e-05/0.628, allocations: 91.58 kB / 499.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.628, allocations: 0 / 499.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003078/0.6283, allocations: 8.031 kB / 499.9 MB, free: 14.24 MB / 410.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: 1 (hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0004487/0.6288, allocations: 0.6695 MB / 0.4888 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.6289, allocations: 16 kB / 0.4888 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6289, allocations: 0 / 0.4888 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.629, allocations: 16.03 kB / 0.4888 GB, free: 13.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.6292, allocations: 8.438 kB / 0.4889 GB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.6296, allocations: 98.56 kB / 0.489 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.6299, allocations: 0.6848 MB / 0.4896 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.398e-05/0.63, allocations: 4 kB / 0.4896 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.63, allocations: 15.42 kB / 0.4896 GB, free: 12.64 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.63, allocations: 0 / 0.4896 GB, free: 12.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.6488, allocations: 1.178 MB / 0.4908 GB, free: 11.54 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/0.6491, allocations: 141.1 kB / 0.4909 GB, free: 11.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/2.87, allocations: 3.984 kB / 0.4909 GB, free: 11.31 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis_res.mat does not exist to compare? outputFormat=mat