Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadModel(Buildings): time 3.703/3.703, allocations: 402 MB / 416.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.159e-05/4.172e-05, allocations: 7.938 kB / 0.501 GB, free: 8.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2608, allocations: 92.69 MB / 0.5915 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002936/0.2638, allocations: 1.668 MB / 0.5931 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.2653, allocations: 0.6014 MB / 0.5937 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.2654, allocations: 11.94 kB / 0.5937 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.2655, allocations: 19.8 kB / 0.5937 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.2657, allocations: 31.88 kB / 0.5937 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.2661, allocations: 103.8 kB / 0.5938 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003621/0.2665, allocations: 183.5 kB / 0.594 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.2668, allocations: 165.7 kB / 0.5942 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.267, allocations: 91.69 kB / 0.5943 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.2672, allocations: 95.66 kB / 0.5944 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.23e-05/0.2673, allocations: 12 kB / 0.5944 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.062e-05/0.2674, allocations: 20 kB / 0.5944 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.127e-05/0.2675, allocations: 59.75 kB / 0.5944 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.2676, allocations: 16 kB / 0.5945 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.2681, allocations: 295.2 kB / 0.5947 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2681, allocations: 4 kB / 0.5947 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2681, allocations: 0 / 0.5947 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.2681, allocations: 0 / 0.5947 GB, free: 7.984 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001133/0.2692, allocations: 0.5325 MB / 0.5953 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.2693, allocations: 8.031 kB / 0.5953 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.557e-05/0.2694, allocations: 27.72 kB / 0.5953 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.2698, allocations: 266.6 kB / 0.5956 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.221e-05/0.2699, allocations: 32.5 kB / 0.5956 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.319e-05/0.27, allocations: 28 kB / 0.5956 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009552/0.2709, allocations: 331.6 kB / 0.5959 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.271, allocations: 0 / 0.5959 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/0.271, allocations: 15.95 kB / 0.5959 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.2711, allocations: 8 kB / 0.596 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009939/0.2721, allocations: 266 kB / 0.5962 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.2741, allocations: 0.9322 MB / 0.5971 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.2752, allocations: 271.1 kB / 0.5974 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.2752, allocations: 8.484 kB / 0.5974 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006158/0.2759, allocations: 187.2 kB / 0.5976 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 3.086e-06/0.2759, allocations: 0 / 0.5976 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.001349/0.2772, allocations: 373.2 kB / 0.5979 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.2773, allocations: 59.41 kB / 0.598 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.2775, allocations: 182.4 kB / 0.5981 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/0.2776, allocations: 37.7 kB / 0.5982 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.2778, allocations: 156.5 kB / 0.5983 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.2779, allocations: 86.84 kB / 0.5984 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.2779, allocations: 12 kB / 0.5984 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2781, allocations: 330.8 kB / 0.5987 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.2785, allocations: 116.8 kB / 0.5989 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.279, allocations: 173.5 kB / 0.599 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.2795, allocations: 125.6 kB / 0.5991 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.2796, allocations: 7.984 kB / 0.5991 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001126/0.2807, allocations: 366.8 kB / 0.5995 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/0.2808, allocations: 37.69 kB / 0.5995 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2808, allocations: 4.156 kB / 0.5995 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2808, allocations: 7.938 kB / 0.5995 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.2812, allocations: 47.91 kB / 0.5996 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.2812, allocations: 11.92 kB / 0.5996 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.2817, allocations: 55.61 kB / 0.5997 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.2817, allocations: 20 kB / 0.5997 GB, free: 2.664 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0002593/0.282, allocations: 174.1 kB / 0.5998 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.2821, allocations: 23.72 kB / 0.5999 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.2831, allocations: 302.4 kB / 0.6002 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.2831, allocations: 3.984 kB / 0.6002 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.2831, allocations: 0 / 0.6002 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/0.2832, allocations: 104.7 kB / 0.6003 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.976e-05/0.2833, allocations: 11.94 kB / 0.6003 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.2837, allocations: 39.97 kB / 0.6003 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.2839, allocations: 39.94 kB / 0.6003 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00128/0.2852, allocations: 402 kB / 0.6007 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001004/0.2862, allocations: 458.5 kB / 0.6012 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004432/0.2866, allocations: 139.9 kB / 0.6013 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001639/0.2868, allocations: 143.6 kB / 0.6014 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of Backend: time 5.51e-07/0.2868, allocations: 0 / 0.6014 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.2879, allocations: 333.1 kB / 0.6018 GB, free: 476 kB / 0.4948 GB Notification: Performance of SimCode: time 0.4849/0.7728, allocations: 0.8956 MB / 0.6026 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of Templates: time 0.0112/0.7841, allocations: 2.948 MB / 0.6055 GB, free: 11.76 MB / 0.4948 GB