Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ResetHoldIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ResetHoldIntegrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.666/2.666, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.319e-05/4.326e-05, allocations: 4 kB / 323.5 MB, free: 4.23 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.4417, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.6268, allocations: 86.04 MB / 468.3 MB, free: 6.379 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.6271, allocations: 63.97 kB / 468.4 MB, free: 6.316 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.006568/0.6337, allocations: 1.6 MB / 470 MB, free: 4.711 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6338, allocations: 0 / 470 MB, free: 4.711 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.6338, allocations: 4 kB / 470 MB, free: 4.707 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006035/0.6344, allocations: 362.4 kB / 470.3 MB, free: 4.309 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.6345, allocations: 8.031 kB / 470.4 MB, free: 4.301 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.455e-05/0.6345, allocations: 46.55 kB / 470.4 MB, free: 4.246 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.6346, allocations: 7.906 kB / 470.4 MB, free: 4.238 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.6349, allocations: 198.8 kB / 470.6 MB, free: 4.004 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.6349, allocations: 4 kB / 470.6 MB, free: 4 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.6349, allocations: 8 kB / 470.6 MB, free: 3.992 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.6352, allocations: 69.67 kB / 470.7 MB, free: 3.918 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.6352, allocations: 0 / 470.7 MB, free: 3.918 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.6352, allocations: 7.984 kB / 470.7 MB, free: 3.91 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.6352, allocations: 4.219 kB / 470.7 MB, free: 3.906 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.6354, allocations: 28 kB / 470.7 MB, free: 3.879 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007849/0.6362, allocations: 368.4 kB / 471.1 MB, free: 3.469 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.6363, allocations: 42.52 kB / 471.1 MB, free: 3.418 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/0.6364, allocations: 21.02 kB / 471.1 MB, free: 3.395 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.6364, allocations: 7.984 kB / 471.2 MB, free: 3.387 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.6366, allocations: 63.41 kB / 471.2 MB, free: 3.312 MB / 394.8 MB Notification: Performance of pre-optimization done (n=7): time 2.695e-06/0.6366, allocations: 0 / 471.2 MB, free: 3.312 MB / 394.8 MB Notification: Performance of matching and sorting (n=7): time 0.0002534/0.6369, allocations: 73.58 kB / 471.3 MB, free: 3.234 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.637, allocations: 51.41 kB / 471.3 MB, free: 3.172 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.6371, allocations: 135.4 kB / 471.5 MB, free: 3.031 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.6372, allocations: 33.69 kB / 471.5 MB, free: 2.992 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.6373, allocations: 92.14 kB / 471.6 MB, free: 2.898 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.6373, allocations: 23.7 kB / 471.6 MB, free: 2.875 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.6373, allocations: 4 kB / 471.6 MB, free: 2.871 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6375, allocations: 314.8 kB / 471.9 MB, free: 2.555 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.6376, allocations: 16 kB / 471.9 MB, free: 2.539 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.204e-05/0.6376, allocations: 38.56 kB / 472 MB, free: 2.492 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.633e-05/0.6377, allocations: 16 kB / 472 MB, free: 2.477 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6377, allocations: 0 / 472 MB, free: 2.477 MB / 394.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002109/0.638, allocations: 85.52 kB / 472.1 MB, free: 2.387 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.638, allocations: 7.953 kB / 472.1 MB, free: 2.379 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.638, allocations: 192 / 472.1 MB, free: 2.379 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.638, allocations: 0 / 472.1 MB, free: 2.379 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.6382, allocations: 19.92 kB / 472.1 MB, free: 2.359 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.6382, allocations: 0 / 472.1 MB, free: 2.359 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.6383, allocations: 20.08 kB / 472.1 MB, free: 2.34 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.6384, allocations: 4 kB / 472.1 MB, free: 2.336 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,fallingEdge.y,$PRE.fallingEdge.not_u,fallingEdge.not_u) * 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 0.000105/0.6385, allocations: 111.7 kB / 472.2 MB, free: 2.223 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.6385, allocations: 11.89 kB / 472.3 MB, free: 2.211 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.6386, allocations: 16.58 kB / 472.3 MB, free: 2.195 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.6386, allocations: 0 / 472.3 MB, free: 2.195 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6386, allocations: 0 / 472.3 MB, free: 2.195 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6386, allocations: 0 / 472.3 MB, free: 2.195 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.6391, allocations: 342.5 kB / 472.6 MB, free: 1.805 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.6392, allocations: 3.953 kB / 472.6 MB, free: 1.801 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.855e-05/0.6393, allocations: 8 kB / 472.6 MB, free: 1.793 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.6393, allocations: 3.938 kB / 472.6 MB, free: 1.789 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.6393, allocations: 0 / 472.6 MB, free: 1.789 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.6393, allocations: 7.984 kB / 472.6 MB, free: 1.781 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6393, allocations: 0 / 472.6 MB, free: 1.781 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.6396, allocations: 191.7 kB / 472.8 MB, free: 1.578 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.6397, allocations: 84.97 kB / 472.9 MB, free: 1.477 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.6397, allocations: 8 kB / 472.9 MB, free: 1.469 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.6399, allocations: 12.02 kB / 472.9 MB, free: 1.457 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.64, allocations: 7.984 kB / 472.9 MB, free: 1.449 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.64, allocations: 0 / 472.9 MB, free: 1.449 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0001079/0.6401, allocations: 113.5 kB / 473 MB, free: 1.34 MB / 394.8 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6401, allocations: 0 / 473 MB, free: 1.34 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0003733/0.6405, allocations: 20 kB / 473.1 MB, free: 1.32 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: 5 (fallingEdge.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,fallingEdge.not_u) * Number of discrete states: 1 (fallingEdge.not_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.0006745/0.6412, allocations: 0.7203 MB / 473.8 MB, free: 0.5742 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.6414, allocations: 47.92 kB / 473.8 MB, free: 0.5273 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6415, allocations: 0 / 473.8 MB, free: 0.5273 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 8.175e-05/0.6415, allocations: 20 kB / 473.8 MB, free: 0.5078 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.6419, allocations: 20.17 kB / 473.9 MB, free: 500 kB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009024/0.6429, allocations: 178.5 kB / 474 MB, free: 284 kB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.6433, allocations: 0.7081 MB / 474.7 MB, free: 15.54 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.37e-05/0.6434, allocations: 9.75 kB / 474.8 MB, free: 15.54 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.6435, allocations: 31.42 kB / 474.8 MB, free: 15.5 MB / 410.8 MB Notification: Performance of SimCode: time 1.613e-06/0.6435, allocations: 0 / 474.8 MB, free: 15.5 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.665, allocations: 1.886 MB / 476.7 MB, free: 13.7 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/0.6654, allocations: 155.5 kB / 476.8 MB, free: 13.46 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.143, allocations: 3.938 kB / 476.8 MB, free: 13.45 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat does not exist to compare? outputFormat=mat