Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadModel(Buildings): time 4.31/4.31, allocations: 458.9 MB / 473.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.09e-05, allocations: 3.562 kB / 0.5697 GB, free: 9.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2603, allocations: 106.2 MB / 0.6734 GB, free: 2.613 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.0008477/0.2612, allocations: 272.3 kB / 0.6737 GB, free: 2.348 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002323/0.2636, allocations: 1.166 MB / 0.6748 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.2636, allocations: 0 / 0.6748 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 7.71e-05/0.2637, allocations: 3.984 kB / 0.6748 GB, free: 1.172 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 4.338e-05/0.2638, allocations: 0 / 0.6748 GB, free: 1.172 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00078/0.2645, allocations: 219.4 kB / 0.6751 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 8.607e-05/0.2646, allocations: 35.95 kB / 0.6751 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.2647, allocations: 4 kB / 0.6751 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.2648, allocations: 39.91 kB / 0.6751 GB, free: 0.8789 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 7.83e-05/0.2649, allocations: 35.92 kB / 0.6752 GB, free: 0.8438 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000491/0.2654, allocations: 163.8 kB / 0.6753 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 6.709e-05/0.2654, allocations: 12 kB / 0.6753 GB, free: 0.6719 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.2655, allocations: 11.92 kB / 0.6753 GB, free: 0.6602 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.2655, allocations: 4 kB / 0.6754 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.2659, allocations: 195.7 kB / 0.6755 GB, free: 476 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.266, allocations: 3.938 kB / 0.6755 GB, free: 472 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.044e-06/0.266, allocations: 0 / 0.6755 GB, free: 472 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.266, allocations: 4 kB / 0.6755 GB, free: 468 kB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004853/0.2665, allocations: 425.9 kB / 0.676 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.2665, allocations: 8.031 kB / 0.676 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.2666, allocations: 15.86 kB / 0.676 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.2668, allocations: 175 kB / 0.6761 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.2668, allocations: 4 kB / 0.6761 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.2669, allocations: 8 kB / 0.6762 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.2672, allocations: 121.5 kB / 0.6763 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2672, allocations: 4 kB / 0.6763 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.2673, allocations: 4 kB / 0.6763 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2673, allocations: 0 / 0.6763 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.2675, allocations: 63.94 kB / 0.6763 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.2677, allocations: 165.7 kB / 0.6765 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.2679, allocations: 106.5 kB / 0.6766 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-06/0.268, allocations: 0 / 0.6766 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.268, allocations: 42.53 kB / 0.6766 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 3.045e-06/0.268, allocations: 3.984 kB / 0.6766 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0008466/0.2689, allocations: 356.5 kB / 0.677 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.269, allocations: 89.09 kB / 0.6771 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2691, allocations: 124.8 kB / 0.6772 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.2692, allocations: 29.7 kB / 0.6772 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.2692, allocations: 84.14 kB / 0.6773 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.2693, allocations: 15.81 kB / 0.6773 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.2693, allocations: 0 / 0.6773 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2695, allocations: 330.8 kB / 0.6776 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.2697, allocations: 55.95 kB / 0.6777 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.2698, allocations: 63.94 kB / 0.6777 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.27, allocations: 93.59 kB / 0.6778 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2701, allocations: 0 / 0.6778 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005445/0.2706, allocations: 211.3 kB / 0.678 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.61e-05/0.2707, allocations: 42.06 kB / 0.6781 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2707, allocations: 0 / 0.6781 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2707, allocations: 4 kB / 0.6781 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.223e-06/0.2707, allocations: 4.062 kB / 0.6781 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2708, allocations: 3.938 kB / 0.6781 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/0.2712, allocations: 31.75 kB / 0.6781 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.287e-05/0.2713, allocations: 16 kB / 0.6781 GB, free: 13.55 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.0002049/0.2715, allocations: 163.5 kB / 0.6783 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.2716, allocations: 11.91 kB / 0.6783 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.2716, allocations: 16.36 kB / 0.6783 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2716, allocations: 0 / 0.6783 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2716, allocations: 0 / 0.6783 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2717, allocations: 4 kB / 0.6783 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.2718, allocations: 173.6 kB / 0.6785 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2719, allocations: 0 / 0.6785 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.2719, allocations: 0 / 0.6785 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2719, allocations: 0 / 0.6785 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.2719, allocations: 11.98 kB / 0.6785 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2719, allocations: 3.938 kB / 0.6785 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2719, allocations: 0 / 0.6785 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.2726, allocations: 278.6 kB / 0.6788 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.2727, allocations: 93 kB / 0.6788 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/0.2728, allocations: 7.984 kB / 0.6789 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.2732, allocations: 20.05 kB / 0.6789 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.2732, allocations: 11.98 kB / 0.6789 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.2733, allocations: 15.98 kB / 0.6789 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.386e-05/0.2734, allocations: 95.27 kB / 0.679 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-07/0.2734, allocations: 0 / 0.679 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004954/0.2739, allocations: 87.92 kB / 0.6791 GB, free: 12.46 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.001074/0.275, allocations: 395.8 kB / 0.6795 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006529/0.2757, allocations: 291.2 kB / 0.6797 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2757, allocations: 0 / 0.6797 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.2761, allocations: 211.3 kB / 0.6799 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.2763, allocations: 19.83 kB / 0.68 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006887/0.277, allocations: 258.9 kB / 0.6802 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.2773, allocations: 0.6809 MB / 0.6809 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.2774, allocations: 51.86 kB / 0.6809 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.906e-05/0.2774, allocations: 15.38 kB / 0.6809 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of SimCode: time 8.51e-07/0.2775, allocations: 0 / 0.6809 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of Templates: time 0.0124/0.2899, allocations: 3.845 MB / 0.6847 GB, free: 6.746 MB / 0.5573 GB