Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.LimPID,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.42/3.42, allocations: 343.8 MB / 355.9 MB, free: 9.352 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.452e-05/4.471e-05, allocations: 7.984 kB / 436.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1934, allocations: 77.73 MB / 0.5023 GB, free: 4.465 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7196/0.9131, allocations: 113.7 MB / 0.6134 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/0.9135, allocations: 75.95 kB / 0.6134 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08178/0.9953, allocations: 16.9 MB / 0.6299 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9954, allocations: 0 / 0.6299 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.751e-05/0.9955, allocations: 16 kB / 0.63 GB, free: 6.102 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002542/0.998, allocations: 0.9528 MB / 0.6309 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.9981, allocations: 12.03 kB / 0.6309 GB, free: 5.086 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001987/0.9983, allocations: 90.52 kB / 0.631 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003103/0.9986, allocations: 94.88 kB / 0.6311 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/1, allocations: 0.5862 MB / 0.6317 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/1, allocations: 100.4 kB / 0.6317 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/1.001, allocations: 59.91 kB / 0.6318 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/1.002, allocations: 0.5727 MB / 0.6324 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/1.002, allocations: 3.953 kB / 0.6324 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.874e-05/1.002, allocations: 23.94 kB / 0.6324 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/1.002, allocations: 12 kB / 0.6324 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/1.003, allocations: 365.8 kB / 0.6328 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005093/1.008, allocations: 2.208 MB / 0.6349 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/1.01, allocations: 451.3 kB / 0.6353 GB, free: 336 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004651/1.01, allocations: 172.8 kB / 0.6355 GB, free: 160 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-05/1.01, allocations: 8 kB / 0.6355 GB, free: 152 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000709/1.011, allocations: 251.8 kB / 0.6357 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 4.138e-06/1.011, allocations: 0 / 0.6357 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.001317/1.013, allocations: 410.5 kB / 0.6361 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.013, allocations: 191.9 kB / 0.6363 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/1.014, allocations: 0.535 MB / 0.6368 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/1.014, allocations: 37.7 kB / 0.6369 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/1.014, allocations: 364.9 kB / 0.6372 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/1.015, allocations: 157.6 kB / 0.6374 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/1.015, allocations: 12 kB / 0.6374 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.015, allocations: 322 kB / 0.6377 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000454/1.015, allocations: 153.1 kB / 0.6378 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/1.016, allocations: 282.9 kB / 0.6381 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/1.016, allocations: 202 kB / 0.6383 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/1.016, allocations: 7.938 kB / 0.6383 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001486/1.018, allocations: 0.5322 MB / 0.6388 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004579/1.018, allocations: 0.9906 MB / 0.6398 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/1.018, allocations: 7.984 kB / 0.6398 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/1.018, allocations: 4.062 kB / 0.6398 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.019, allocations: 127.8 kB / 0.6399 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/1.02, allocations: 4 kB / 0.6399 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/1.021, allocations: 79.55 kB / 0.64 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.404e-05/1.021, allocations: 20 kB / 0.64 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.021, allocations: 8.578 kB / 0.64 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001278/1.022, allocations: 455.9 kB / 0.6405 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/1.022, allocations: 4 kB / 0.6405 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/1.022, allocations: 7.984 kB / 0.6405 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009218/1.023, allocations: 116.1 kB / 0.6406 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/1.023, allocations: 7.984 kB / 0.6406 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009412/1.024, allocations: 75.5 kB / 0.6407 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/1.024, allocations: 16 kB / 0.6407 GB, free: 10.61 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0003022/1.024, allocations: 140.9 kB / 0.6408 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/1.024, allocations: 75.11 kB / 0.6409 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/1.025, allocations: 83.11 kB / 0.641 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/1.025, allocations: 7.938 kB / 0.641 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.025, allocations: 0 / 0.641 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/1.025, allocations: 3.984 kB / 0.641 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/1.026, allocations: 0.653 MB / 0.6416 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.026, allocations: 0 / 0.6416 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009794/1.027, allocations: 99.88 kB / 0.6417 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/1.027, allocations: 4 kB / 0.6417 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.413e-05/1.027, allocations: 7.953 kB / 0.6417 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.027, allocations: 7.938 kB / 0.6417 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.027, allocations: 0 / 0.6417 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/1.029, allocations: 0.6537 MB / 0.6424 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/1.029, allocations: 208.1 kB / 0.6426 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/1.029, allocations: 12 kB / 0.6426 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009735/1.03, allocations: 63.89 kB / 0.6427 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/1.031, allocations: 39.7 kB / 0.6427 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/1.031, allocations: 15.98 kB / 0.6427 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008431/1.032, allocations: 427.2 kB / 0.6431 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/1.032, allocations: 4 kB / 0.6431 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001225/1.033, allocations: 235.2 kB / 0.6433 GB, free: 7.801 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.002231/1.035, allocations: 1.226 MB / 0.6445 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001991/1.037, allocations: 0.7326 MB / 0.6453 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.037, allocations: 0 / 0.6453 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005258/1.038, allocations: 183.9 kB / 0.6454 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/1.039, allocations: 191.2 kB / 0.6456 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/1.043, allocations: 1.006 MB / 0.6466 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/1.043, allocations: 0.9313 MB / 0.6475 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001072/1.044, allocations: 143.7 kB / 0.6476 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005358/1.045, allocations: 255.4 kB / 0.6479 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/1.045, allocations: 3.938 kB / 0.6479 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07038/1.115, allocations: 15.02 MB / 0.6626 GB, free: 4.145 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003185/1.116, allocations: 160.6 kB / 0.6627 GB, free: 3.918 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.178/4.293, allocations: 0 / 0.6627 GB, free: 3.918 MB / 0.5417 GB