Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadModel(Buildings): time 4.5/4.5, allocations: 431.3 MB / 445.8 MB, free: 5.414 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.454e-05, allocations: 10.17 kB / 0.5354 GB, free: 14.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6977/0.6977, allocations: 98.71 MB / 0.6318 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004949/0.7028, allocations: 1.93 MB / 0.6337 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002283/0.7051, allocations: 0.6911 MB / 0.6344 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.7053, allocations: 4 kB / 0.6344 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.7055, allocations: 15.86 kB / 0.6344 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.7058, allocations: 39.91 kB / 0.6344 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.706, allocations: 35.89 kB / 0.6344 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.7063, allocations: 67.84 kB / 0.6345 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003374/0.7067, allocations: 172.7 kB / 0.6347 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.7069, allocations: 51.77 kB / 0.6347 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.7071, allocations: 43.89 kB / 0.6348 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.7073, allocations: 19.94 kB / 0.6348 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.7074, allocations: 8 kB / 0.6348 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.958e-05/0.7075, allocations: 27.89 kB / 0.6348 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.7075, allocations: 16 kB / 0.6348 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.7079, allocations: 122.1 kB / 0.6349 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.7079, allocations: 0 / 0.6349 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.765e-06/0.708, allocations: 0 / 0.6349 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.708, allocations: 0 / 0.6349 GB, free: 8.668 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009866/0.709, allocations: 462.5 kB / 0.6354 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.7091, allocations: 8.031 kB / 0.6354 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004698/0.7095, allocations: 27.8 kB / 0.6354 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.71, allocations: 210.8 kB / 0.6356 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.17e-05/0.7101, allocations: 41.89 kB / 0.6357 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.7102, allocations: 8 kB / 0.6357 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006264/0.7108, allocations: 152.6 kB / 0.6358 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.7109, allocations: 0 / 0.6358 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.7109, allocations: 4 kB / 0.6358 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.801e-05/0.711, allocations: 12.11 kB / 0.6358 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.7115, allocations: 96.45 kB / 0.6359 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.7132, allocations: 0.6412 MB / 0.6366 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.7137, allocations: 70.48 kB / 0.6366 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.7138, allocations: 48 / 0.6366 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003913/0.7142, allocations: 146.8 kB / 0.6368 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 2.765e-06/0.7142, allocations: 0 / 0.6368 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.000904/0.7151, allocations: 240.4 kB / 0.637 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.7153, allocations: 140.4 kB / 0.6371 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.7157, allocations: 177.1 kB / 0.6373 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.7157, allocations: 25.7 kB / 0.6373 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.7159, allocations: 139.9 kB / 0.6374 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.716, allocations: 19.73 kB / 0.6375 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.716, allocations: 8 kB / 0.6375 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.7162, allocations: 318.8 kB / 0.6378 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.7165, allocations: 47.88 kB / 0.6378 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.7168, allocations: 109.4 kB / 0.6379 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.7172, allocations: 107.3 kB / 0.638 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7172, allocations: 0 / 0.638 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008916/0.7181, allocations: 252.9 kB / 0.6383 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.7182, allocations: 63.39 kB / 0.6383 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.7183, allocations: 0 / 0.6383 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.7183, allocations: 4 kB / 0.6383 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.7186, allocations: 31.92 kB / 0.6384 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.7187, allocations: 4 kB / 0.6384 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.719, allocations: 31.83 kB / 0.6384 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.7191, allocations: 8 kB / 0.6384 GB, free: 4.738 MB / 0.5105 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.0002832/0.7194, allocations: 174.7 kB / 0.6386 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.7195, allocations: 19.77 kB / 0.6386 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.241e-05/0.7196, allocations: 13.41 kB / 0.6386 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.7196, allocations: 0 / 0.6386 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7196, allocations: 3.938 kB / 0.6386 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.7196, allocations: 3.984 kB / 0.6386 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.72, allocations: 209.5 kB / 0.6388 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.72, allocations: 0 / 0.6388 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.7203, allocations: 19.98 kB / 0.6388 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.7203, allocations: 3.938 kB / 0.6388 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.7203, allocations: 3.953 kB / 0.6388 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.7203, allocations: 0 / 0.6388 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7204, allocations: 0 / 0.6388 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008839/0.7213, allocations: 226.5 kB / 0.6391 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.7214, allocations: 89.03 kB / 0.6391 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/0.7215, allocations: 4 kB / 0.6391 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.7217, allocations: 15.95 kB / 0.6392 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.7218, allocations: 11.97 kB / 0.6392 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.7219, allocations: 0 / 0.6392 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002279/0.7221, allocations: 135.2 kB / 0.6393 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.22e-07/0.7221, allocations: 0 / 0.6393 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006466/0.7228, allocations: 35.91 kB / 0.6393 GB, free: 3.68 MB / 0.5105 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.0001989/0.723, allocations: 103.3 kB / 0.6394 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000724/0.7238, allocations: 226.9 kB / 0.6397 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7238, allocations: 0 / 0.6397 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.7241, allocations: 104 kB / 0.6398 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.7245, allocations: 23.92 kB / 0.6398 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.7256, allocations: 325.9 kB / 0.6401 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/0.7262, allocations: 0.716 MB / 0.6408 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002342/0.7264, allocations: 32.58 kB / 0.6408 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.7265, allocations: 11.44 kB / 0.6408 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of SimCode: time 1.783e-06/0.7265, allocations: 0 / 0.6408 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of Templates: time 0.008086/0.7346, allocations: 1.203 MB / 0.642 GB, free: 0.8672 MB / 0.5105 GB