Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.077/4.077, allocations: 432.7 MB / 444.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.581e-05/4.582e-05, allocations: 6.125 kB / 0.5338 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2668, allocations: 98.73 MB / 0.6302 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2362/0.503, allocations: 126.4 MB / 0.7537 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.5034, allocations: 71.95 kB / 0.7538 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0155/0.5189, allocations: 3.378 MB / 0.7571 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.083e-06/0.5189, allocations: 0 / 0.7571 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.414e-05/0.519, allocations: 8 kB / 0.7571 GB, free: 4.031 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008799/0.5199, allocations: 438.6 kB / 0.7575 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.5199, allocations: 12.03 kB / 0.7575 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.52, allocations: 34.56 kB / 0.7575 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.5201, allocations: 23.8 kB / 0.7575 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.5204, allocations: 234.6 kB / 0.7578 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.5205, allocations: 11.94 kB / 0.7578 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.5205, allocations: 12 kB / 0.7578 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.5209, allocations: 129.8 kB / 0.7579 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.5209, allocations: 7.938 kB / 0.7579 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.5209, allocations: 4 kB / 0.7579 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.5209, allocations: 4 kB / 0.7579 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.5211, allocations: 43.94 kB / 0.758 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.5226, allocations: 0.7628 MB / 0.7587 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.5228, allocations: 38.5 kB / 0.7588 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.5229, allocations: 24.86 kB / 0.7588 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.5229, allocations: 0 / 0.7588 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/0.5232, allocations: 110.8 kB / 0.7589 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.843e-06/0.5232, allocations: 0 / 0.7589 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003636/0.5236, allocations: 105.4 kB / 0.759 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.5237, allocations: 140.5 kB / 0.7591 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.524, allocations: 173.9 kB / 0.7593 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.524, allocations: 33.69 kB / 0.7593 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.5241, allocations: 127.8 kB / 0.7594 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.5242, allocations: 35.75 kB / 0.7595 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.5242, allocations: 8 kB / 0.7595 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5244, allocations: 322.8 kB / 0.7598 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.5245, allocations: 28.38 kB / 0.7598 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.5247, allocations: 131.3 kB / 0.7599 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.5249, allocations: 47.92 kB / 0.76 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5249, allocations: 0 / 0.76 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000441/0.5253, allocations: 169.2 kB / 0.7601 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.5254, allocations: 8 kB / 0.7602 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.5254, allocations: 4 kB / 0.7602 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.5254, allocations: 7.938 kB / 0.7602 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.5257, allocations: 44.41 kB / 0.7602 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.5257, allocations: 4 kB / 0.7602 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.526, allocations: 39.72 kB / 0.7602 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.526, allocations: 8 kB / 0.7603 GB, free: 420 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.000122/0.5262, allocations: 114.8 kB / 0.7604 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.5262, allocations: 19.81 kB / 0.7604 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.905e-05/0.5263, allocations: 29.45 kB / 0.7604 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.5263, allocations: 0 / 0.7604 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.5264, allocations: 4 kB / 0.7604 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5264, allocations: 0 / 0.7604 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.5275, allocations: 497.6 kB / 0.7609 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5275, allocations: 0 / 0.7609 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.5278, allocations: 27.98 kB / 0.7609 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.5278, allocations: 4 kB / 0.7609 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.5279, allocations: 0 / 0.7609 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.5279, allocations: 3.953 kB / 0.7609 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5279, allocations: 4 kB / 0.7609 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.5284, allocations: 361.3 kB / 0.7613 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/0.5285, allocations: 92.95 kB / 0.7614 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.5286, allocations: 8 kB / 0.7614 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.5289, allocations: 16.22 kB / 0.7614 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.529, allocations: 19.92 kB / 0.7614 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.529, allocations: 7.984 kB / 0.7614 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001862/0.5292, allocations: 136.4 kB / 0.7615 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5292, allocations: 0 / 0.7615 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004989/0.5297, allocations: 28 kB / 0.7616 GB, free: 14.95 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulsStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0009547/0.5307, allocations: 1.114 MB / 0.7627 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.531, allocations: 92.41 kB / 0.7627 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.531, allocations: 0 / 0.7627 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.5312, allocations: 35.94 kB / 0.7628 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006629/0.5319, allocations: 66.62 kB / 0.7628 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.5329, allocations: 310.5 kB / 0.7631 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.5333, allocations: 0.7246 MB / 0.7638 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001276/0.5334, allocations: 17.55 kB / 0.7639 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.5335, allocations: 51.42 kB / 0.7639 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/0.5336, allocations: 0 / 0.7639 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.5589, allocations: 3.51 MB / 0.7673 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/0.5593, allocations: 163.9 kB / 0.7675 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/2.977, allocations: 0 / 0.7675 GB, free: 8.766 MB / 0.6511 GB