Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.511/3.511, allocations: 343.8 MB / 355.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.053e-05/5.056e-05, allocations: 8 kB / 436.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1909, allocations: 77.73 MB / 0.5023 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6525/0.8435, allocations: 107 MB / 0.6068 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.8438, allocations: 75.95 kB / 0.6069 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.009285/0.8531, allocations: 1.844 MB / 0.6087 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.315e-06/0.8532, allocations: 0 / 0.6087 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.8532, allocations: 5.203 kB / 0.6087 GB, free: 12.02 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008939/0.8541, allocations: 469.5 kB / 0.6091 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.8542, allocations: 8.031 kB / 0.6091 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.562e-05/0.8542, allocations: 50.5 kB / 0.6092 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.8543, allocations: 11.86 kB / 0.6092 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.8546, allocations: 200.9 kB / 0.6094 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.8546, allocations: 0 / 0.6094 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.8547, allocations: 12 kB / 0.6094 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.855, allocations: 97.64 kB / 0.6095 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.8551, allocations: 7.938 kB / 0.6095 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.8551, allocations: 0 / 0.6095 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.8551, allocations: 3.953 kB / 0.6095 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.8554, allocations: 63.97 kB / 0.6095 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008983/0.8563, allocations: 356.7 kB / 0.6099 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.8565, allocations: 94.64 kB / 0.61 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.8567, allocations: 76.84 kB / 0.6101 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.8568, allocations: 3.953 kB / 0.6101 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000286/0.8571, allocations: 115.3 kB / 0.6102 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 4.208e-06/0.8571, allocations: 3.984 kB / 0.6102 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0005247/0.8576, allocations: 187.1 kB / 0.6103 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.203e-05/0.8577, allocations: 93.09 kB / 0.6104 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.8579, allocations: 126.7 kB / 0.6106 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.8579, allocations: 29.7 kB / 0.6106 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.187e-05/0.858, allocations: 108 kB / 0.6107 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/0.8581, allocations: 27.61 kB / 0.6107 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/0.8581, allocations: 8 kB / 0.6107 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.8583, allocations: 318.8 kB / 0.611 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.8585, allocations: 55.97 kB / 0.6111 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.8586, allocations: 55.98 kB / 0.6111 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.8589, allocations: 111.4 kB / 0.6112 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8589, allocations: 4 kB / 0.6112 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005202/0.8594, allocations: 237 kB / 0.6115 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.657e-05/0.8595, allocations: 76 kB / 0.6115 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8595, allocations: 0 / 0.6115 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.8596, allocations: 0 / 0.6115 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.8598, allocations: 19.98 kB / 0.6116 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.8599, allocations: 4 kB / 0.6116 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.8602, allocations: 43.8 kB / 0.6116 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.8603, allocations: 4 kB / 0.6116 GB, free: 8.719 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001602/0.8604, allocations: 150.7 kB / 0.6118 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.8605, allocations: 15.86 kB / 0.6118 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/0.8605, allocations: 12.61 kB / 0.6118 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.8606, allocations: 0 / 0.6118 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.8606, allocations: 0 / 0.6118 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.8606, allocations: 8 kB / 0.6118 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.8608, allocations: 197.6 kB / 0.612 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8609, allocations: 0 / 0.612 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.8611, allocations: 23.92 kB / 0.612 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.8611, allocations: 3.953 kB / 0.612 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.8611, allocations: 7.984 kB / 0.612 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.8611, allocations: 0 / 0.612 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8611, allocations: 0 / 0.612 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/0.8617, allocations: 254.6 kB / 0.6123 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.8618, allocations: 85.02 kB / 0.6123 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.8618, allocations: 3.953 kB / 0.6123 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.8622, allocations: 39.95 kB / 0.6124 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.8623, allocations: 27.91 kB / 0.6124 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.8623, allocations: 8 kB / 0.6124 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001019/0.8625, allocations: 106 kB / 0.6125 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8625, allocations: 0 / 0.6125 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003494/0.8628, allocations: 28 kB / 0.6125 GB, free: 7.66 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0009018/0.8637, allocations: 0.7936 MB / 0.6133 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005677/0.8643, allocations: 290.7 kB / 0.6136 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8644, allocations: 0 / 0.6136 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003146/0.8647, allocations: 167.5 kB / 0.6137 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.8649, allocations: 8 kB / 0.6138 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009009/0.8659, allocations: 251.2 kB / 0.614 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.8662, allocations: 0.7004 MB / 0.6147 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.8663, allocations: 15.98 kB / 0.6147 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.949e-05/0.8664, allocations: 27.42 kB / 0.6147 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of SimCode: time 4.318e-06/0.8664, allocations: 0 / 0.6147 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/0.8952, allocations: 2.666 MB / 0.6173 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003937/0.8957, allocations: 156.7 kB / 0.6175 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/3.314, allocations: 3.938 kB / 0.6175 GB, free: 2.484 MB / 0.4948 GB