Running command: "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.185/3.185, allocations: 325.3 MB / 337.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.842e-05, allocations: 8 kB / 414.9 MB, free: 6.074 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1755, allocations: 74.41 MB / 489.3 MB, free: 11.52 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6379/0.8135, allocations: 103.3 MB / 0.5787 GB, free: 12.45 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.8138, allocations: 61.2 kB / 0.5788 GB, free: 12.42 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04683/0.8606, allocations: 10.21 MB / 0.5888 GB, free: 3.691 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.8607, allocations: 4 kB / 0.5888 GB, free: 3.688 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.922e-05/0.8608, allocations: 23.88 kB / 0.5888 GB, free: 3.664 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00159/0.8624, allocations: 0.7382 MB / 0.5895 GB, free: 2.906 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.8624, allocations: 8.031 kB / 0.5895 GB, free: 2.898 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.872e-05/0.8625, allocations: 48.92 kB / 0.5896 GB, free: 2.852 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.8627, allocations: 59.25 kB / 0.5896 GB, free: 2.793 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.864, allocations: 0.514 MB / 0.5901 GB, free: 2.293 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.864, allocations: 15.5 kB / 0.5901 GB, free: 2.281 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.8641, allocations: 11.75 kB / 0.5901 GB, free: 2.273 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005731/0.8647, allocations: 217.9 kB / 0.5904 GB, free: 2.098 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.8647, allocations: 0 / 0.5904 GB, free: 2.098 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.8647, allocations: 7.062 kB / 0.5904 GB, free: 2.094 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-05/0.8648, allocations: 11.98 kB / 0.5904 GB, free: 2.082 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007695/0.8656, allocations: 270.6 kB / 0.5906 GB, free: 1.879 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.8677, allocations: 0.9039 MB / 0.5915 GB, free: 1.09 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/0.8684, allocations: 281.6 kB / 0.5918 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.8688, allocations: 137.1 kB / 0.5919 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.13e-05/0.8688, allocations: 3.984 kB / 0.5919 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.8689, allocations: 38.55 kB / 0.592 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of pre-optimization done (n=23): time 3.367e-06/0.8689, allocations: 0 / 0.592 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009317/0.8698, allocations: 306.3 kB / 0.5922 GB, free: 480 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.8699, allocations: 84.23 kB / 0.5923 GB, free: 380 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.8716, allocations: 0.7807 MB / 0.5931 GB, free: 15.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/0.8717, allocations: 33.5 kB / 0.5931 GB, free: 15.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.872, allocations: 281 kB / 0.5934 GB, free: 15.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.8722, allocations: 62.42 kB / 0.5934 GB, free: 15.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.8722, allocations: 0 / 0.5934 GB, free: 15.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.8724, allocations: 383 kB / 0.5938 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.8727, allocations: 105 kB / 0.5939 GB, free: 15.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.8731, allocations: 135.1 kB / 0.594 GB, free: 14.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.8733, allocations: 74.2 kB / 0.5941 GB, free: 14.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.8733, allocations: 0 / 0.5941 GB, free: 14.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008515/0.8742, allocations: 311.1 kB / 0.5944 GB, free: 14.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.8742, allocations: 4 kB / 0.5944 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.8743, allocations: 0 / 0.5944 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.8743, allocations: 0 / 0.5944 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007864/0.8751, allocations: 95.88 kB / 0.5945 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.8751, allocations: 3.938 kB / 0.5945 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000589/0.8757, allocations: 67.73 kB / 0.5946 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.8758, allocations: 11.98 kB / 0.5946 GB, free: 14.5 MB / 490.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: 10 (fctEsc1.u[1],fctEsc1.u[2],fctEsc1.u[3],fctEsc1.u[4],fctEsc1.u[5],fctEscPer1.u[1],fctEscPer1.u[2],fctEscPer1.u[3],fctEscPer1.u[4],fctEscPer1.u[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001515/0.8759, allocations: 112.1 kB / 0.5947 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.8762, allocations: 59.25 kB / 0.5947 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.8772, allocations: 358.6 kB / 0.5951 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.577e-06/0.8773, allocations: 4 kB / 0.5951 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.8773, allocations: 3.953 kB / 0.5951 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.8773, allocations: 3.984 kB / 0.5951 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.8783, allocations: 0.4991 MB / 0.5956 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.8784, allocations: 0 / 0.5956 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007611/0.8791, allocations: 95.86 kB / 0.5957 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.8792, allocations: 0 / 0.5957 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/0.8792, allocations: 11.3 kB / 0.5957 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.8792, allocations: 0 / 0.5957 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.8792, allocations: 0 / 0.5957 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009696/0.8802, allocations: 496.8 kB / 0.5962 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/0.8805, allocations: 174.1 kB / 0.5963 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.8807, allocations: 7.75 kB / 0.5963 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005893/0.8813, allocations: 59.58 kB / 0.5964 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003507/0.8816, allocations: 102 kB / 0.5965 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.8817, allocations: 11.98 kB / 0.5965 GB, free: 12.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001278/0.883, allocations: 0.6228 MB / 0.5971 GB, free: 12.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.883, allocations: 0 / 0.5971 GB, free: 12.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006399/0.8836, allocations: 83.38 kB / 0.5972 GB, free: 12.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[1],fctEsc1.u[2],fctEsc1.u[3],fctEsc1.u[4],fctEsc1.u[5],fctEscPer1.u[1],fctEscPer1.u[2],fctEscPer1.u[3],fctEscPer1.u[4],fctEscPer1.u[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.002243/0.8859, allocations: 1.356 MB / 0.5985 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007439/0.8867, allocations: 245 kB / 0.5987 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.8867, allocations: 0 / 0.5987 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.8872, allocations: 184.5 kB / 0.5989 GB, free: 10.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008085/0.888, allocations: 71.75 kB / 0.599 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.8908, allocations: 0.9415 MB / 0.5999 GB, free: 9.762 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007723/0.8916, allocations: 0.904 MB / 0.6008 GB, free: 8.848 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005258/0.8921, allocations: 114.8 kB / 0.6009 GB, free: 8.738 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/0.8926, allocations: 196.8 kB / 0.6011 GB, free: 8.68 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/0.8926, allocations: 0 / 0.6011 GB, free: 8.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04119/0.9338, allocations: 10.47 MB / 0.6113 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/0.9341, allocations: 213.7 kB / 0.6115 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.662/3.596, allocations: 0 / 0.6115 GB, free: 14.07 MB / 0.4948 GB