Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadModel(Buildings): time 4.856/4.856, allocations: 458.9 MB / 473.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.24e-05/3.232e-05, allocations: 6.391 kB / 0.5697 GB, free: 9.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2339, allocations: 106.2 MB / 0.6734 GB, free: 2.648 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003674/0.2377, allocations: 1.936 MB / 0.6753 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.2395, allocations: 0.7065 MB / 0.676 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.2396, allocations: 4 kB / 0.676 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.2398, allocations: 15.77 kB / 0.676 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.24, allocations: 43.84 kB / 0.6761 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.2402, allocations: 31.95 kB / 0.6761 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.2404, allocations: 67.86 kB / 0.6762 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002806/0.2407, allocations: 172.7 kB / 0.6763 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.2408, allocations: 47.78 kB / 0.6764 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.241, allocations: 43.83 kB / 0.6764 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.2412, allocations: 27.98 kB / 0.6764 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.2412, allocations: 4 kB / 0.6764 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.2413, allocations: 35.89 kB / 0.6765 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.2413, allocations: 12 kB / 0.6765 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.2416, allocations: 123.9 kB / 0.6766 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2416, allocations: 0 / 0.6766 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2417, allocations: 0 / 0.6766 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.2417, allocations: 0 / 0.6766 GB, free: 15.33 MB / 0.5573 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.0007597/0.2424, allocations: 447.3 kB / 0.677 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.2425, allocations: 16.03 kB / 0.677 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003118/0.2428, allocations: 31.8 kB / 0.6771 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.2432, allocations: 212.6 kB / 0.6773 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.806e-05/0.2433, allocations: 33.89 kB / 0.6773 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.947e-05/0.2433, allocations: 15.98 kB / 0.6773 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.2438, allocations: 148.8 kB / 0.6775 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.2438, allocations: 12 kB / 0.6775 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.2438, allocations: 0 / 0.6775 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/0.2439, allocations: 8.172 kB / 0.6775 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.2443, allocations: 92.44 kB / 0.6776 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.2456, allocations: 0.6529 MB / 0.6782 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.2459, allocations: 54.56 kB / 0.6783 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.246, allocations: 7.938 kB / 0.6783 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.2463, allocations: 150.9 kB / 0.6784 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 3.115e-06/0.2463, allocations: 0 / 0.6784 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0006485/0.247, allocations: 240.3 kB / 0.6787 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/0.2471, allocations: 136.5 kB / 0.6788 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.2473, allocations: 173.3 kB / 0.6789 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.2474, allocations: 29.7 kB / 0.679 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.2475, allocations: 135.8 kB / 0.6791 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.2475, allocations: 27.72 kB / 0.6791 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.2476, allocations: 0 / 0.6791 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2477, allocations: 326.8 kB / 0.6794 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.2479, allocations: 39.89 kB / 0.6795 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.2482, allocations: 120.2 kB / 0.6796 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.2484, allocations: 103.4 kB / 0.6797 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2484, allocations: 0 / 0.6797 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006135/0.2491, allocations: 248.7 kB / 0.6799 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/0.2491, allocations: 59.41 kB / 0.68 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2492, allocations: 4 kB / 0.68 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.2492, allocations: 4 kB / 0.68 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.2494, allocations: 35.91 kB / 0.68 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.2495, allocations: 4 kB / 0.68 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.2497, allocations: 28.16 kB / 0.6801 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.2497, allocations: 8 kB / 0.6801 GB, free: 11.41 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001969/0.2499, allocations: 165.3 kB / 0.6802 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.25, allocations: 19.77 kB / 0.6802 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.25, allocations: 17.39 kB / 0.6803 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2501, allocations: 0 / 0.6803 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.2501, allocations: 4 kB / 0.6803 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.2501, allocations: 4 kB / 0.6803 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.2503, allocations: 209.6 kB / 0.6805 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2504, allocations: 0 / 0.6805 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.2505, allocations: 11.98 kB / 0.6805 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.2505, allocations: 0 / 0.6805 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.2506, allocations: 11.89 kB / 0.6805 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2506, allocations: 0 / 0.6805 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.2506, allocations: 0 / 0.6805 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/0.2512, allocations: 234.5 kB / 0.6807 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/0.2513, allocations: 81.02 kB / 0.6808 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.2514, allocations: 8.031 kB / 0.6808 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.2516, allocations: 19.94 kB / 0.6808 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.2517, allocations: 7.969 kB / 0.6808 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.2517, allocations: 8 kB / 0.6808 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001647/0.2519, allocations: 135.3 kB / 0.681 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2519, allocations: 0 / 0.681 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003626/0.2523, allocations: 35.84 kB / 0.681 GB, free: 10.35 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001701/0.2524, allocations: 107.2 kB / 0.6811 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005188/0.253, allocations: 219.3 kB / 0.6813 GB, free: 10 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.253, allocations: 0 / 0.6813 GB, free: 10 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.2532, allocations: 119.4 kB / 0.6814 GB, free: 9.871 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.2535, allocations: 12 kB / 0.6814 GB, free: 9.859 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008766/0.2544, allocations: 330.2 kB / 0.6817 GB, free: 9.512 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.2548, allocations: 0.7199 MB / 0.6825 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000139/0.2549, allocations: 12.64 kB / 0.6825 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.255, allocations: 23.42 kB / 0.6825 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/0.255, allocations: 0 / 0.6825 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of Templates: time 0.005752/0.2608, allocations: 1.2 MB / 0.6837 GB, free: 7.535 MB / 0.5573 GB