Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.385/3.385, allocations: 325.3 MB / 337.4 MB, free: 10.12 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.797e-05, allocations: 4 kB / 414.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1745, allocations: 74.42 MB / 489.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7037/0.8782, allocations: 104.1 MB / 0.5795 GB, free: 11.32 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.8786, allocations: 76.2 kB / 0.5795 GB, free: 11.27 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01463/0.8932, allocations: 3.468 MB / 0.5829 GB, free: 8.297 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.8933, allocations: 0 / 0.5829 GB, free: 8.297 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.8933, allocations: 4 kB / 0.5829 GB, free: 8.293 MB / 474.7 MB 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.0008106/0.8941, allocations: 436.5 kB / 0.5834 GB, free: 7.832 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.8942, allocations: 16.02 kB / 0.5834 GB, free: 7.816 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.116e-05/0.8943, allocations: 40.81 kB / 0.5834 GB, free: 7.773 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.8944, allocations: 15.81 kB / 0.5834 GB, free: 7.758 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.8947, allocations: 233.3 kB / 0.5836 GB, free: 7.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.8948, allocations: 7.562 kB / 0.5837 GB, free: 7.496 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.8948, allocations: 11.25 kB / 0.5837 GB, free: 7.488 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.8951, allocations: 138.8 kB / 0.5838 GB, free: 7.359 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.8951, allocations: 3.938 kB / 0.5838 GB, free: 7.355 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.8952, allocations: 3.062 kB / 0.5838 GB, free: 7.355 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.8952, allocations: 4 kB / 0.5838 GB, free: 7.352 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.8953, allocations: 38.69 kB / 0.5838 GB, free: 7.324 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.8968, allocations: 0.7665 MB / 0.5846 GB, free: 6.543 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.8969, allocations: 40.11 kB / 0.5846 GB, free: 6.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.897, allocations: 22.92 kB / 0.5847 GB, free: 6.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.897, allocations: 0 / 0.5847 GB, free: 6.48 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/0.8973, allocations: 115.7 kB / 0.5848 GB, free: 6.359 MB / 474.7 MB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/0.8974, allocations: 0 / 0.5848 GB, free: 6.359 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003607/0.8977, allocations: 102 kB / 0.5849 GB, free: 6.266 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.539e-05/0.8978, allocations: 132.5 kB / 0.585 GB, free: 6.105 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.8981, allocations: 172.8 kB / 0.5851 GB, free: 5.949 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.8981, allocations: 32.89 kB / 0.5852 GB, free: 5.914 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.8982, allocations: 128.7 kB / 0.5853 GB, free: 5.805 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.8983, allocations: 32.27 kB / 0.5853 GB, free: 5.781 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.8983, allocations: 4 kB / 0.5853 GB, free: 5.777 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.8985, allocations: 337.6 kB / 0.5857 GB, free: 5.449 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.978e-05/0.8986, allocations: 27.88 kB / 0.5857 GB, free: 5.426 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.8987, allocations: 137.6 kB / 0.5858 GB, free: 5.254 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.8989, allocations: 43.52 kB / 0.5859 GB, free: 5.219 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.8989, allocations: 4 kB / 0.5859 GB, free: 5.215 MB / 474.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004004/0.8993, allocations: 168.5 kB / 0.586 GB, free: 5.066 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.8994, allocations: 11.94 kB / 0.586 GB, free: 5.055 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.8994, allocations: 4 kB / 0.586 GB, free: 5.051 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.8994, allocations: 4.062 kB / 0.586 GB, free: 5.047 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.8997, allocations: 44.42 kB / 0.5861 GB, free: 5.004 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.8997, allocations: 11.92 kB / 0.5861 GB, free: 4.992 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.9, allocations: 30.33 kB / 0.5861 GB, free: 4.965 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.9, allocations: 11.5 kB / 0.5861 GB, free: 4.957 MB / 474.7 MB 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 0.0001127/0.9001, allocations: 125.8 kB / 0.5863 GB, free: 4.836 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.9002, allocations: 19.75 kB / 0.5863 GB, free: 4.816 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.368e-05/0.9003, allocations: 26.02 kB / 0.5863 GB, free: 4.801 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.9003, allocations: 4 kB / 0.5863 GB, free: 4.797 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.9003, allocations: 0 / 0.5863 GB, free: 4.797 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.9003, allocations: 0 / 0.5863 GB, free: 4.797 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.9013, allocations: 495.8 kB / 0.5868 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.9014, allocations: 4 kB / 0.5868 GB, free: 4.289 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.9016, allocations: 23.36 kB / 0.5868 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.9016, allocations: 4 kB / 0.5868 GB, free: 4.266 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.9017, allocations: 0 / 0.5868 GB, free: 4.266 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.9017, allocations: 4 kB / 0.5868 GB, free: 4.262 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9017, allocations: 0 / 0.5868 GB, free: 4.262 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.9021, allocations: 368.2 kB / 0.5872 GB, free: 3.895 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.767e-05/0.9022, allocations: 93.19 kB / 0.5873 GB, free: 3.785 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.9023, allocations: 7.953 kB / 0.5873 GB, free: 3.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.9026, allocations: 19.67 kB / 0.5873 GB, free: 3.762 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.9027, allocations: 15.97 kB / 0.5873 GB, free: 3.746 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.9027, allocations: 4 kB / 0.5873 GB, free: 3.742 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001672/0.9029, allocations: 146.6 kB / 0.5874 GB, free: 3.617 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.9029, allocations: 0 / 0.5874 GB, free: 3.617 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004865/0.9034, allocations: 31.44 kB / 0.5875 GB, free: 3.59 MB / 474.7 MB 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.0008644/0.9043, allocations: 1.1 MB / 0.5885 GB, free: 2.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.9046, allocations: 90.25 kB / 0.5886 GB, free: 2.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9046, allocations: 4 kB / 0.5886 GB, free: 2.406 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.9047, allocations: 35.17 kB / 0.5887 GB, free: 2.379 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007206/0.9054, allocations: 67.95 kB / 0.5887 GB, free: 2.328 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009846/0.9064, allocations: 303.4 kB / 0.589 GB, free: 2.012 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.9068, allocations: 0.7285 MB / 0.5897 GB, free: 1.258 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.9069, allocations: 13.55 kB / 0.5897 GB, free: 1.238 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.9071, allocations: 55.48 kB / 0.5898 GB, free: 1.211 MB / 474.7 MB Notification: Performance of SimCode: time 9.32e-07/0.9071, allocations: 0 / 0.5898 GB, free: 1.211 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.9407, allocations: 3.542 MB / 0.5933 GB, free: 13.76 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003762/0.9411, allocations: 162 kB / 0.5934 GB, free: 13.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/3.499, allocations: 3.938 kB / 0.5934 GB, free: 13.53 MB / 490.7 MB