Running command: "" <> buildModelFMU(ModelicaTest.Blocks.SelfResettingIntegrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_SelfResettingIntegrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.697/2.697, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.226e-05/4.23e-05, allocations: 5.828 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1541, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5028/0.6569, allocations: 85.83 MB / 496.2 MB, free: 2.152 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.6572, allocations: 63.95 kB / 496.2 MB, free: 2.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003504/0.6607, allocations: 0.9977 MB / 497.2 MB, free: 1.098 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6607, allocations: 0 / 497.2 MB, free: 1.098 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.6608, allocations: 7.938 kB / 497.3 MB, free: 1.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003724/0.6611, allocations: 339.3 kB / 497.6 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.6612, allocations: 12.03 kB / 497.6 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.6613, allocations: 34.56 kB / 497.6 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.6613, allocations: 7.906 kB / 497.6 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.6615, allocations: 179 kB / 497.8 MB, free: 448 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.6615, allocations: 4 kB / 497.8 MB, free: 444 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.6616, allocations: 3.953 kB / 497.8 MB, free: 440 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.6617, allocations: 45.7 kB / 497.9 MB, free: 388 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.6617, allocations: 0 / 497.9 MB, free: 388 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/0.6618, allocations: 0 / 497.9 MB, free: 388 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.6618, allocations: 7.938 kB / 497.9 MB, free: 380 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.791e-05/0.6619, allocations: 12 kB / 497.9 MB, free: 368 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.6625, allocations: 296.7 kB / 498.2 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.357e-05/0.6626, allocations: 30.5 kB / 498.2 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.6626, allocations: 8.922 kB / 498.2 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.6626, allocations: 0 / 498.2 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.684e-05/0.6627, allocations: 47.41 kB / 498.3 MB, free: 15.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 3.256e-06/0.6628, allocations: 7.938 kB / 498.3 MB, free: 15.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001461/0.6629, allocations: 52.44 kB / 498.3 MB, free: 15.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.663, allocations: 51.41 kB / 498.4 MB, free: 15.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.6631, allocations: 105.2 kB / 498.5 MB, free: 15.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.6631, allocations: 33.7 kB / 498.5 MB, free: 15.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.6632, allocations: 88.08 kB / 498.6 MB, free: 15.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.6632, allocations: 11.84 kB / 498.6 MB, free: 15.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.6632, allocations: 0 / 498.6 MB, free: 15.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6634, allocations: 326.8 kB / 498.9 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.265e-05/0.6634, allocations: 4 kB / 498.9 MB, free: 15.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.923e-05/0.6634, allocations: 17.72 kB / 498.9 MB, free: 15.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.886e-05/0.6635, allocations: 4 kB / 498.9 MB, free: 15.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6635, allocations: 0 / 498.9 MB, free: 15.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001076/0.6636, allocations: 53.59 kB / 499 MB, free: 15.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.6636, allocations: 7.938 kB / 499 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.6637, allocations: 4 kB / 499 MB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.6637, allocations: 4.031 kB / 499 MB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.706e-05/0.6637, allocations: 4 kB / 499 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.6637, allocations: 0 / 499 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.6638, allocations: 7.984 kB / 499 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.6638, allocations: 4 kB / 499 MB, free: 15.08 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: 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 7.635e-05/0.6639, allocations: 104.9 kB / 499.1 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.6639, allocations: 4 kB / 499.1 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.664, allocations: 8.031 kB / 499.1 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.664, allocations: 0 / 499.1 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.664, allocations: 4 kB / 499.1 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.664, allocations: 224 / 499.1 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.6644, allocations: 306.4 kB / 499.4 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6644, allocations: 3.938 kB / 499.4 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.6645, allocations: 4 kB / 499.5 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6645, allocations: 384 / 499.5 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.6645, allocations: 0 / 499.5 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6645, allocations: 0 / 499.5 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6646, allocations: 4 kB / 499.5 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.6648, allocations: 159.7 kB / 499.6 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.6648, allocations: 88.98 kB / 499.7 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.6648, allocations: 0 / 499.7 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.6649, allocations: 4.031 kB / 499.7 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.665, allocations: 3.938 kB / 499.7 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.665, allocations: 0 / 499.7 MB, free: 14.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.76e-05/0.6651, allocations: 95.27 kB / 499.8 MB, free: 14.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6651, allocations: 4.062 kB / 499.8 MB, free: 14.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000302/0.6654, allocations: 4 kB / 499.8 MB, free: 14.19 MB / 410.7 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.0004844/0.6659, allocations: 0.6813 MB / 0.4888 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.772e-05/0.666, allocations: 23.92 kB / 0.4888 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.666, allocations: 128 / 0.4888 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.646e-05/0.6661, allocations: 8 kB / 0.4888 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.6663, allocations: 8.547 kB / 0.4888 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.6668, allocations: 128.4 kB / 0.4889 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.6671, allocations: 0.6915 MB / 0.4896 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.614e-05/0.6671, allocations: 0 / 0.4896 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.6672, allocations: 15.44 kB / 0.4896 GB, free: 12.55 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.6672, allocations: 3.938 kB / 0.4896 GB, free: 12.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05252/0.7197, allocations: 1.287 MB / 0.4909 GB, free: 11.34 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002948/0.7201, allocations: 152.3 kB / 0.491 GB, free: 11.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.153, allocations: 0 / 0.491 GB, free: 11.11 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat does not exist to compare? outputFormat=mat