Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.182/4.182, allocations: 460.5 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.864e-05/3.887e-05, allocations: 8 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2317, allocations: 106.2 MB / 0.6719 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9548/1.187, allocations: 133.4 MB / 0.8022 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.187, allocations: 74.95 kB / 0.8023 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01318/1.2, allocations: 3.417 MB / 0.8056 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.592e-06/1.2, allocations: 0 / 0.8056 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.894e-05/1.2, allocations: 15.78 kB / 0.8056 GB, free: 12.61 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006728/1.201, allocations: 444.2 kB / 0.8061 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.201, allocations: 11.56 kB / 0.8061 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.093e-05/1.201, allocations: 41.42 kB / 0.8061 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/1.201, allocations: 23.3 kB / 0.8061 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/1.201, allocations: 226.8 kB / 0.8063 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/1.201, allocations: 7.062 kB / 0.8063 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/1.201, allocations: 14.06 kB / 0.8064 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/1.202, allocations: 131 kB / 0.8065 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.202, allocations: 0 / 0.8065 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/1.202, allocations: 6.719 kB / 0.8065 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/1.202, allocations: 7.812 kB / 0.8065 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/1.202, allocations: 49.59 kB / 0.8065 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/1.203, allocations: 0.7511 MB / 0.8073 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.168e-05/1.203, allocations: 37.36 kB / 0.8073 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/1.203, allocations: 26.52 kB / 0.8073 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/1.203, allocations: 2.859 kB / 0.8073 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/1.204, allocations: 112.8 kB / 0.8075 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.515e-06/1.204, allocations: 0 / 0.8075 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.000282/1.204, allocations: 102.3 kB / 0.8076 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/1.204, allocations: 143.5 kB / 0.8077 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/1.204, allocations: 173.6 kB / 0.8079 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/1.204, allocations: 33.05 kB / 0.8079 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/1.204, allocations: 127.6 kB / 0.808 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/1.204, allocations: 37.11 kB / 0.808 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/1.204, allocations: 3.75 kB / 0.808 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.701e-05/1.204, allocations: 329.3 kB / 0.8084 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.949e-05/1.204, allocations: 33.03 kB / 0.8084 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/1.205, allocations: 121 kB / 0.8085 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/1.205, allocations: 50.22 kB / 0.8086 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/1.205, allocations: 3.781 kB / 0.8086 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003325/1.205, allocations: 170.9 kB / 0.8087 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/1.205, allocations: 7.719 kB / 0.8087 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.205, allocations: 3.906 kB / 0.8087 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/1.205, allocations: 7.844 kB / 0.8087 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/1.205, allocations: 39.81 kB / 0.8088 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/1.205, allocations: 7.797 kB / 0.8088 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/1.206, allocations: 36.42 kB / 0.8088 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/1.206, allocations: 11.53 kB / 0.8088 GB, free: 10.12 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.437e-05/1.206, allocations: 119.1 kB / 0.8089 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/1.206, allocations: 18.08 kB / 0.809 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/1.206, allocations: 24.77 kB / 0.809 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.206, allocations: 0 / 0.809 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.206, allocations: 3.844 kB / 0.809 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/1.206, allocations: 3.953 kB / 0.809 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007902/1.207, allocations: 0.4922 MB / 0.8095 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.207, allocations: 0 / 0.8095 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/1.207, allocations: 22.09 kB / 0.8095 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.207, allocations: 3.812 kB / 0.8095 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/1.207, allocations: 4 kB / 0.8095 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.207, allocations: 10.75 kB / 0.8095 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.207, allocations: 0 / 0.8095 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/1.207, allocations: 361.3 kB / 0.8099 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/1.207, allocations: 96.78 kB / 0.8099 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/1.207, allocations: 2.75 kB / 0.81 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/1.208, allocations: 17.25 kB / 0.81 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/1.208, allocations: 15.72 kB / 0.81 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/1.208, allocations: 3.844 kB / 0.81 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001213/1.208, allocations: 147.7 kB / 0.8101 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.7e-07/1.208, allocations: 0 / 0.8101 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000498/1.208, allocations: 33.95 kB / 0.8102 GB, free: 9.113 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.001146/1.21, allocations: 1.1 MB / 0.8112 GB, free: 24.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002686/1.21, allocations: 83.64 kB / 0.8113 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.21, allocations: 1 kB / 0.8113 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/1.21, allocations: 34.28 kB / 0.8113 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006542/1.211, allocations: 74.48 kB / 0.8114 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000902/1.212, allocations: 308.5 kB / 0.8117 GB, free: 23.87 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/1.212, allocations: 0.7304 MB / 0.8124 GB, free: 23.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00012/1.212, allocations: 12.42 kB / 0.8124 GB, free: 23.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.934e-05/1.212, allocations: 55.39 kB / 0.8125 GB, free: 23.15 MB / 0.6511 GB Notification: Performance of SimCode: time 1.042e-06/1.212, allocations: 0 / 0.8125 GB, free: 23.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/1.236, allocations: 3.501 MB / 0.8159 GB, free: 22.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/1.236, allocations: 161.6 kB / 0.8161 GB, free: 22.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/3.685, allocations: 0 / 0.8161 GB, free: 22.55 MB / 0.6511 GB