Running command: "" <> buildModelFMU(ModelicaTest.Blocks.SelfResettingIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_SelfResettingIntegrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.661/2.661, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.993e-05/4.012e-05, allocations: 4 kB / 323.5 MB, free: 4.23 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4214, allocations: 58.84 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.5846, allocations: 84.81 MB / 467.1 MB, free: 7.715 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.5849, allocations: 59.97 kB / 467.2 MB, free: 7.656 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.003583/0.5885, allocations: 0.9904 MB / 468.2 MB, free: 6.66 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5886, allocations: 0 / 468.2 MB, free: 6.66 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.5886, allocations: 0 / 468.2 MB, free: 6.66 MB / 394.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004648/0.5891, allocations: 350.3 kB / 468.5 MB, free: 6.273 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.5891, allocations: 12.03 kB / 468.5 MB, free: 6.262 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.5892, allocations: 34.56 kB / 468.5 MB, free: 6.219 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.5893, allocations: 7.906 kB / 468.5 MB, free: 6.211 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.5895, allocations: 171 kB / 468.7 MB, free: 6.004 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.5895, allocations: 4 kB / 468.7 MB, free: 6 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.5896, allocations: 4 kB / 468.7 MB, free: 5.996 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.5897, allocations: 49.69 kB / 468.8 MB, free: 5.941 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.5897, allocations: 4 kB / 468.8 MB, free: 5.938 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.5898, allocations: 0 / 468.8 MB, free: 5.938 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.5898, allocations: 4 kB / 468.8 MB, free: 5.934 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.917e-05/0.5899, allocations: 15.94 kB / 468.8 MB, free: 5.918 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006588/0.5905, allocations: 288.8 kB / 469.1 MB, free: 5.586 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.151e-05/0.5906, allocations: 26.58 kB / 469.1 MB, free: 5.551 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.5907, allocations: 13.02 kB / 469.1 MB, free: 5.535 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.5907, allocations: 4.062 kB / 469.1 MB, free: 5.531 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.5909, allocations: 51.34 kB / 469.2 MB, free: 5.469 MB / 394.8 MB Notification: Performance of pre-optimization done (n=3): time 2.755e-06/0.5909, allocations: 0 / 469.2 MB, free: 5.469 MB / 394.8 MB Notification: Performance of matching and sorting (n=3): time 0.000202/0.5911, allocations: 53.55 kB / 469.2 MB, free: 5.41 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.5912, allocations: 55.34 kB / 469.3 MB, free: 5.344 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.5913, allocations: 105.2 kB / 469.4 MB, free: 5.23 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.5914, allocations: 29.69 kB / 469.4 MB, free: 5.195 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.5914, allocations: 88.14 kB / 469.5 MB, free: 5.105 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.5915, allocations: 15.91 kB / 469.5 MB, free: 5.09 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.5915, allocations: 3.938 kB / 469.5 MB, free: 5.086 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5916, allocations: 318.8 kB / 469.8 MB, free: 4.766 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.5917, allocations: 8 kB / 469.8 MB, free: 4.758 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.859e-05/0.5917, allocations: 17.72 kB / 469.9 MB, free: 4.734 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.102e-05/0.5918, allocations: 8 kB / 469.9 MB, free: 4.727 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5918, allocations: 0 / 469.9 MB, free: 4.727 MB / 394.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001224/0.5919, allocations: 57.72 kB / 469.9 MB, free: 4.664 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.592, allocations: 4 kB / 469.9 MB, free: 4.66 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.592, allocations: 0 / 469.9 MB, free: 4.66 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.592, allocations: 4 kB / 469.9 MB, free: 4.656 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.5921, allocations: 7.891 kB / 469.9 MB, free: 4.648 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.5921, allocations: 4 kB / 469.9 MB, free: 4.645 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.5921, allocations: 0 / 469.9 MB, free: 4.645 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.5922, allocations: 8.031 kB / 469.9 MB, free: 4.637 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,greaterEqualThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.412e-05/0.5923, allocations: 109 kB / 470 MB, free: 4.523 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.5923, allocations: 7.906 kB / 470.1 MB, free: 4.516 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.5924, allocations: 4.031 kB / 470.1 MB, free: 4.504 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.5924, allocations: 0 / 470.1 MB, free: 4.504 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.5924, allocations: 3.953 kB / 470.1 MB, free: 4.5 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5924, allocations: 0 / 470.1 MB, free: 4.5 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.5929, allocations: 298.5 kB / 470.4 MB, free: 4.152 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5929, allocations: 4 kB / 470.4 MB, free: 4.148 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.049e-05/0.593, allocations: 4 kB / 470.4 MB, free: 4.145 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.593, allocations: 0 / 470.4 MB, free: 4.145 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.593, allocations: 3.953 kB / 470.4 MB, free: 4.141 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.593, allocations: 384 / 470.4 MB, free: 4.141 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5931, allocations: 0 / 470.4 MB, free: 4.141 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.5933, allocations: 151.5 kB / 470.5 MB, free: 3.977 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.5933, allocations: 81.02 kB / 470.6 MB, free: 3.879 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.5934, allocations: 11.98 kB / 470.6 MB, free: 3.867 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.5935, allocations: 11.95 kB / 470.6 MB, free: 3.855 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.5935, allocations: 0 / 470.6 MB, free: 3.855 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.5935, allocations: 0 / 470.6 MB, free: 3.855 MB / 394.8 MB Notification: Performance of sorting global known variables: time 7.338e-05/0.5936, allocations: 95.22 kB / 470.7 MB, free: 3.762 MB / 394.8 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5936, allocations: 0 / 470.7 MB, free: 3.762 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0002944/0.5939, allocations: 7.984 kB / 470.7 MB, free: 3.754 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0005098/0.5944, allocations: 0.6851 MB / 471.4 MB, free: 3.043 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.5946, allocations: 15.94 kB / 471.4 MB, free: 3.027 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.5946, allocations: 4 kB / 471.4 MB, free: 3.023 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 2.904e-05/0.5946, allocations: 8 kB / 471.4 MB, free: 3.016 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.5949, allocations: 15.88 kB / 471.4 MB, free: 3 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.5954, allocations: 126 kB / 471.6 MB, free: 2.844 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.5957, allocations: 0.6889 MB / 472.3 MB, free: 2.129 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 3.09e-05/0.5958, allocations: 4 kB / 472.3 MB, free: 2.125 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.5958, allocations: 15.44 kB / 472.3 MB, free: 2.109 MB / 394.8 MB Notification: Performance of SimCode: time 9.01e-07/0.5958, allocations: 0 / 472.3 MB, free: 2.109 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.623, allocations: 1.294 MB / 473.6 MB, free: 0.8945 MB / 394.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003306/0.6234, allocations: 151.8 kB / 473.7 MB, free: 0.6641 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/3.104, allocations: 0 / 473.7 MB, free: 0.6641 MB / 394.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat does not exist to compare? outputFormat=mat