Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.508/3.508, allocations: 343.8 MB / 355.9 MB, free: 9.402 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.923e-05, allocations: 4 kB / 436.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1936, allocations: 77.73 MB / 0.5023 GB, free: 4.516 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6605/0.8541, allocations: 114.1 MB / 0.6137 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/0.8545, allocations: 79.95 kB / 0.6138 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08972/0.9442, allocations: 19.83 MB / 0.6332 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9443, allocations: 0 / 0.6332 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001234/0.9444, allocations: 28.12 kB / 0.6332 GB, free: 2.875 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002855/0.9473, allocations: 1.082 MB / 0.6343 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.9473, allocations: 8.031 kB / 0.6343 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002162/0.9476, allocations: 110.5 kB / 0.6344 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003415/0.9479, allocations: 126.5 kB / 0.6345 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.9501, allocations: 0.7308 MB / 0.6352 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.9502, allocations: 83.7 kB / 0.6353 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.9504, allocations: 68 kB / 0.6354 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.9522, allocations: 0.712 MB / 0.6361 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.9523, allocations: 0 / 0.6361 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.9524, allocations: 32 kB / 0.6361 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.9524, allocations: 16 kB / 0.6361 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.9539, allocations: 482.5 kB / 0.6366 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005839/0.9597, allocations: 2.361 MB / 0.6389 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.9617, allocations: 0.5756 MB / 0.6394 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006/0.9623, allocations: 222.5 kB / 0.6396 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.921e-05/0.9624, allocations: 12.55 kB / 0.6397 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008221/0.9632, allocations: 298 kB / 0.6399 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=60): time 3.266e-06/0.9633, allocations: 0 / 0.6399 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=60): time 0.00162/0.9649, allocations: 0.5179 MB / 0.6404 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.884e-05/0.965, allocations: 137.1 kB / 0.6406 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.9664, allocations: 0.6614 MB / 0.6412 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.9665, allocations: 37.7 kB / 0.6413 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00051/0.9671, allocations: 440.4 kB / 0.6417 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.9673, allocations: 209 kB / 0.6419 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.9674, allocations: 8 kB / 0.6419 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.9676, allocations: 334 kB / 0.6422 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/0.9681, allocations: 177.6 kB / 0.6424 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008156/0.969, allocations: 299.7 kB / 0.6427 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.9697, allocations: 211.2 kB / 0.6429 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.9697, allocations: 0 / 0.6429 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001763/0.9715, allocations: 0.6071 MB / 0.6435 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003998/0.9719, allocations: 0.8721 MB / 0.6443 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.9719, allocations: 8 kB / 0.6443 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.972, allocations: 7.953 kB / 0.6443 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.9737, allocations: 155.8 kB / 0.6445 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.43e-05/0.9737, allocations: 11.98 kB / 0.6445 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.9748, allocations: 91.34 kB / 0.6446 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.416e-05/0.9749, allocations: 20 kB / 0.6446 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.9749, allocations: 4 kB / 0.6446 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001404/0.9763, allocations: 0.4894 MB / 0.6451 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.9763, allocations: 4.25 kB / 0.6451 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.9764, allocations: 8 kB / 0.6451 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.9779, allocations: 155.8 kB / 0.6452 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.978, allocations: 7.938 kB / 0.6452 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009756/0.979, allocations: 75.5 kB / 0.6453 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/0.979, allocations: 20 kB / 0.6453 GB, free: 6.023 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0002685/0.9793, allocations: 140.8 kB / 0.6455 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.9795, allocations: 94.92 kB / 0.6456 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003532/0.9799, allocations: 109.3 kB / 0.6457 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.9799, allocations: 8 kB / 0.6457 GB, free: 5.668 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.9799, allocations: 0 / 0.6457 GB, free: 5.668 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.98, allocations: 0 / 0.6457 GB, free: 5.668 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.9833, allocations: 1.443 MB / 0.6471 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.9833, allocations: 0 / 0.6471 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.9845, allocations: 111.8 kB / 0.6472 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.575e-05/0.9845, allocations: 4 kB / 0.6472 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.587e-05/0.9846, allocations: 19.92 kB / 0.6472 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-06/0.9846, allocations: 8 kB / 0.6472 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.9846, allocations: 0 / 0.6472 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.9869, allocations: 0.9188 MB / 0.6481 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004745/0.9874, allocations: 227.8 kB / 0.6483 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.9876, allocations: 16 kB / 0.6483 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009981/0.9886, allocations: 55.89 kB / 0.6484 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.9888, allocations: 40.44 kB / 0.6484 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.831e-05/0.9889, allocations: 19.98 kB / 0.6485 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001103/0.99, allocations: 0.5111 MB / 0.649 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.9e-07/0.99, allocations: 0 / 0.649 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001314/0.9913, allocations: 279.1 kB / 0.6492 GB, free: 1.922 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.002775/0.9941, allocations: 1.5 MB / 0.6507 GB, free: 400 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002254/0.9964, allocations: 0.7675 MB / 0.6514 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.9964, allocations: 320 / 0.6514 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006719/0.9971, allocations: 250 kB / 0.6517 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.9991, allocations: 227 kB / 0.6519 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/1.003, allocations: 1.317 MB / 0.6532 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/1.004, allocations: 1.019 MB / 0.6542 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001382/1.006, allocations: 182.2 kB / 0.6543 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000727/1.006, allocations: 339.3 kB / 0.6547 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of SimCode: time 1.793e-06/1.006, allocations: 7.938 kB / 0.6547 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06585/1.072, allocations: 18.43 MB / 0.6727 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/1.073, allocations: 161.6 kB / 0.6728 GB, free: 9.723 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.42/4.493, allocations: 0 / 0.6728 GB, free: 9.723 MB / 0.5573 GB