Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimResetIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimResetIntegrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.605/2.605, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.724e-05/4.738e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.456, allocations: 58.82 MB / 382.3 MB, free: 10.24 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1685/0.6245, allocations: 86.37 MB / 468.7 MB, free: 6.051 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.6249, allocations: 63.97 kB / 468.7 MB, free: 5.988 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01499/0.6399, allocations: 2.872 MB / 471.6 MB, free: 3.117 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6399, allocations: 0 / 471.6 MB, free: 3.117 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.6399, allocations: 0 / 471.6 MB, free: 3.117 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009773/0.6409, allocations: 415.9 kB / 472 MB, free: 2.668 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.641, allocations: 8.031 kB / 472 MB, free: 2.66 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.817e-05/0.6411, allocations: 42.5 kB / 472 MB, free: 2.609 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.395e-05/0.6412, allocations: 11.91 kB / 472.1 MB, free: 2.598 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.6416, allocations: 210.8 kB / 472.3 MB, free: 2.352 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.6417, allocations: 12 kB / 472.3 MB, free: 2.34 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.6417, allocations: 8 kB / 472.3 MB, free: 2.332 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.642, allocations: 79.08 kB / 472.4 MB, free: 2.25 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.642, allocations: 0 / 472.4 MB, free: 2.25 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.642, allocations: 4 kB / 472.4 MB, free: 2.246 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.6421, allocations: 0 / 472.4 MB, free: 2.246 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.6422, allocations: 47.78 kB / 472.4 MB, free: 2.199 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000937/0.6431, allocations: 384.5 kB / 472.8 MB, free: 1.773 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.6433, allocations: 50.56 kB / 472.8 MB, free: 1.715 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.447e-05/0.6434, allocations: 21.02 kB / 472.9 MB, free: 1.691 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.6435, allocations: 11.94 kB / 472.9 MB, free: 1.68 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.6437, allocations: 75.38 kB / 472.9 MB, free: 1.594 MB / 394.8 MB Notification: Performance of pre-optimization done (n=7): time 3.486e-06/0.6437, allocations: 0 / 472.9 MB, free: 1.594 MB / 394.8 MB Notification: Performance of matching and sorting (n=7): time 0.0002821/0.644, allocations: 77.52 kB / 473 MB, free: 1.512 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.644, allocations: 55.41 kB / 473.1 MB, free: 1.445 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.6442, allocations: 132.5 kB / 473.2 MB, free: 1.309 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.6443, allocations: 29.7 kB / 473.2 MB, free: 1.273 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.6444, allocations: 108.2 kB / 473.3 MB, free: 1.164 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.6444, allocations: 19.89 kB / 473.4 MB, free: 1.145 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.6444, allocations: 0 / 473.4 MB, free: 1.145 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6446, allocations: 318.8 kB / 473.7 MB, free: 0.8242 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.6447, allocations: 20 kB / 473.7 MB, free: 0.8047 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.329e-05/0.6447, allocations: 33.72 kB / 473.7 MB, free: 0.7656 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.006e-05/0.6448, allocations: 15.98 kB / 473.7 MB, free: 0.75 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6448, allocations: 4 kB / 473.7 MB, free: 0.7461 MB / 394.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002078/0.6451, allocations: 85.53 kB / 473.8 MB, free: 0.6562 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.6451, allocations: 7.953 kB / 473.8 MB, free: 0.6484 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6451, allocations: 3.938 kB / 473.8 MB, free: 0.6445 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.6451, allocations: 0 / 473.8 MB, free: 0.6445 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.6453, allocations: 19.98 kB / 473.9 MB, free: 0.625 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.6454, allocations: 0 / 473.9 MB, free: 0.625 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.6455, allocations: 27.92 kB / 473.9 MB, free: 0.5977 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.6456, allocations: 4 kB / 473.9 MB, free: 0.5938 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: 7 ($whenCondition1,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.change.u,change.u,change.y) * 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 9.549e-05/0.6457, allocations: 109.3 kB / 474 MB, free: 492 kB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.6457, allocations: 7.906 kB / 474 MB, free: 484 kB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.6458, allocations: 12.58 kB / 474 MB, free: 472 kB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.6458, allocations: 11.92 kB / 474 MB, free: 460 kB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.6458, allocations: 0 / 474 MB, free: 460 kB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6458, allocations: 4 kB / 474 MB, free: 456 kB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005335/0.6464, allocations: 358.4 kB / 474.4 MB, free: 40 kB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6464, allocations: 4 kB / 474.4 MB, free: 36 kB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.6466, allocations: 15.94 kB / 474.4 MB, free: 20 kB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.6466, allocations: 0 / 474.4 MB, free: 20 kB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.6466, allocations: 4 kB / 474.4 MB, free: 16 kB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6466, allocations: 0 / 474.4 MB, free: 16 kB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6466, allocations: 0 / 474.4 MB, free: 16 kB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.647, allocations: 203.9 kB / 474.6 MB, free: 15.8 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.6471, allocations: 85 kB / 474.7 MB, free: 15.7 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.6472, allocations: 7.984 kB / 474.7 MB, free: 15.69 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.6474, allocations: 19.98 kB / 474.7 MB, free: 15.67 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.6475, allocations: 24.03 kB / 474.7 MB, free: 15.65 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.6476, allocations: 4 kB / 474.7 MB, free: 15.64 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001172/0.6477, allocations: 107.8 kB / 474.8 MB, free: 15.54 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6477, allocations: 0 / 474.8 MB, free: 15.54 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003475/0.6481, allocations: 20 kB / 474.9 MB, free: 15.52 MB / 410.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: 5 (change.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,change.u) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006987/0.6488, allocations: 0.7319 MB / 475.6 MB, free: 14.76 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.649, allocations: 44 kB / 475.6 MB, free: 14.72 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.649, allocations: 0 / 475.6 MB, free: 14.72 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.6491, allocations: 31.94 kB / 475.7 MB, free: 14.69 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.6495, allocations: 15.94 kB / 475.7 MB, free: 14.67 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007241/0.6502, allocations: 176.8 kB / 475.9 MB, free: 14.46 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.6506, allocations: 0.7121 MB / 476.6 MB, free: 13.72 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.967e-05/0.6507, allocations: 8.562 kB / 476.6 MB, free: 13.71 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.993e-05/0.6508, allocations: 31.42 kB / 476.6 MB, free: 13.68 MB / 410.8 MB Notification: Performance of SimCode: time 1.132e-06/0.6508, allocations: 3.938 kB / 476.6 MB, free: 13.68 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.6724, allocations: 2.185 MB / 478.8 MB, free: 11.57 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003229/0.6728, allocations: 146.5 kB / 478.9 MB, free: 11.34 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/3.248, allocations: 0 / 478.9 MB, free: 11.34 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat does not exist to compare? outputFormat=mat