Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.341/3.341, allocations: 343.8 MB / 355.9 MB, free: 9.367 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.283e-05/4.306e-05, allocations: 4 kB / 436.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2067, allocations: 77.73 MB / 0.5023 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6542/0.861, allocations: 112.4 MB / 0.6121 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.8613, allocations: 75.95 kB / 0.6122 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05232/0.9137, allocations: 12.52 MB / 0.6244 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9137, allocations: 0 / 0.6244 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.364e-05/0.9138, allocations: 16.12 kB / 0.6244 GB, free: 11.95 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002285/0.9161, allocations: 0.8761 MB / 0.6253 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.9162, allocations: 16.02 kB / 0.6253 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/0.9163, allocations: 94.52 kB / 0.6254 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.9166, allocations: 83.06 kB / 0.6254 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.9178, allocations: 0.5328 MB / 0.626 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.096e-05/0.9179, allocations: 49.25 kB / 0.626 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.918, allocations: 60 kB / 0.6261 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.9196, allocations: 0.595 MB / 0.6266 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/0.9197, allocations: 3.953 kB / 0.6267 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.315e-05/0.9198, allocations: 28 kB / 0.6267 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.9198, allocations: 12 kB / 0.6267 GB, free: 9.469 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.9211, allocations: 418.6 kB / 0.6271 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004951/0.926, allocations: 2.095 MB / 0.6291 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.9272, allocations: 428.1 kB / 0.6295 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/0.9278, allocations: 220.6 kB / 0.6298 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.518e-05/0.9279, allocations: 4.438 kB / 0.6298 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006515/0.9285, allocations: 256.4 kB / 0.63 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=50): time 3.055e-06/0.9286, allocations: 0 / 0.63 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=50): time 0.001239/0.9298, allocations: 431.5 kB / 0.6304 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.9299, allocations: 158.7 kB / 0.6306 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007388/0.9307, allocations: 395.9 kB / 0.6309 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.134e-05/0.9308, allocations: 41.7 kB / 0.631 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.9311, allocations: 316.4 kB / 0.6313 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.9314, allocations: 165.6 kB / 0.6314 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.9314, allocations: 12 kB / 0.6315 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.9316, allocations: 362.8 kB / 0.6318 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/0.9321, allocations: 153.1 kB / 0.6319 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.9327, allocations: 262.4 kB / 0.6322 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005392/0.9333, allocations: 212.9 kB / 0.6324 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.9333, allocations: 0 / 0.6324 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00148/0.9348, allocations: 0.5273 MB / 0.6329 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.285e-05/0.9349, allocations: 34.33 kB / 0.6329 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.9349, allocations: 0 / 0.6329 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.9349, allocations: 4 kB / 0.633 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.9359, allocations: 128 kB / 0.6331 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.936, allocations: 0 / 0.6331 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008277/0.9368, allocations: 87.48 kB / 0.6332 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.9369, allocations: 24 kB / 0.6332 GB, free: 2.598 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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.0002046/0.9371, allocations: 140.8 kB / 0.6333 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.9372, allocations: 55.34 kB / 0.6334 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.9374, allocations: 61.38 kB / 0.6334 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.9375, allocations: 8 kB / 0.6334 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.9375, allocations: 0 / 0.6334 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.9375, allocations: 3.984 kB / 0.6334 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002602/0.9401, allocations: 1.232 MB / 0.6346 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.9402, allocations: 4 kB / 0.6346 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.9412, allocations: 111.8 kB / 0.6348 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.9412, allocations: 4 kB / 0.6348 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.365e-05/0.9413, allocations: 12 kB / 0.6348 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.9413, allocations: 0 / 0.6348 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9413, allocations: 4 kB / 0.6348 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.9432, allocations: 0.7524 MB / 0.6355 GB, free: 136 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.9435, allocations: 176.5 kB / 0.6357 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.9437, allocations: 12 kB / 0.6357 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007234/0.9444, allocations: 55.95 kB / 0.6357 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.9446, allocations: 32.39 kB / 0.6358 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.9446, allocations: 15.98 kB / 0.6358 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005868/0.9452, allocations: 309.6 kB / 0.6361 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.635e-06/0.9452, allocations: 0 / 0.6361 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007529/0.946, allocations: 155.5 kB / 0.6362 GB, free: 15.37 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * 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.00221/0.9482, allocations: 1.321 MB / 0.6375 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.9495, allocations: 455.2 kB / 0.638 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.9495, allocations: 0 / 0.638 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005432/0.9501, allocations: 209.6 kB / 0.6382 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.9513, allocations: 138.4 kB / 0.6383 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/0.9566, allocations: 1.377 MB / 0.6396 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.9573, allocations: 0.9098 MB / 0.6405 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004994/0.9579, allocations: 68.47 kB / 0.6406 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004963/0.9584, allocations: 223.4 kB / 0.6408 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of SimCode: time 1.293e-06/0.9584, allocations: 0 / 0.6408 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04676/1.005, allocations: 11.47 MB / 0.652 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003296/1.006, allocations: 175.8 kB / 0.6522 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.009/4.014, allocations: 0 / 0.6522 GB, free: 15.04 MB / 0.5417 GB